358 Commits

Author SHA1 Message Date
Zandor Smith 56b997e8a6 Version bump. (v5.8.0) 5.8.0 2026-03-03 09:10:01 +01:00
Teruaki Kinoshita 3d2a7bd32e fix M5 iPad Pro models (#480)
* fix m5 iPad Pro models

* Add changelog entry for PR 480.

---------

Co-authored-by: Zandor Smith <info@zsinfo.nl>
2026-03-02 20:08:40 +01:00
dependabot[bot] 6baf21acae Bump git from 1.9.1 to 1.13.1 (#348)
Bumps [git](https://github.com/ruby-git/ruby-git) from 1.9.1 to 1.13.1.
- [Release notes](https://github.com/ruby-git/ruby-git/releases)
- [Changelog](https://github.com/ruby-git/ruby-git/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ruby-git/ruby-git/compare/v1.9.1...v1.13.1)

---
updated-dependencies:
- dependency-name: git
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-02 19:41:34 +01:00
Zandor Smith 43fedd8fc3 Fix Danger plist warning being triggered on every PR (#489)
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
2026-03-02 19:32:51 +01:00
Zandor Smith 92f1800ce9 Update GitHub Actions to macOS 15 with Xcode 26.2 (#487)
- 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)
2026-03-02 19:21:45 +01:00
Copilot ee6239c8d3 Rename iPad Mini to iPad mini for Apple naming consistency (#478)
* Initial plan

* Rename iPad Mini to iPad mini in strings and comments

* Add changelog entry for iPad mini naming fix
2026-03-02 18:53:01 +01:00
Copilot 5314feab8d Fix Apple Pencil compatibility for M4 iPad Pro and M2/M3 iPad Air models (#474)
* 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.
2026-03-02 17:54:38 +01:00
Zandor Smith d07d19c2a3 Add changelog entry for PR #484 2026-03-02 17:37:51 +01:00
Klaas Pieter Annema 584ec1ad55 Exclude unhandled files (#484)
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
2026-03-02 17:36:53 +01:00
Zandor Smith 354737a6c6 Add iPhone 17e and iPad Air (M4) support (#486)
Add support for the newly announced iPhone 17e (iPhone18,5) and
iPad Air M4 in both 11-inch (iPad16,8-9) and 13-inch (iPad16,10-11)
variants.
2026-03-02 17:35:35 +01:00
Copilot 373e974077 Add M5 iPad Pro models (#467)
* Initial plan

* Add M5 iPad Pro models and M5 CPU definition

Co-authored-by: Zandor300 <6069593+Zandor300@users.noreply.github.com>

# Conflicts:
#	CHANGELOG.md
#	Source/Device.generated.swift

* Add tests for M5 iPad Pro models and M5 CPU

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>
2025-12-03 20:57:12 +01:00
Copilot 95956b818d Add Apple Watch SE 3rd generation (Watch7,13-16) (#473)
* Initial plan

* Add Apple Watch SE 3rd generation support (Watch7,13-16)

Co-authored-by: Zandor300 <6069593+Zandor300@users.noreply.github.com>

# Conflicts:
#	Source/Device.generated.swift

* Add test for Apple Watch SE 3rd generation device mapping

Co-authored-by: Zandor300 <6069593+Zandor300@users.noreply.github.com>

* Update Apple Watch SE 3rd gen to use S10 chip instead of S9

Co-authored-by: Zandor300 <6069593+Zandor300@users.noreply.github.com>

* Remove test.

* Add changelog entry.

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Zandor300 <6069593+Zandor300@users.noreply.github.com>
Co-authored-by: Zandor Smith <info@zsinfo.nl>
2025-12-03 20:35:20 +01:00
Copilot 3631219f12 Fix iPhone Air camera specification to wide-only (#477)
* 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>
2025-12-02 14:35:24 +01:00
Zandor Smith 47f838f1f5 Copilot: Fix GYB generation instructions. (#475) 2025-12-02 07:50:02 +01:00
Copilot 55ad16f3b5 Add comprehensive GitHub Copilot instructions for DeviceKit development workflow (#454)
* Initial plan

* Add comprehensive .github/copilot-instructions.md with validated workflows

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>
2025-09-12 00:18:33 +02:00
Zandor Smith 581df61650 Add changelog entry for Apple Pencil fix for iPad Mini (A17 Pro). 5.7.0 2025-09-11 23:49:55 +02:00
Zandor Smith 8bb5d4b602 Add support for iPhone 17 series and Apple Watch Ultra 3/Series 11 with version 5.7.0 release (#452)
* 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>
2025-09-11 23:49:28 +02:00
Davide Sibilio 85cd9968ac Fixed Apple Pencil support for iPadMini A17Pro (#446) 2025-09-11 23:45:21 +02:00
Jaeho Yoo 2054c5bfb7 Add missing Apple Watch Series 9 identifiers and spec link (#448) 2025-09-11 23:38:54 +02:00
Zandor Smith e0605e03ce Pin Gemfile dependencies. (#375) 2025-09-11 23:23:58 +02:00
Zandor Smith 513b9d7e7a Update CHANGELOG and README. 5.6.0 2025-03-27 19:22:04 +01:00
Zandor Smith 511b2865e4 Add new February/March 2025 devices. (#436)
* 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.
2025-03-20 10:28:11 +01:00
Zandor Smith 866ddd8455 Add support for iPad Mini (A17 Pro) (#429)
* Add support for iPad Mini (A17 Pro)

* Update changelog.

* Version bump. (v5.6.0)
2025-03-11 23:48:14 +01:00
Zandor Smith 0d69179951 Fix CI after macOS 12 image deprecation by GitHub. (#430)
* Fix CI after macOS 12 image deprecation by GitHub.

* Increase minimum deployment target to iOS 13.

* Select Xcode latest stable.
2025-03-11 23:46:15 +01:00
Arindam Karmakar d3bb693a66 iPhone 16 Plus PPI Fix (#423)
https://www.apple.com/in/iphone-16/specs/
2024-09-26 14:57:42 +02:00
Arindam Karmakar 7ff5331960 Display ppi fixes as per apple tech specs (#418)
* 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>
5.5.0
2024-09-22 13:49:37 +02:00
Zandor Smith 2e26a29327 Fix v5.5.0 release date. 2024-09-22 11:49:13 +02:00
Zandor Smith 2b4327177f Support for iPhone 16 models and Apple Watch Series 10. (#417)
* 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.
2024-09-20 21:23:05 +02:00
Zandor Smith 5757447e9f Version bump. (v5.4.0) 5.4.0 2024-05-30 23:13:59 +02:00
George Elsham 5eb05583f4 Add unknown orientation variant (#411) 2024-05-30 23:09:52 +02:00
Zandor Smith fcdda80dbb Version bump. (v5.3.1) 5.3.1 2024-05-30 23:05:44 +02:00
Zandor Smith 3c0d3f8760 Fix path for PrivacyInfo.xcprivacy in test target. 2024-05-30 23:03:01 +02:00
Zandor Smith 3359064ec7 Process Privacy manifest instead of copy on SPM. (#409) 2024-05-30 23:00:04 +02:00
Zandor Smith 65f18eb08e Version bump. (v5.3.0) 5.3.0 2024-05-23 15:37:27 +02:00
Zandor Smith 1d30c249fd Support for new May 2024 devices. (#412)
* 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.
2024-05-22 08:53:19 +02:00
Zandor Smith 82b1686b60 Fix ruby version not found. (#414)
* Fix ruby version for Danger not found.

* Update ruby for Danger to 2.7.8.

* Also update ruby for XCTests jobs to 2.7.8
2024-05-21 21:46:03 +02:00
Zandor Smith 4b85958a3f Version bump. (v5.2.4) 2024-04-30 17:29:35 +02:00
Zandor Smith 59c08aa4b3 Enable MERGEABLE_LIBRARY. (#407) 2024-04-30 17:24:59 +02:00
Zandor Smith cfe33c36cd Update cocoapods to v1.15.2 in Gemfile. 2024-04-30 17:23:04 +02:00
Zandor Smith 97acf830fd Release 5.2.3 5.2.3 2024-04-15 16:40:18 +02:00
蒋惠 81dd71aa57 fix: Use cocoapod resource_bundles for PrivacyInfo (#397)
Co-authored-by: RayJiang <jianghui@dxy.cn>
2024-04-15 15:17:38 +02:00
Zandor Smith fe41d18ecc Fix building for visionOS. (#390)
* 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>
5.2.2
2024-02-06 21:51:12 +01:00
Zandor Smith 6c01329de4 Fix building SwiftUI previews on macOS. (#389)
* fixes macOS build

* Use description instead of safeDescription inside description.

* Version bump (v5.2.2)

---------

Co-authored-by: Honghao Zhang <m@honghao.dev>
2024-02-06 21:07:10 +01:00
Zandor Smith e1c258c607 Release 5.2.1 (#385)
* Add changelog entry for 5.2.1.

* Version bump. (v5.2.1)
5.2.1
2024-01-17 15:52:13 +01:00
Zandor Smith 855fe1303e Fix PrivacyInfo.xcprivacy not being detected on SPM. (#384) 2024-01-17 15:46:00 +01:00
Ruslan Timchenko d8a9a661d9 Update swift-tools-version in Package.swift to 5.3 to support Resource files. (#381) 2024-01-17 15:45:02 +01:00
Zandor Smith 572fd0386f Release 5.2.0 (#377)
* added of devices that support 5G network

* fixed device list

* updated Device.swift.gyb file

* add Dynamic Island support

* add test

* Add hasUSBCConnectivity support

* Add test for 5g support.

* Remove trailing comma.

* Add changelog entry.

* Version bump. (v5.2.0)

* Remove trailing whitespace.

* Update changelog with SwiftUI fix already merged to master.

* Remove trailing whitespace.

---------

Co-authored-by: furiosFast <furios.fast@hotmail.it>
Co-authored-by: 417-72KI <417.72ki@gmail.com>
Co-authored-by: Mathieu Hausherr <mhausherr@gmail.com>
5.2.0
2024-01-15 23:42:56 +01:00
Zandor Smith 4cc2dfff47 Fix compilation issues when building SwiftUI Previews for macOS. (#376) 2024-01-15 20:11:37 +01:00
Zandor Smith cbcb39b06e Add privacy manifest. (#367)
* Add privacy manifest.

* Add empty arrays to privacy manifest.

* Add PrivacyInfo.xcprivacy to Cocoapods resources.
2024-01-15 19:24:00 +01:00
Zandor Smith 949b0d5c2c Implement unit tests for Apple Watch platform. (#365) 2024-01-15 18:54:14 +01:00