337 Commits

Author SHA1 Message Date
Zandor Smith 796942ec9d Select Xcode latest stable. 2024-12-15 12:28:50 +01:00
Zandor Smith 36a0b7555d Increase minimum deployment target to iOS 13. 2024-12-15 12:26:34 +01:00
Zandor Smith ff77c81b08 Fix CI after macOS 12 image deprecation by GitHub. 2024-12-15 12:20:05 +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
Felix Krause 43a9f93886 Update documentation of Device.current.name to not work as of iOS 16.0 (#347)
* Update documentation of `Device.current.name` to not work as of iOS 16.0

* Add link to documentation and build Swift file.

---------

Co-authored-by: Zandor Smith <info@zsinfo.nl>
2023-10-03 18:15:36 +02:00
Denise Nepraunig 66837ecf15 Add missing s9 CPU. (#364)
Co-authored-by: Zandor Smith <info@zsinfo.nl>
5.1.0
2023-09-21 17:01:08 +02:00
Zandor Smith 96ee1f425a Release 5.1.0 (#362)
* Adjust GitHub Action simulators used for testing and lock macos version.

* Adds compilation support for visionOS.

Fixes https://github.com/devicekit/DeviceKit/issues/355

*  Add support for new iPhones

Co-Authored-By: Johannes Ebeling <14994778+technocidal@users.noreply.github.com>

*  Added generated gyb file

Co-Authored-By: Johannes Ebeling <14994778+technocidal@users.noreply.github.com>

* 🐛 Fixed missing identifier for 15 Plus

Co-Authored-By: Johannes Ebeling <14994778+technocidal@users.noreply.github.com>

*  Add Watch Series 9

* Change back to using telephoto to describe the iPhone 15 Pro Max 5x camera.

See why: https://github.com/devicekit/DeviceKit/issues/359#issuecomment-1722454836

* Fix tests.

* Update CHANGELOG.md

* Version bump. (v5.1.0)

* Add missing technical specifications and image urls for devices that have them available.

* new release date

---------

Co-authored-by: Henry Thoma <thoma@sipgate.de>
Co-authored-by: Johannes Ebeling <14994778+technocidal@users.noreply.github.com>
Co-authored-by: Denise Nepraunig <denise.nepraunig@gmail.com>
2023-09-21 15:23:08 +02:00
Denise Nepraunig 1291f3789e release date 5.0.0 2022-11-01 22:52:58 +01:00
Zandor Smith 691fe8112c Release 5.0.0 (#338)
* Prepare release of 4.9.0.

* Update changelog.

* Version bump. (v5.0.0)

* Update CHANGELOG.

* Update changelog to include PR #303

* Fix deployment targets in podspec.

* Update deployment target in Package.swift.
5.0.0
2022-11-01 22:48:39 +01:00
Jack Youstra 4690d820cc Add canvas detection (#303)
* Add canvas detection

* Move isCanvas to include it on tvOS and watchOS.

* Remove additional whitespace.

* Add optional return value to isCanvas and return nil if the current instance isn't the current device.

* Fix broken test on non iOS/iPadOS platforms.

Co-authored-by: Zandor Smith <info@zsinfo.nl>
2022-11-01 22:47:15 +01:00
Guglielmo Faglioni 53301ccbd4 Added cpu info (#330)
* added cpu info

* added cpu description - e.g "A16 Bionic"

* reindent

* Add missing tvOS preprocessor flag.

* Fix indentation.

* Add tests for CPU.

Co-authored-by: Zandor Smith <info@zsinfo.nl>
2022-11-01 13:16:23 +01:00
Pär Strindevall ff446d36ae Add isSimulator for all targets (#245)
* Add isSimulator for all targets

* Remove trailing whitespaces

* Remove trailing space.

Co-authored-by: Zandor Smith <info@zsinfo.nl>
2022-11-01 13:15:25 +01:00
Zandor Smith 02ad1d25f8 Increase deployment targets to minimal supported versions by Xcode 14. (#337)
* Increase deployment targets to minimal supported versions by Xcode 14.

* Update requirements in README.
2022-10-31 18:52:59 +01:00
Zandor Smith a94c81d120 Add support for Apple TV 4K (3rd generation) (#335) 2022-10-31 18:52:31 +01:00
chedabob 85c63e2321 Add thermal state (#332)
* feat: Add ThermalState

https://github.com/devicekit/DeviceKit/issues/322

Also fixes the broken example playground

* Add changelog entry.

* Version bump. (v4.9.0)

Co-authored-by: Zandor Smith <info@zsinfo.nl>
2022-10-31 18:08:52 +01:00
Guglielmo Faglioni f5f4b03408 Fix Apple Watch Series 7 device identifier being incorrect. (#329)
* added watch 6,8

* Update changelog and version bump.

Co-authored-by: Zandor Smith <info@zsinfo.nl>
2022-10-29 03:26:21 +02:00
Zandor Smith 12cff4b02b Implement support for new October 2022 iPads. (#334)
* Implement support for new October 2022 iPads.

* Add support urls to iPhone 14 series and September 2022 Apple Watch devices.

* Add changelog entry.

* Version bump. (v4.8.0)

* Change releasedate in changelog.
4.8.0
2022-10-28 15:13:53 +02:00
Denise Nepraunig 20e0991f39 fix changelog 4.7.0 2022-09-13 19:34:03 +02:00
Denise Nepraunig c4a87a4246 update readme for 4.7 2022-09-13 19:33:37 +02:00
Zandor Smith d48a843da6 Add support for new September 2022 devices (#324)
* Add missing Apple Watch Series 7.

* Initial implementation for iPhone 14.

* Initial implementation for Apple Watch Series 8, Apple Watch SE 2 and Apple Watch Ultra and fix iPhone 14 Plus.

* Add missing device identifiers and fix Apple Watch Series 7 and 8 housing size.

* Add changelog entry for 4.7.0.

* Fix tests.
2022-09-13 19:30:42 +02:00
Eugene Klishevich 8b7b096388 Fix the Device.systemName property (#283)
* Fix the `Device.systemName` property

iPadOS system name for iPads was taken into account

* Add test for systemName.

* Fix compile error on Apple TV.

Co-authored-by: Zandor Smith <info@zsinfo.nl>
2022-09-13 19:29:01 +02:00
Zandor Smith 8e2432f999 Release 4.6.1 (#319)
* Release v4.6.1

* correct version in README

Co-authored-by: Denise Nepraunig <denise.nepraunig@gmail.com>
4.6.1
2022-07-15 14:06:40 +02:00
Zandor Smith 2d0b7b734a Remove CocoaPodsVerification project to fix Carthage selecting that instead of the DeviceKit workspace. (#288) 2022-07-15 10:16:30 +02:00
Denise Nepraunig f2b907f725 getting rid of travis (#290)
* getting rid of travis

* Fix version table.

Co-authored-by: Zandor Smith <info@zsinfo.nl>
2022-07-14 14:23:44 +02:00
Zandor Smith af953dafc2 Add support for new March 2022 devices. (#308)
* Add iPhone SE (3rd generation) and iPad Air (5th generation) support.

* Fix tests.

* Add device identifier for iPhone SE (3rd generation)

* Version bump (4.6.0) and update changelog.

* Fix testIsPhoneIsPadIsPod test.

* Add device identifiers for iPad Air (5th generation)

* Use Python 3 for gyb.

* Adjust release date.

* Add support URL and images for iPhone SE (3rd generation).

* fix release date due to sick leave

* correct version in readme

Co-authored-by: Denise Nepraunig <denise.nepraunig@gmail.com>
2022-03-18 22:19:22 +01:00