The warning "Plist changed, don't forget to localize your plist values" was being incorrectly shown on every PR, even when no plist file was modified. Fixed two bugs in the Dangerfile:
1. Inverted condition: Changed from `if !is_plist_change` to `if is_plist_change` so the warning only fires when a plist is actually modified
2. Wrong file path: Changed from checking `"ProjectName/Info.plist"` to `"Source/Info.plist"` to match the actual project structure
- Upgrade test runner from macos-14 to macos-15
- Pin Xcode version to 26.2 (was using latest-stable)
- Update actions/checkout from v2 to v4 (v2 is deprecated)
* Initial plan
* Fix Apple Pencil compatibility for iPad models
* Add tests for Apple Pencil compatibility
* Add changelog entry and fix trailing whitespace in tests
* Fix linting issues.
* Fix changelog entry.
* Fix additional linting issues.
* Fix ApplePencilSupport OptionSet raw values to use non-overlapping bits
The firstGenerationUsbC raw value (0x03) overlapped with firstGeneration
(0x01) and secondGeneration (0x02), causing contains() checks to return
incorrect results. Changed to proper power-of-2 values.
When including DeviceKit as a dependency SPM warns about unhandled files:
warning: 'devicekit': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/kp/Developer/clones/DeviceKit/Tests/Info.plist
warning: 'devicekit': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/kp/Developer/clones/DeviceKit/Source/Device.swift.gyb
* Initial plan
* Fix: Remove ultra-wide camera marking from iPhone Air
The iPhone Air only has a 48MP Fusion Main camera (wide), not an
ultra-wide camera. Changed camera value from 13 (wide + ultraWide) to
1 (wide only) in Device.swift.gyb and regenerated Device.generated.swift.
Co-authored-by: Zandor300 <6069593+Zandor300@users.noreply.github.com>
* Rebase on master and regenerate using new GYB instructions
Updated to use the new GYB command:
./Utils/gyb --line-directive '' -o ./Source/Device.generated.swift ./Source/Device.swift.gyb
Fix remains: iPhone Air camera value changed from 13 to 1 (wide only).
Co-authored-by: Zandor300 <6069593+Zandor300@users.noreply.github.com>
* Remove __pycache__ and add to .gitignore
Co-authored-by: Zandor300 <6069593+Zandor300@users.noreply.github.com>
* Add changelog entry for iPhone Air camera fix
Co-authored-by: Zandor300 <6069593+Zandor300@users.noreply.github.com>
* Move changelog entry to new Unreleased section
Co-authored-by: Zandor300 <6069593+Zandor300@users.noreply.github.com>
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Zandor300 <6069593+Zandor300@users.noreply.github.com>
* Initial plan
* Add iPhone 17 series and Apple Watch Ultra 3/Series 11 to Device.swift.gyb template
* Fix Apple Watch Ultra 3 and Series 11 to use S10 chip instead of S11
* Add changelog entry for 5.7.0 and update version numbers
- Add changelog entry for version 5.7.0 with September 12th release date
- Include table of new iPhone 17 series and Apple Watch devices
- Update version to 5.7.0 in README.md, DeviceKit.podspec, and project.pbxproj
- Follow pattern from previous version releases
* Fix changelog.
* Build generated file after copilot gyb implementation.
* Make iPhone Air plus sized.
* More device attribute fixes.
* Update tests after adding new devices.
* Add changelog entry for Series 9 fix.
---------
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Zandor300 <6069593+Zandor300@users.noreply.github.com>
* Add support for iPhone 16e.
* Update changelog.
* Add support for iPad (A16), iPad Air 11-inch (M3), iPad Air 13-inch (M3)
* Updated GitHub actions.
* Actions: Use macos-14 image instead of arm image.
* ppi fixes as per apple tech specs
iPhone 14 Plus, iPhone 15 Plus
* Define PPI for iPhone 14/15 Plus in gyb file.
---------
Co-authored-by: Zandor Smith <info@zsinfo.nl>
* Initial support for iPhone 16 models and Apple Watch Series 10.
* Version bump. (v5.5.0)
* Add missing device identifiers for new September 2024 devices.
* Fix unit tests after adding new devices.
* Initial implementation of support for new May 2024 devices.
* Update Apple Pencil support.
* Update iPad device names and device identifiers.
* Rename new iPads enum values.
* Fix line inset.
* Fix tests after new devices added.
* Add changelog.
* Update changelog about extra ApplePencilSupport.
* Fix compile errors on visionOS.
# Conflicts:
# Source/Device.generated.swift
# Source/Device.swift.gyb
* Remove references to xrOS that are no longer applicable.
* Add TODO comments in code about visionOS proper implementation.
* Update changelog.
---------
Co-authored-by: Chris Vasselli <clindsay@gmail.com>