From 35a7267f6b808bc6907c6a089c339773e4555f5f Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 11 Sep 2025 22:19:25 +0000 Subject: [PATCH 1/4] Initial plan From 1242661d4ccfd5985d50b307b38c2fcfa17a91df Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 11 Sep 2025 22:26:44 +0000 Subject: [PATCH 2/4] Add tvOS support to volume capacity properties Co-authored-by: Zandor300 <6069593+Zandor300@users.noreply.github.com> --- Source/Device.generated.swift | 1243 ++++++++++++++++++++++++++++++++- Source/Device.swift.gyb | 8 +- Tests/Tests.swift | 12 +- 3 files changed, 1250 insertions(+), 13 deletions(-) diff --git a/Source/Device.generated.swift b/Source/Device.generated.swift index 586620f..b6c893d 100644 --- a/Source/Device.generated.swift +++ b/Source/Device.generated.swift @@ -1,3 +1,4 @@ +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1) //===----------------------------------------------------------------------===// // // This source file is part of the DeviceKit open source project @@ -9,6 +10,7 @@ // //===----------------------------------------------------------------------===// +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 348) #if os(watchOS) import WatchKit #elseif canImport(UIKit) @@ -50,516 +52,646 @@ import Foundation /// public enum Device { #if os(iOS) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPod touch (5th generation)](https://support.apple.com/kb/SP657) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP657/sp657_ipod-touch_size.jpg) case iPodTouch5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPod touch (6th generation)](https://support.apple.com/kb/SP720) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP720/SP720-ipod-touch-specs-color-sg-2015.jpg) case iPodTouch6 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPod touch (7th generation)](https://support.apple.com/kb/SP796) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP796/ipod-touch-7th-gen_2x.png) case iPodTouch7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 4](https://support.apple.com/kb/SP587) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP643/sp643_iphone4s_color_black.jpg) case iPhone4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 4s](https://support.apple.com/kb/SP643) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP643/sp643_iphone4s_color_black.jpg) case iPhone4s +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 5](https://support.apple.com/kb/SP655) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP655/sp655_iphone5_color.jpg) case iPhone5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 5c](https://support.apple.com/kb/SP684) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP684/SP684-color_yellow.jpg) case iPhone5c +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 5s](https://support.apple.com/kb/SP685) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP685/SP685-color_black.jpg) case iPhone5s +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 6](https://support.apple.com/kb/SP705) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP705/SP705-iphone_6-mul.png) case iPhone6 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 6 Plus](https://support.apple.com/kb/SP706) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP706/SP706-iphone_6_plus-mul.png) case iPhone6Plus +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 6s](https://support.apple.com/kb/SP726) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP726/SP726-iphone6s-gray-select-2015.png) case iPhone6s +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 6s Plus](https://support.apple.com/kb/SP727) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP727/SP727-iphone6s-plus-gray-select-2015.png) case iPhone6sPlus +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 7](https://support.apple.com/kb/SP743) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP743/iphone7-black.png) case iPhone7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 7 Plus](https://support.apple.com/kb/SP744) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP744/iphone7-plus-black.png) case iPhone7Plus +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone SE](https://support.apple.com/kb/SP738) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP738/SP738.png) case iPhoneSE +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 8](https://support.apple.com/kb/SP767) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP767/iphone8.png) case iPhone8 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 8 Plus](https://support.apple.com/kb/SP768) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP768/iphone8plus.png) case iPhone8Plus +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone X](https://support.apple.com/kb/SP770) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP770/iphonex.png) case iPhoneX +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone Xs](https://support.apple.com/kb/SP779) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP779/SP779-iphone-xs.jpg) case iPhoneXS +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone Xs Max](https://support.apple.com/kb/SP780) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP780/SP780-iPhone-Xs-Max.jpg) case iPhoneXSMax +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone Xʀ](https://support.apple.com/kb/SP781) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP781/SP781-iPhone-xr.jpg) case iPhoneXR +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 11](https://support.apple.com/kb/SP804) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP804/sp804-iphone11_2x.png) case iPhone11 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 11 Pro](https://support.apple.com/kb/SP805) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP805/sp805-iphone11pro_2x.png) case iPhone11Pro +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 11 Pro Max](https://support.apple.com/kb/SP806) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP806/sp806-iphone11pro-max_2x.png) case iPhone11ProMax +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone SE (2nd generation)](https://support.apple.com/kb/SP820) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP820/iphone-se-2nd-gen_2x.png) case iPhoneSE2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 12](https://support.apple.com/kb/SP830) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP830/sp830-iphone12-ios14_2x.png) case iPhone12 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 12 mini](https://support.apple.com/kb/SP829) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP829/sp829-iphone12mini-ios14_2x.png) case iPhone12Mini +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 12 Pro](https://support.apple.com/kb/SP831) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP831/iphone12pro-ios14_2x.png) case iPhone12Pro +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 12 Pro Max](https://support.apple.com/kb/SP832) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP832/iphone12promax-ios14_2x.png) case iPhone12ProMax +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 13](https://support.apple.com/kb/SP851) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/1000/IM1092/en_US/iphone-13-240.png) case iPhone13 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 13 mini](https://support.apple.com/kb/SP847) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/1000/IM1091/en_US/iphone-13mini-240.png) case iPhone13Mini +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 13 Pro](https://support.apple.com/kb/SP852) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/1000/IM1093/en_US/iphone-13pro-240.png) case iPhone13Pro +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 13 Pro Max](https://support.apple.com/kb/SP848) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/1000/IM1095/en_US/iphone-13promax-240.png) case iPhone13ProMax +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone SE (3rd generation)](https://support.apple.com/kb/SP867) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/1000/IM1136/en_US/iphone-se-3rd-gen-colors-240.png) case iPhoneSE3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 14](https://support.apple.com/kb/SP873) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP873/iphone-14_1_2x.png) case iPhone14 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 14 Plus](https://support.apple.com/kb/SP874) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP873/iphone-14_1_2x.png) case iPhone14Plus +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 14 Pro](https://support.apple.com/kb/SP875) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP875/sp875-sp876-iphone14-pro-promax_2x.png) case iPhone14Pro +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 14 Pro Max](https://support.apple.com/kb/SP876) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP875/sp875-sp876-iphone14-pro-promax_2x.png) case iPhone14ProMax +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 15](https://support.apple.com/en-us/111831) /// /// ![Image]() case iPhone15 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 15 Plus](https://support.apple.com/en-us/111830) /// /// ![Image]() case iPhone15Plus +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 15 Pro](https://support.apple.com/en-us/111829) /// /// ![Image]() case iPhone15Pro +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 15 Pro Max](https://support.apple.com/en-us/111828) /// /// ![Image]() case iPhone15ProMax +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 16]() /// /// ![Image]() case iPhone16 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 16 Plus]() /// /// ![Image]() case iPhone16Plus +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 16 Pro]() /// /// ![Image]() case iPhone16Pro +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 16 Pro Max]() /// /// ![Image]() case iPhone16ProMax +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 16e](https://support.apple.com/en-us/122208) /// /// ![Image](https://cdsassets.apple.com/live/7WUAS350/images/tech-specs/122208-iphone-16e.png) case iPhone16e +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 17]() /// /// ![Image]() case iPhone17 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 17 Pro]() /// /// ![Image]() case iPhone17Pro +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 17 Pro Max]() /// /// ![Image]() case iPhone17ProMax +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone Air]() /// /// ![Image]() case iPhoneAir +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad 2](https://support.apple.com/kb/SP622) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP622/SP622_01-ipad2-mul.png) case iPad2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad (3rd generation)](https://support.apple.com/kb/SP647) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP662/sp662_ipad-4th-gen_color.jpg) case iPad3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad (4th generation)](https://support.apple.com/kb/SP662) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP662/sp662_ipad-4th-gen_color.jpg) case iPad4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Air](https://support.apple.com/kb/SP692) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP692/SP692-specs_color-mul.png) case iPadAir +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Air 2](https://support.apple.com/kb/SP708) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP708/SP708-space_gray.jpeg) case iPadAir2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad (5th generation)](https://support.apple.com/kb/SP751) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP751/ipad_5th_generation.png) case iPad5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad (6th generation)](https://support.apple.com/kb/SP774) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP774/sp774-ipad-6-gen_2x.png) case iPad6 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Air (3rd generation)](https://support.apple.com/kb/SP787) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP787/ipad-air-2019.jpg) case iPadAir3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad (7th generation)](https://support.apple.com/kb/SP807) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP807/sp807-ipad-7th-gen_2x.png) case iPad7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad (8th generation)](https://support.apple.com/kb/SP822) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP822/sp822-ipad-8gen_2x.png) case iPad8 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad (9th generation)](https://support.apple.com/kb/SP849) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/1000/IM1096/en_US/ipad-9gen-240.png) case iPad9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad (10th generation)](https://support.apple.com/kb/SP884) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP884/sp884-ipad-10gen-960_2x.png) case iPad10 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad (A16)]() /// /// ![Image]() case iPadA16 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Air (4th generation)](https://support.apple.com/kb/SP828) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP828/sp828ipad-air-ipados14-960_2x.png) case iPadAir4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Air (5th generation)](https://support.apple.com/kb/SP866) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP866/sp866-ipad-air-5gen_2x.png) case iPadAir5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Air 11-inch (M2)](https://support.apple.com/en-us/119894) /// /// ![Image](https://cdsassets.apple.com/content/services/pub/image?productid=301027&size=240x240) case iPadAir11M2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Air 13-inch (M2)](https://support.apple.com/en-us/119893) /// /// ![Image](https://cdsassets.apple.com/content/services/pub/image?productid=301029&size=240x240) case iPadAir13M2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Air 11-inch (M3)]() /// /// ![Image](https://cdsassets.apple.com/content/services/pub/image?productid=301027&size=240x240) case iPadAir11M3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Air 13-inch (M3)]() /// /// ![Image](https://cdsassets.apple.com/content/services/pub/image?productid=301029&size=240x240) case iPadAir13M3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Mini](https://support.apple.com/kb/SP661) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP661/sp661_ipad_mini_color.jpg) case iPadMini +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Mini 2](https://support.apple.com/kb/SP693) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP693/SP693-specs_color-mul.png) case iPadMini2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Mini 3](https://support.apple.com/kb/SP709) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP709/SP709-space_gray.jpeg) case iPadMini3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Mini 4](https://support.apple.com/kb/SP725) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP725/SP725ipad-mini-4.png) case iPadMini4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Mini (5th generation)](https://support.apple.com/kb/SP788) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP788/ipad-mini-2019.jpg) case iPadMini5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Mini (6th generation)](https://support.apple.com/kb/SP850) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/1000/IM1097/en_US/ipad-mini-6gen-240.png) case iPadMini6 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Mini (A17 Pro)](https://support.apple.com/en-us/121456) /// /// ![Image](https://cdsassets.apple.com/live/7WUAS350/images/tech-specs/iPad_mini_A17_Pro_Wi-Fi_Lineup_Print__USEN.png) case iPadMiniA17Pro +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Pro 9.7-inch](https://support.apple.com/kb/SP739) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP739/SP739.png) case iPadPro9Inch +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Pro 12-inch](https://support.apple.com/kb/SP723) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP723/SP723-iPad_Pro_2x.png) case iPadPro12Inch +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Pro 12-inch (2nd generation)](https://support.apple.com/kb/SP761) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP761/ipad-pro-12in-hero-201706.png) case iPadPro12Inch2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Pro 10.5-inch](https://support.apple.com/kb/SP762) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP761/ipad-pro-10in-hero-201706.png) case iPadPro10Inch +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Pro 11-inch](https://support.apple.com/kb/SP784) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP784/ipad-pro-11-2018_2x.png) case iPadPro11Inch +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Pro 12.9-inch (3rd generation)](https://support.apple.com/kb/SP785) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP785/ipad-pro-12-2018_2x.png) case iPadPro12Inch3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Pro 11-inch (2nd generation)](https://support.apple.com/kb/SP814) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP814/ipad-pro-11-2020.jpeg) case iPadPro11Inch2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Pro 12.9-inch (4th generation)](https://support.apple.com/kb/SP815) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP815/ipad-pro-12-2020.jpeg) case iPadPro12Inch4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Pro 11-inch (3rd generation)](https://support.apple.com/kb/SP843) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP843/ipad-pro-11_2x.png) case iPadPro11Inch3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Pro 12.9-inch (5th generation)](https://support.apple.com/kb/SP844) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP844/ipad-pro-12-9_2x.png) case iPadPro12Inch5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Pro 11-inch (4th generation)](https://support.apple.com/kb/SP882) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP882/ipad-pro-4gen-mainimage_2x.png) case iPadPro11Inch4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Pro 12.9-inch (6th generation)](https://support.apple.com/kb/SP883) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP882/ipad-pro-4gen-mainimage_2x.png) case iPadPro12Inch6 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Pro 11-inch (M4)](https://support.apple.com/en-us/119892) /// /// ![Image](https://cdsassets.apple.com/content/services/pub/image?productid=301031&size=240x240) case iPadPro11M4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Pro 13-inch (M4)](https://support.apple.com/en-us/119891) /// /// ![Image](https://cdsassets.apple.com/content/services/pub/image?productid=301033&size=240x240) case iPadPro13M4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is a [HomePod](https://support.apple.com/kb/SP773) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP773/homepod_space_gray_large_2x.jpg) case homePod +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 395) #elseif os(tvOS) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 397) /// Device is an [Apple TV HD](https://support.apple.com/kb/SP724) (Previously Apple TV (4th generation)) /// /// ![Image](http://images.apple.com/v/tv/c/images/overview/buy_tv_large_2x.jpg) case appleTVHD +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 397) /// Device is an [Apple TV 4K](https://support.apple.com/kb/SP769) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP769/appletv4k.png) case appleTV4K +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 397) /// Device is an [Apple TV 4K (2nd generation)](https://support.apple.com/kb/SP845) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/1000/IM1023/en_US/apple-tv-4k-2gen-240.png) case appleTV4K2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 397) /// Device is an [Apple TV 4K (3rd generation)](https://support.apple.com/kb/SP886) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP886/apple-tv-4k-3gen_2x.png) case appleTV4K3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 402) #elseif os(watchOS) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch (1st generation)](https://support.apple.com/kb/SP735) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/0/IM784/en_US/apple_watch_sport-240.png) case appleWatchSeries0_38mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch (1st generation)](https://support.apple.com/kb/SP735) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/0/IM784/en_US/apple_watch_sport-240.png) case appleWatchSeries0_42mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 1](https://support.apple.com/kb/SP745) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/0/IM848/en_US/applewatch-series2-aluminum-temp-240.png) case appleWatchSeries1_38mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 1](https://support.apple.com/kb/SP745) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/0/IM848/en_US/applewatch-series2-aluminum-temp-240.png) case appleWatchSeries1_42mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 2](https://support.apple.com/kb/SP746) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/0/IM852/en_US/applewatch-series2-hermes-240.png) case appleWatchSeries2_38mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 2](https://support.apple.com/kb/SP746) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/0/IM852/en_US/applewatch-series2-hermes-240.png) case appleWatchSeries2_42mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 3](https://support.apple.com/kb/SP766) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/0/IM893/en_US/apple-watch-s3-nikeplus-240.png) case appleWatchSeries3_38mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 3](https://support.apple.com/kb/SP766) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/0/IM893/en_US/apple-watch-s3-nikeplus-240.png) case appleWatchSeries3_42mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 4](https://support.apple.com/kb/SP778) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/0/IM911/en_US/aw-series4-nike-240.png) case appleWatchSeries4_40mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 4](https://support.apple.com/kb/SP778) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/0/IM911/en_US/aw-series4-nike-240.png) case appleWatchSeries4_44mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 5](https://support.apple.com/kb/SP808) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP808/sp808-apple-watch-series-5_2x.png) case appleWatchSeries5_40mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 5](https://support.apple.com/kb/SP808) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP808/sp808-apple-watch-series-5_2x.png) case appleWatchSeries5_44mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 6](https://support.apple.com/kb/SP826) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP826/sp826-apple-watch-series6-580_2x.png) case appleWatchSeries6_40mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 6](https://support.apple.com/kb/SP826) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP826/sp826-apple-watch-series6-580_2x.png) case appleWatchSeries6_44mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch SE](https://support.apple.com/kb/SP827) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP827/sp827-apple-watch-se-580_2x.png) case appleWatchSE_40mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch SE](https://support.apple.com/kb/SP827) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP827/sp827-apple-watch-se-580_2x.png) case appleWatchSE_44mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 7](https://support.apple.com/kb/SP860) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP860/series7-480_2x.png) case appleWatchSeries7_41mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 7](https://support.apple.com/kb/SP860) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP860/series7-480_2x.png) case appleWatchSeries7_45mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 8](https://support.apple.com/kb/SP878) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP878/apple-watch-series8_2x.png) case appleWatchSeries8_41mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 8](https://support.apple.com/kb/SP878) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP878/apple-watch-series8_2x.png) case appleWatchSeries8_45mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch SE (2nd generation)](https://support.apple.com/kb/SP877) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP877/apple-watch-se-2nd-gen_2x.png) case appleWatchSE2_40mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch SE (2nd generation)](https://support.apple.com/kb/SP877) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP877/apple-watch-se-2nd-gen_2x.png) case appleWatchSE2_44mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Ultra](https://support.apple.com/kb/SP879) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP879/apple-watch-ultra_2x.png) case appleWatchUltra +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 9](https://support.apple.com/kb/SP905) /// /// ![Image]() case appleWatchSeries9_41mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 9](https://support.apple.com/kb/SP905) /// /// ![Image]() case appleWatchSeries9_45mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Ultra2]() /// /// ![Image]() case appleWatchUltra2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 10]() /// /// ![Image]() case appleWatchSeries10_42mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 10]() /// /// ![Image]() case appleWatchSeries10_46mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Ultra 3]() /// /// ![Image]() case appleWatchUltra3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 11]() /// /// ![Image]() case appleWatchSeries11_42mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 11]() /// /// ![Image]() case appleWatchSeries11_46mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 409) #endif /// Device is [Simulator](https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/iOS_Simulator_Guide/Introduction/Introduction.html) @@ -598,143 +730,273 @@ public enum Device { public static func mapToDevice(identifier: String) -> Device { // swiftlint:disable:this cyclomatic_complexity function_body_length #if os(iOS) switch identifier { +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPod5,1": return iPodTouch5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPod7,1": return iPodTouch6 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPod9,1": return iPodTouch7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone3,1", "iPhone3,2", "iPhone3,3": return iPhone4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone4,1": return iPhone4s +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone5,1", "iPhone5,2": return iPhone5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone5,3", "iPhone5,4": return iPhone5c +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone6,1", "iPhone6,2": return iPhone5s +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone7,2": return iPhone6 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone7,1": return iPhone6Plus +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone8,1": return iPhone6s +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone8,2": return iPhone6sPlus +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone9,1", "iPhone9,3": return iPhone7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone9,2", "iPhone9,4": return iPhone7Plus +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone8,4": return iPhoneSE +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone10,1", "iPhone10,4": return iPhone8 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone10,2", "iPhone10,5": return iPhone8Plus +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone10,3", "iPhone10,6": return iPhoneX +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone11,2": return iPhoneXS +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone11,4", "iPhone11,6": return iPhoneXSMax +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone11,8": return iPhoneXR +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone12,1": return iPhone11 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone12,3": return iPhone11Pro +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone12,5": return iPhone11ProMax +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone12,8": return iPhoneSE2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone13,2": return iPhone12 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone13,1": return iPhone12Mini +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone13,3": return iPhone12Pro +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone13,4": return iPhone12ProMax +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone14,5": return iPhone13 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone14,4": return iPhone13Mini +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone14,2": return iPhone13Pro +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone14,3": return iPhone13ProMax +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone14,6": return iPhoneSE3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone14,7": return iPhone14 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone14,8": return iPhone14Plus +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone15,2": return iPhone14Pro +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone15,3": return iPhone14ProMax +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone15,4": return iPhone15 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone15,5": return iPhone15Plus +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone16,1": return iPhone15Pro +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone16,2": return iPhone15ProMax +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone17,3": return iPhone16 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone17,4": return iPhone16Plus +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone17,1": return iPhone16Pro +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone17,2": return iPhone16ProMax +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone17,5": return iPhone16e +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone18,3": return iPhone17 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone18,1": return iPhone17Pro +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone18,2": return iPhone17ProMax +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone18,4": return iPhoneAir +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad2,1", "iPad2,2", "iPad2,3", "iPad2,4": return iPad2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad3,1", "iPad3,2", "iPad3,3": return iPad3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad3,4", "iPad3,5", "iPad3,6": return iPad4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad4,1", "iPad4,2", "iPad4,3": return iPadAir +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad5,3", "iPad5,4": return iPadAir2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad6,11", "iPad6,12": return iPad5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad7,5", "iPad7,6": return iPad6 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad11,3", "iPad11,4": return iPadAir3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad7,11", "iPad7,12": return iPad7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad11,6", "iPad11,7": return iPad8 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad12,1", "iPad12,2": return iPad9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad13,18", "iPad13,19": return iPad10 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad15,7", "iPad15,8": return iPadA16 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad13,1", "iPad13,2": return iPadAir4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad13,16", "iPad13,17": return iPadAir5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad14,8", "iPad14,9": return iPadAir11M2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad14,10", "iPad14,11": return iPadAir13M2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad15,3", "iPad15,4": return iPadAir11M3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad15,5", "iPad15,6": return iPadAir13M3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad2,5", "iPad2,6", "iPad2,7": return iPadMini +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad4,4", "iPad4,5", "iPad4,6": return iPadMini2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad4,7", "iPad4,8", "iPad4,9": return iPadMini3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad5,1", "iPad5,2": return iPadMini4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad11,1", "iPad11,2": return iPadMini5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad14,1", "iPad14,2": return iPadMini6 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad16,1", "iPad16,2": return iPadMiniA17Pro +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad6,3", "iPad6,4": return iPadPro9Inch +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad6,7", "iPad6,8": return iPadPro12Inch +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad7,1", "iPad7,2": return iPadPro12Inch2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad7,3", "iPad7,4": return iPadPro10Inch +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad8,1", "iPad8,2", "iPad8,3", "iPad8,4": return iPadPro11Inch +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad8,5", "iPad8,6", "iPad8,7", "iPad8,8": return iPadPro12Inch3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad8,9", "iPad8,10": return iPadPro11Inch2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad8,11", "iPad8,12": return iPadPro12Inch4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad13,4", "iPad13,5", "iPad13,6", "iPad13,7": return iPadPro11Inch3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad13,8", "iPad13,9", "iPad13,10", "iPad13,11": return iPadPro12Inch5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad14,3", "iPad14,4": return iPadPro11Inch4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad14,5", "iPad14,6": return iPadPro12Inch6 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad16,3", "iPad16,4": return iPadPro11M4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad16,5", "iPad16,6": return iPadPro13M4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "AudioAccessory1,1": return homePod +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 450) case "i386", "x86_64", "arm64": return simulator(mapToDevice(identifier: ProcessInfo().environment["SIMULATOR_MODEL_IDENTIFIER"] ?? "iOS")) default: return unknown(identifier) } #elseif os(tvOS) switch identifier { +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 456) case "AppleTV5,3": return appleTVHD +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 456) case "AppleTV6,2": return appleTV4K +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 456) case "AppleTV11,1": return appleTV4K2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 456) case "AppleTV14,1": return appleTV4K3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 458) case "i386", "x86_64", "arm64": return simulator(mapToDevice(identifier: ProcessInfo().environment["SIMULATOR_MODEL_IDENTIFIER"] ?? "tvOS")) default: return unknown(identifier) } #elseif os(watchOS) switch identifier { +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch1,1": return appleWatchSeries0_38mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch1,2": return appleWatchSeries0_42mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch2,6": return appleWatchSeries1_38mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch2,7": return appleWatchSeries1_42mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch2,3": return appleWatchSeries2_38mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch2,4": return appleWatchSeries2_42mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch3,1", "Watch3,3": return appleWatchSeries3_38mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch3,2", "Watch3,4": return appleWatchSeries3_42mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch4,1", "Watch4,3": return appleWatchSeries4_40mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch4,2", "Watch4,4": return appleWatchSeries4_44mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch5,1", "Watch5,3": return appleWatchSeries5_40mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch5,2", "Watch5,4": return appleWatchSeries5_44mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch6,1", "Watch6,3": return appleWatchSeries6_40mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch6,2", "Watch6,4": return appleWatchSeries6_44mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch5,9", "Watch5,11": return appleWatchSE_40mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch5,10", "Watch5,12": return appleWatchSE_44mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch6,6", "Watch6,8": return appleWatchSeries7_41mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch6,7", "Watch6,9": return appleWatchSeries7_45mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch6,14", "Watch6,16": return appleWatchSeries8_41mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch6,15", "Watch6,17": return appleWatchSeries8_45mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch6,10", "Watch6,12": return appleWatchSE2_40mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch6,11", "Watch6,13": return appleWatchSE2_44mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch6,18": return appleWatchUltra +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch7,1", "Watch7,3": return appleWatchSeries9_41mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch7,2", "Watch7,4": return appleWatchSeries9_45mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch7,5": return appleWatchUltra2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch7,8", "Watch7,10": return appleWatchSeries10_42mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch7,9", "Watch7,11": return appleWatchSeries10_46mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch7,12": return appleWatchUltra3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch7,17", "Watch7,19": return appleWatchSeries11_42mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch7,18", "Watch7,20": return appleWatchSeries11_46mm +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 466) case "i386", "x86_64", "arm64": return simulator(mapToDevice(identifier: ProcessInfo().environment["SIMULATOR_MODEL_IDENTIFIER"] ?? "watchOS")) default: return unknown(identifier) } @@ -766,134 +1028,259 @@ public enum Device { public var diagonal: Double { #if os(iOS) switch self { +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPodTouch5: return 4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPodTouch6: return 4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPodTouch7: return 4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone4: return 3.5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone4s: return 3.5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone5: return 4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone5c: return 4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone5s: return 4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone6: return 4.7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone6Plus: return 5.5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone6s: return 4.7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone6sPlus: return 5.5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone7: return 4.7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone7Plus: return 5.5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhoneSE: return 4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone8: return 4.7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone8Plus: return 5.5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhoneX: return 5.8 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhoneXS: return 5.8 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhoneXSMax: return 6.5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhoneXR: return 6.1 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone11: return 6.1 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone11Pro: return 5.8 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone11ProMax: return 6.5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhoneSE2: return 4.7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone12: return 6.1 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone12Mini: return 5.4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone12Pro: return 6.1 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone12ProMax: return 6.7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone13: return 6.1 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone13Mini: return 5.4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone13Pro: return 6.1 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone13ProMax: return 6.7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhoneSE3: return 4.7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone14: return 6.1 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone14Plus: return 6.7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone14Pro: return 6.1 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone14ProMax: return 6.7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone15: return 6.1 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone15Plus: return 6.7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone15Pro: return 6.1 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone15ProMax: return 6.7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone16: return 6.1 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone16Plus: return 6.7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone16Pro: return 6.3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone16ProMax: return 6.9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone16e: return 6.1 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone17: return 6.3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone17Pro: return 6.3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone17ProMax: return 6.9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhoneAir: return 6.5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPad2: return 9.7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPad3: return 9.7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPad4: return 9.7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadAir: return 9.7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadAir2: return 9.7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPad5: return 9.7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPad6: return 9.7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadAir3: return 10.5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPad7: return 10.2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPad8: return 10.2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPad9: return 10.2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPad10: return 10.9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadA16: return 10.9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadAir4: return 10.9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadAir5: return 10.9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadAir11M2: return 10.9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadAir13M2: return 12.9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadAir11M3: return 10.9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadAir13M3: return 12.9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadMini: return 7.9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadMini2: return 7.9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadMini3: return 7.9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadMini4: return 7.9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadMini5: return 7.9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadMini6: return 8.3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadMiniA17Pro: return 8.3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadPro9Inch: return 9.7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadPro12Inch: return 12.9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadPro12Inch2: return 12.9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadPro10Inch: return 10.5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadPro11Inch: return 11.0 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadPro12Inch3: return 12.9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadPro11Inch2: return 11.0 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadPro12Inch4: return 12.9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadPro11Inch3: return 11.0 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadPro12Inch5: return 12.9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadPro11Inch4: return 11.0 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadPro12Inch6: return 12.9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadPro11M4: return 11.0 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadPro13M4: return 13.0 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .homePod: return -1 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 500) case .simulator(let model): return model.diagonal case .unknown: return -1 } #elseif os(watchOS) switch self { +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries0_38mm: return 1.5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries0_42mm: return 1.6 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries1_38mm: return 1.5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries1_42mm: return 1.6 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries2_38mm: return 1.5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries2_42mm: return 1.6 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries3_38mm: return 1.5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries3_42mm: return 1.6 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries4_40mm: return 1.8 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries4_44mm: return 2.0 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries5_40mm: return 1.8 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries5_44mm: return 2.0 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries6_40mm: return 1.8 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries6_44mm: return 2.0 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSE_40mm: return 1.8 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSE_44mm: return 2.0 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries7_41mm: return 1.8 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries7_45mm: return 2.0 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries8_41mm: return 1.8 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries8_45mm: return 2.0 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSE2_40mm: return 1.8 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSE2_44mm: return 2.0 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchUltra: return 2.2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries9_41mm: return 1.9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries9_45mm: return 2.0 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchUltra2: return 2.2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries10_42mm: return 1.9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries10_46mm: return 2.0 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchUltra3: return 2.2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries11_42mm: return 1.9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries11_46mm: return 2.0 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 508) case .simulator(let model): return model.diagonal case .unknown: return -1 } @@ -905,134 +1292,259 @@ public enum Device { public var screenRatio: (width: Double, height: Double) { #if os(iOS) switch self { +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPodTouch5: return (width: 9, height: 16) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPodTouch6: return (width: 9, height: 16) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPodTouch7: return (width: 9, height: 16) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone4: return (width: 2, height: 3) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone4s: return (width: 2, height: 3) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone5: return (width: 9, height: 16) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone5c: return (width: 9, height: 16) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone5s: return (width: 9, height: 16) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone6: return (width: 9, height: 16) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone6Plus: return (width: 9, height: 16) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone6s: return (width: 9, height: 16) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone6sPlus: return (width: 9, height: 16) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone7: return (width: 9, height: 16) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone7Plus: return (width: 9, height: 16) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhoneSE: return (width: 9, height: 16) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone8: return (width: 9, height: 16) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone8Plus: return (width: 9, height: 16) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhoneX: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhoneXS: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhoneXSMax: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhoneXR: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone11: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone11Pro: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone11ProMax: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhoneSE2: return (width: 9, height: 16) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone12: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone12Mini: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone12Pro: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone12ProMax: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone13: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone13Mini: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone13Pro: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone13ProMax: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhoneSE3: return (width: 9, height: 16) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone14: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone14Plus: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone14Pro: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone14ProMax: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone15: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone15Plus: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone15Pro: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone15ProMax: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone16: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone16Plus: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone16Pro: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone16ProMax: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone16e: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone17: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone17Pro: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone17ProMax: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhoneAir: return (width: 9, height: 19.5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPad2: return (width: 3, height: 4) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPad3: return (width: 3, height: 4) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPad4: return (width: 3, height: 4) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadAir: return (width: 3, height: 4) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadAir2: return (width: 3, height: 4) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPad5: return (width: 3, height: 4) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPad6: return (width: 3, height: 4) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadAir3: return (width: 3, height: 4) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPad7: return (width: 3, height: 4) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPad8: return (width: 3, height: 4) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPad9: return (width: 3, height: 4) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPad10: return (width: 41, height: 59) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadA16: return (width: 41, height: 59) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadAir4: return (width: 41, height: 59) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadAir5: return (width: 41, height: 59) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadAir11M2: return (width: 59, height: 41) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadAir13M2: return (width: 683, height: 512) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadAir11M3: return (width: 59, height: 41) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadAir13M3: return (width: 683, height: 512) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadMini: return (width: 3, height: 4) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadMini2: return (width: 3, height: 4) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadMini3: return (width: 3, height: 4) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadMini4: return (width: 3, height: 4) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadMini5: return (width: 3, height: 4) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadMini6: return (width: 744, height: 1133) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadMiniA17Pro: return (width: 744, height: 1133) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadPro9Inch: return (width: 3, height: 4) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadPro12Inch: return (width: 3, height: 4) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadPro12Inch2: return (width: 3, height: 4) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadPro10Inch: return (width: 3, height: 4) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadPro11Inch: return (width: 139, height: 199) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadPro12Inch3: return (width: 512, height: 683) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadPro11Inch2: return (width: 139, height: 199) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadPro12Inch4: return (width: 512, height: 683) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadPro11Inch3: return (width: 139, height: 199) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadPro12Inch5: return (width: 512, height: 683) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadPro11Inch4: return (width: 139, height: 199) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadPro12Inch6: return (width: 512, height: 683) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadPro11M4: return (width: 605, height: 417) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadPro13M4: return (width: 4, height: 3) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .homePod: return (width: 4, height: 5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 522) case .simulator(let model): return model.screenRatio case .unknown: return (width: -1, height: -1) } #elseif os(watchOS) switch self { +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries0_38mm: return (width: 4, height: 5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries0_42mm: return (width: 4, height: 5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries1_38mm: return (width: 4, height: 5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries1_42mm: return (width: 4, height: 5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries2_38mm: return (width: 4, height: 5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries2_42mm: return (width: 4, height: 5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries3_38mm: return (width: 4, height: 5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries3_42mm: return (width: 4, height: 5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries4_40mm: return (width: 4, height: 5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries4_44mm: return (width: 4, height: 5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries5_40mm: return (width: 4, height: 5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries5_44mm: return (width: 4, height: 5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries6_40mm: return (width: 4, height: 5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries6_44mm: return (width: 4, height: 5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSE_40mm: return (width: 4, height: 5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSE_44mm: return (width: 4, height: 5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries7_41mm: return (width: 4, height: 5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries7_45mm: return (width: 4, height: 5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries8_41mm: return (width: 4, height: 5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries8_45mm: return (width: 4, height: 5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSE2_40mm: return (width: 4, height: 5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSE2_44mm: return (width: 4, height: 5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchUltra: return (width: 4, height: 5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries9_41mm: return (width: 4, height: 5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries9_45mm: return (width: 4, height: 5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchUltra2: return (width: 4, height: 5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries10_42mm: return (width: 374, height: 446) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries10_46mm: return (width: 416, height: 496) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchUltra3: return (width: 4, height: 5) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries11_42mm: return (width: 374, height: 446) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries11_46mm: return (width: 416, height: 496) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 530) case .simulator(let model): return model.screenRatio case .unknown: return (width: -1, height: -1) } @@ -1446,134 +1958,259 @@ public enum Device { public var ppi: Int? { #if os(iOS) switch self { +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPodTouch5: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPodTouch6: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPodTouch7: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone4: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone4s: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone5: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone5c: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone5s: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone6: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone6Plus: return 401 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone6s: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone6sPlus: return 401 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone7: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone7Plus: return 401 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhoneSE: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone8: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone8Plus: return 401 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhoneX: return 458 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhoneXS: return 458 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhoneXSMax: return 458 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhoneXR: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone11: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone11Pro: return 458 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone11ProMax: return 458 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhoneSE2: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone12: return 460 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone12Mini: return 476 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone12Pro: return 460 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone12ProMax: return 458 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone13: return 460 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone13Mini: return 476 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone13Pro: return 460 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone13ProMax: return 458 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhoneSE3: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone14: return 460 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone14Plus: return 458 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone14Pro: return 460 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone14ProMax: return 458 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone15: return 460 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone15Plus: return 460 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone15Pro: return 460 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone15ProMax: return 460 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone16: return 460 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone16Plus: return 460 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone16Pro: return 460 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone16ProMax: return 460 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone16e: return 460 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone17: return 460 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone17Pro: return 460 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone17ProMax: return 460 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhoneAir: return 460 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPad2: return 132 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPad3: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPad4: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadAir: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadAir2: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPad5: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPad6: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadAir3: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPad7: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPad8: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPad9: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPad10: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadA16: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadAir4: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadAir5: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadAir11M2: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadAir13M2: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadAir11M3: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadAir13M3: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadMini: return 163 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadMini2: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadMini3: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadMini4: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadMini5: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadMini6: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadMiniA17Pro: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadPro9Inch: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadPro12Inch: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadPro12Inch2: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadPro10Inch: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadPro11Inch: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadPro12Inch3: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadPro11Inch2: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadPro12Inch4: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadPro11Inch3: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadPro12Inch5: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadPro11Inch4: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadPro12Inch6: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadPro11M4: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadPro13M4: return 264 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .homePod: return -1 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 946) case .simulator(let model): return model.ppi case .unknown: return nil } #elseif os(watchOS) switch self { +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries0_38mm: return 290 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries0_42mm: return 303 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries1_38mm: return 290 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries1_42mm: return 303 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries2_38mm: return 290 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries2_42mm: return 303 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries3_38mm: return 290 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries3_42mm: return 303 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries4_40mm: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries4_44mm: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries5_40mm: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries5_44mm: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries6_40mm: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries6_44mm: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSE_40mm: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSE_44mm: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries7_41mm: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries7_45mm: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries8_41mm: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries8_45mm: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSE2_40mm: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSE2_44mm: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchUltra: return 338 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries9_41mm: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries9_45mm: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchUltra2: return 338 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries10_42mm: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries10_46mm: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchUltra3: return 338 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries11_42mm: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries11_46mm: return 326 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 954) case .simulator(let model): return model.ppi case .unknown: return nil } @@ -1617,143 +2254,273 @@ extension Device: CustomStringConvertible { public var description: String { #if os(iOS) switch self { +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPodTouch5: return "iPod touch (5th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPodTouch6: return "iPod touch (6th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPodTouch7: return "iPod touch (7th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone4: return "iPhone 4" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone4s: return "iPhone 4s" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone5: return "iPhone 5" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone5c: return "iPhone 5c" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone5s: return "iPhone 5s" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone6: return "iPhone 6" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone6Plus: return "iPhone 6 Plus" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone6s: return "iPhone 6s" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone6sPlus: return "iPhone 6s Plus" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone7: return "iPhone 7" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone7Plus: return "iPhone 7 Plus" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhoneSE: return "iPhone SE" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone8: return "iPhone 8" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone8Plus: return "iPhone 8 Plus" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhoneX: return "iPhone X" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhoneXS: return "iPhone Xs" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhoneXSMax: return "iPhone Xs Max" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhoneXR: return "iPhone Xʀ" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone11: return "iPhone 11" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone11Pro: return "iPhone 11 Pro" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone11ProMax: return "iPhone 11 Pro Max" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhoneSE2: return "iPhone SE (2nd generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone12: return "iPhone 12" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone12Mini: return "iPhone 12 mini" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone12Pro: return "iPhone 12 Pro" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone12ProMax: return "iPhone 12 Pro Max" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone13: return "iPhone 13" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone13Mini: return "iPhone 13 mini" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone13Pro: return "iPhone 13 Pro" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone13ProMax: return "iPhone 13 Pro Max" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhoneSE3: return "iPhone SE (3rd generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone14: return "iPhone 14" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone14Plus: return "iPhone 14 Plus" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone14Pro: return "iPhone 14 Pro" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone14ProMax: return "iPhone 14 Pro Max" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone15: return "iPhone 15" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone15Plus: return "iPhone 15 Plus" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone15Pro: return "iPhone 15 Pro" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone15ProMax: return "iPhone 15 Pro Max" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone16: return "iPhone 16" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone16Plus: return "iPhone 16 Plus" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone16Pro: return "iPhone 16 Pro" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone16ProMax: return "iPhone 16 Pro Max" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone16e: return "iPhone 16e" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone17: return "iPhone 17" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone17Pro: return "iPhone 17 Pro" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone17ProMax: return "iPhone 17 Pro Max" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhoneAir: return "iPhone Air" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPad2: return "iPad 2" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPad3: return "iPad (3rd generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPad4: return "iPad (4th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadAir: return "iPad Air" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadAir2: return "iPad Air 2" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPad5: return "iPad (5th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPad6: return "iPad (6th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadAir3: return "iPad Air (3rd generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPad7: return "iPad (7th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPad8: return "iPad (8th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPad9: return "iPad (9th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPad10: return "iPad (10th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadA16: return "iPad (A16)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadAir4: return "iPad Air (4th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadAir5: return "iPad Air (5th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadAir11M2: return "iPad Air (11-inch) (M2)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadAir13M2: return "iPad Air (13-inch) (M2)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadAir11M3: return "iPad Air (11-inch) (M3)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadAir13M3: return "iPad Air (13-inch) (M3)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadMini: return "iPad Mini" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadMini2: return "iPad Mini 2" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadMini3: return "iPad Mini 3" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadMini4: return "iPad Mini 4" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadMini5: return "iPad Mini (5th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadMini6: return "iPad Mini (6th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadMiniA17Pro: return "iPad Mini (A17 Pro)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadPro9Inch: return "iPad Pro (9.7-inch)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadPro12Inch: return "iPad Pro (12.9-inch)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadPro12Inch2: return "iPad Pro (12.9-inch) (2nd generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadPro10Inch: return "iPad Pro (10.5-inch)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadPro11Inch: return "iPad Pro (11-inch)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadPro12Inch3: return "iPad Pro (12.9-inch) (3rd generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadPro11Inch2: return "iPad Pro (11-inch) (2nd generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadPro12Inch4: return "iPad Pro (12.9-inch) (4th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadPro11Inch3: return "iPad Pro (11-inch) (3rd generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadPro12Inch5: return "iPad Pro (12.9-inch) (5th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadPro11Inch4: return "iPad Pro (11-inch) (4th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadPro12Inch6: return "iPad Pro (12.9-inch) (6th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadPro11M4: return "iPad Pro (11-inch) (M4)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadPro13M4: return "iPad Pro (13-inch) (M4)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .homePod: return "HomePod" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1000) case .simulator(let model): return "Simulator (\(model.description))" case .unknown(let identifier): return identifier } #elseif os(watchOS) switch self { +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries0_38mm: return "Apple Watch (1st generation) 38mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries0_42mm: return "Apple Watch (1st generation) 42mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries1_38mm: return "Apple Watch Series 1 38mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries1_42mm: return "Apple Watch Series 1 42mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries2_38mm: return "Apple Watch Series 2 38mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries2_42mm: return "Apple Watch Series 2 42mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries3_38mm: return "Apple Watch Series 3 38mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries3_42mm: return "Apple Watch Series 3 42mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries4_40mm: return "Apple Watch Series 4 40mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries4_44mm: return "Apple Watch Series 4 44mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries5_40mm: return "Apple Watch Series 5 40mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries5_44mm: return "Apple Watch Series 5 44mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries6_40mm: return "Apple Watch Series 6 40mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries6_44mm: return "Apple Watch Series 6 44mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSE_40mm: return "Apple Watch SE 40mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSE_44mm: return "Apple Watch SE 44mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries7_41mm: return "Apple Watch Series 7 41mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries7_45mm: return "Apple Watch Series 7 45mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries8_41mm: return "Apple Watch Series 8 41mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries8_45mm: return "Apple Watch Series 8 45mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSE2_40mm: return "Apple Watch SE (2nd generation) 40mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSE2_44mm: return "Apple Watch SE (2nd generation) 44mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchUltra: return "Apple Watch Ultra" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries9_41mm: return "Apple Watch Series 9 41mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries9_45mm: return "Apple Watch Series 9 45mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchUltra2: return "Apple Watch Ultra2" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries10_42mm: return "Apple Watch Series 10 42mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries10_46mm: return "Apple Watch Series 10 46mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchUltra3: return "Apple Watch Ultra 3" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries11_42mm: return "Apple Watch Series 11 42mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries11_46mm: return "Apple Watch Series 11 46mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1008) case .simulator(let model): return "Simulator (\(model.description))" case .unknown(let identifier): return identifier } #elseif os(tvOS) switch self { +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1014) case .appleTVHD: return "Apple TV HD" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1014) case .appleTV4K: return "Apple TV 4K" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1014) case .appleTV4K2: return "Apple TV 4K (2nd generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1014) case .appleTV4K3: return "Apple TV 4K (3rd generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1016) case .simulator(let model): return "Simulator (\(model.description))" case .unknown(let identifier): return identifier } @@ -1775,143 +2542,273 @@ extension Device: CustomStringConvertible { public var safeDescription: String { #if os(iOS) switch self { +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPodTouch5: return "iPod touch (5th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPodTouch6: return "iPod touch (6th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPodTouch7: return "iPod touch (7th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone4: return "iPhone 4" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone4s: return "iPhone 4s" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone5: return "iPhone 5" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone5c: return "iPhone 5c" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone5s: return "iPhone 5s" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone6: return "iPhone 6" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone6Plus: return "iPhone 6 Plus" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone6s: return "iPhone 6s" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone6sPlus: return "iPhone 6s Plus" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone7: return "iPhone 7" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone7Plus: return "iPhone 7 Plus" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhoneSE: return "iPhone SE" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone8: return "iPhone 8" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone8Plus: return "iPhone 8 Plus" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhoneX: return "iPhone X" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhoneXS: return "iPhone XS" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhoneXSMax: return "iPhone XS Max" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhoneXR: return "iPhone XR" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone11: return "iPhone 11" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone11Pro: return "iPhone 11 Pro" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone11ProMax: return "iPhone 11 Pro Max" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhoneSE2: return "iPhone SE (2nd generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone12: return "iPhone 12" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone12Mini: return "iPhone 12 mini" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone12Pro: return "iPhone 12 Pro" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone12ProMax: return "iPhone 12 Pro Max" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone13: return "iPhone 13" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone13Mini: return "iPhone 13 mini" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone13Pro: return "iPhone 13 Pro" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone13ProMax: return "iPhone 13 Pro Max" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhoneSE3: return "iPhone SE (3rd generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone14: return "iPhone 14" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone14Plus: return "iPhone 14 Plus" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone14Pro: return "iPhone 14 Pro" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone14ProMax: return "iPhone 14 Pro Max" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone15: return "iPhone 15" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone15Plus: return "iPhone 15 Plus" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone15Pro: return "iPhone 15 Pro" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone15ProMax: return "iPhone 15 Pro Max" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone16: return "iPhone 16" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone16Plus: return "iPhone 16 Plus" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone16Pro: return "iPhone 16 Pro" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone16ProMax: return "iPhone 16 Pro Max" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone16e: return "iPhone 16e" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone17: return "iPhone 17" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone17Pro: return "iPhone 17 Pro" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone17ProMax: return "iPhone 17 Pro Max" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhoneAir: return "iPhone Air" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPad2: return "iPad 2" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPad3: return "iPad (3rd generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPad4: return "iPad (4th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadAir: return "iPad Air" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadAir2: return "iPad Air 2" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPad5: return "iPad (5th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPad6: return "iPad (6th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadAir3: return "iPad Air (3rd generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPad7: return "iPad (7th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPad8: return "iPad (8th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPad9: return "iPad (9th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPad10: return "iPad (10th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadA16: return "iPad (A16)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadAir4: return "iPad Air (4th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadAir5: return "iPad Air (5th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadAir11M2: return "iPad Air (11-inch) (M2)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadAir13M2: return "iPad Air (13-inch) (M2)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadAir11M3: return "iPad Air (11-inch) (M3)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadAir13M3: return "iPad Air (13-inch) (M3)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadMini: return "iPad Mini" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadMini2: return "iPad Mini 2" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadMini3: return "iPad Mini 3" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadMini4: return "iPad Mini 4" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadMini5: return "iPad Mini (5th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadMini6: return "iPad Mini (6th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadMiniA17Pro: return "iPad Mini (A17 Pro)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadPro9Inch: return "iPad Pro (9.7-inch)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadPro12Inch: return "iPad Pro (12.9-inch)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadPro12Inch2: return "iPad Pro (12.9-inch) (2nd generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadPro10Inch: return "iPad Pro (10.5-inch)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadPro11Inch: return "iPad Pro (11-inch)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadPro12Inch3: return "iPad Pro (12.9-inch) (3rd generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadPro11Inch2: return "iPad Pro (11-inch) (2nd generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadPro12Inch4: return "iPad Pro (12.9-inch) (4th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadPro11Inch3: return "iPad Pro (11-inch) (3rd generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadPro12Inch5: return "iPad Pro (12.9-inch) (5th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadPro11Inch4: return "iPad Pro (11-inch) (4th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadPro12Inch6: return "iPad Pro (12.9-inch) (6th generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadPro11M4: return "iPad Pro (11-inch) (M4)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadPro13M4: return "iPad Pro (13-inch) (M4)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .homePod: return "HomePod" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1040) case .simulator(let model): return "Simulator (\(model.safeDescription))" case .unknown(let identifier): return identifier } #elseif os(watchOS) switch self { +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries0_38mm: return "Apple Watch (1st generation) 38mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries0_42mm: return "Apple Watch (1st generation) 42mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries1_38mm: return "Apple Watch Series 1 38mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries1_42mm: return "Apple Watch Series 1 42mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries2_38mm: return "Apple Watch Series 2 38mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries2_42mm: return "Apple Watch Series 2 42mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries3_38mm: return "Apple Watch Series 3 38mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries3_42mm: return "Apple Watch Series 3 42mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries4_40mm: return "Apple Watch Series 4 40mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries4_44mm: return "Apple Watch Series 4 44mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries5_40mm: return "Apple Watch Series 5 40mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries5_44mm: return "Apple Watch Series 5 44mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries6_40mm: return "Apple Watch Series 6 40mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries6_44mm: return "Apple Watch Series 6 44mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSE_40mm: return "Apple Watch SE 40mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSE_44mm: return "Apple Watch SE 44mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries7_41mm: return "Apple Watch Series 7 41mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries7_45mm: return "Apple Watch Series 7 45mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries8_41mm: return "Apple Watch Series 8 41mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries8_45mm: return "Apple Watch Series 8 45mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSE2_40mm: return "Apple Watch SE (2nd generation) 40mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSE2_44mm: return "Apple Watch SE (2nd generation) 44mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchUltra: return "Apple Watch Ultra" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries9_41mm: return "Apple Watch Series 9 41mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries9_45mm: return "Apple Watch Series 9 45mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchUltra2: return "Apple Watch Ultra2" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries10_42mm: return "Apple Watch Series 10 42mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries10_46mm: return "Apple Watch Series 10 46mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchUltra3: return "Apple Watch Ultra 3" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries11_42mm: return "Apple Watch Series 11 42mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries11_46mm: return "Apple Watch Series 11 46mm" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1048) case .simulator(let model): return "Simulator (\(model.safeDescription))" case .unknown(let identifier): return identifier } #elseif os(tvOS) switch self { +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1054) case .appleTVHD: return "Apple TV HD" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1054) case .appleTV4K: return "Apple TV 4K" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1054) case .appleTV4K2: return "Apple TV 4K (2nd generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1054) case .appleTV4K3: return "Apple TV 4K (3rd generation)" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1056) case .simulator(let model): return "Simulator (\(model.safeDescription))" case .unknown(let identifier): return identifier } @@ -2100,7 +2997,7 @@ extension Device { } #endif -#if os(iOS) +#if os(iOS) || os(tvOS) // MARK: DiskSpace extension Device { @@ -2120,19 +3017,19 @@ extension Device { } /// The volume’s available capacity in bytes for storing important resources. - @available(iOS 11.0, *) + @available(iOS 11.0, tvOS 11.0, *) public static var volumeAvailableCapacityForImportantUsage: Int64? { return (try? rootURL.resourceValues(forKeys: [.volumeAvailableCapacityForImportantUsageKey]))?.volumeAvailableCapacityForImportantUsage } /// The volume’s available capacity in bytes for storing nonessential resources. - @available(iOS 11.0, *) + @available(iOS 11.0, tvOS 11.0, *) public static var volumeAvailableCapacityForOpportunisticUsage: Int64? { //swiftlint:disable:this identifier_name return (try? rootURL.resourceValues(forKeys: [.volumeAvailableCapacityForOpportunisticUsageKey]))?.volumeAvailableCapacityForOpportunisticUsage } /// All volumes capacity information in bytes. - @available(iOS 11.0, *) + @available(iOS 11.0, tvOS 11.0, *) public static var volumes: [URLResourceKey: Int64]? { do { let values = try rootURL.resourceValues(forKeys: [.volumeAvailableCapacityForImportantUsageKey, @@ -2189,36 +3086,67 @@ extension Device { /// Returns supported version of the Apple Pencil public var applePencilSupport: ApplePencilSupport { switch self { +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1334) case .iPad6: return .firstGeneration +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1334) case .iPadAir3: return .firstGeneration +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1334) case .iPad7: return .firstGeneration +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1334) case .iPad8: return .firstGeneration +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1334) case .iPad9: return .firstGeneration +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1334) case .iPadMini5: return .firstGeneration +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1334) case .iPadPro9Inch: return .firstGeneration +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1334) case .iPadPro12Inch: return .firstGeneration +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1334) case .iPadPro12Inch2: return .firstGeneration +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1334) case .iPadPro10Inch: return .firstGeneration +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1340) case .iPad10: return .firstGenerationUsbC +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1340) case .iPadA16: return .firstGenerationUsbC +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1346) case .iPadAir4: return [.secondGeneration, .firstGenerationUsbC] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1346) case .iPadAir5: return [.secondGeneration, .firstGenerationUsbC] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1346) case .iPadMini6: return [.secondGeneration, .firstGenerationUsbC] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1346) case .iPadPro11Inch: return [.secondGeneration, .firstGenerationUsbC] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1346) case .iPadPro12Inch3: return [.secondGeneration, .firstGenerationUsbC] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1346) case .iPadPro11Inch2: return [.secondGeneration, .firstGenerationUsbC] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1346) case .iPadPro12Inch4: return [.secondGeneration, .firstGenerationUsbC] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1346) case .iPadPro11Inch3: return [.secondGeneration, .firstGenerationUsbC] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1346) case .iPadPro12Inch5: return [.secondGeneration, .firstGenerationUsbC] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1346) case .iPadPro11Inch4: return [.secondGeneration, .firstGenerationUsbC] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1346) case .iPadPro12Inch6: return [.secondGeneration, .firstGenerationUsbC] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1349) case .iPadPro11M4: return [.secondGeneration, .firstGenerationUsbC, .pro] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1349) case .iPadPro13M4: return [.secondGeneration, .firstGenerationUsbC, .pro] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1352) case .iPadAir11M2: return [.secondGeneration, .pro] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1352) case .iPadAir13M2: return [.secondGeneration, .pro] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1352) case .iPadAir11M3: return [.secondGeneration, .pro] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1352) case .iPadAir13M3: return [.secondGeneration, .pro] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1355) case .iPadMiniA17Pro: return [.firstGenerationUsbC, .pro] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1357) case .simulator(let model): return model.applePencilSupport default: return [] } @@ -2242,97 +3170,189 @@ extension Device { /// Returns an array of the types of cameras the device has public var cameras: [CameraType] { switch self { +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPodTouch5: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPodTouch6: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPodTouch7: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhone4: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhone4s: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhone5: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhone5c: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhone5s: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhone6: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhone6Plus: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhone6s: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhone6sPlus: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhone7: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhoneSE: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhone8: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhoneXR: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhoneSE2: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhoneSE3: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhone16e: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPad2: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPad3: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPad4: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadAir: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadAir2: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPad5: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPad6: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadAir3: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPad7: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPad8: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPad9: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPad10: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadA16: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadAir4: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadAir5: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadAir11M2: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadAir13M2: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadAir11M3: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadAir13M3: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadMini: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadMini2: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadMini3: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadMini4: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadMini5: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadMini6: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadMiniA17Pro: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadPro9Inch: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadPro12Inch: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadPro12Inch2: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadPro10Inch: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadPro11Inch: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadPro12Inch3: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadPro11M4: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadPro13M4: return [.wide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1390) case .iPhone7Plus: return [.wide, .telephoto] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1390) case .iPhone8Plus: return [.wide, .telephoto] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1390) case .iPhoneX: return [.wide, .telephoto] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1390) case .iPhoneXS: return [.wide, .telephoto] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1390) case .iPhoneXSMax: return [.wide, .telephoto] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPhone11: return [.wide, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPhone12: return [.wide, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPhone12Mini: return [.wide, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPhone13: return [.wide, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPhone13Mini: return [.wide, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPhone14: return [.wide, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPhone14Plus: return [.wide, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPhone15: return [.wide, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPhone15Plus: return [.wide, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPhone16: return [.wide, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPhone16Plus: return [.wide, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPhone17: return [.wide, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPhoneAir: return [.wide, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPadPro11Inch2: return [.wide, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPadPro12Inch4: return [.wide, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPadPro11Inch3: return [.wide, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPadPro12Inch5: return [.wide, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPadPro11Inch4: return [.wide, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPadPro12Inch6: return [.wide, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1399) case .iPhone11Pro: return [.wide, .telephoto, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1399) case .iPhone11ProMax: return [.wide, .telephoto, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1399) case .iPhone12Pro: return [.wide, .telephoto, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1399) case .iPhone12ProMax: return [.wide, .telephoto, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1399) case .iPhone13Pro: return [.wide, .telephoto, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1399) case .iPhone13ProMax: return [.wide, .telephoto, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1399) case .iPhone14Pro: return [.wide, .telephoto, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1399) case .iPhone14ProMax: return [.wide, .telephoto, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1399) case .iPhone15Pro: return [.wide, .telephoto, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1399) case .iPhone15ProMax: return [.wide, .telephoto, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1399) case .iPhone16Pro: return [.wide, .telephoto, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1399) case .iPhone16ProMax: return [.wide, .telephoto, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1399) case .iPhone17Pro: return [.wide, .telephoto, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1399) case .iPhone17ProMax: return [.wide, .telephoto, .ultraWide] +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1401) default: return [] } } @@ -2425,52 +3445,95 @@ extension Device { } // MARK: CPU +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1546) extension Device { public enum CPU: Comparable { #if os(iOS) || os(tvOS) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a5X +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a6 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a6X +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a8 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a8X +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a9X +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a10Fusion +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a10XFusion +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a11Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a12Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a12XBionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a12ZBionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a13Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a14Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a15Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a16Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a17Pro +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a18 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a18Pro +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a19 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a19Pro +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case m1 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case m2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case m3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case m4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1554) #elseif os(watchOS) +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1556) case s1 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1556) case s1P +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1556) case s2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1556) case s3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1556) case s4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1556) case s5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1556) case s6 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1556) case s7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1556) case s8 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1556) case s9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1556) case s10 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1558) #endif case unknown } @@ -2479,143 +3542,273 @@ extension Device { public var cpu: CPU { #if os(iOS) switch self { +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPodTouch5: return .a5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPodTouch6: return .a8 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPodTouch7: return .a10Fusion +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone4: return .a4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone4s: return .a5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone5: return .a6 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone5c: return .a6 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone5s: return .a7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone6: return .a8 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone6Plus: return .a8 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone6s: return .a9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone6sPlus: return .a9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone7: return .a10Fusion +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone7Plus: return .a10Fusion +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhoneSE: return .a9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone8: return .a11Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone8Plus: return .a11Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhoneX: return .a11Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhoneXS: return .a12Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhoneXSMax: return .a12Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhoneXR: return .a12Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone11: return .a13Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone11Pro: return .a13Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone11ProMax: return .a13Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhoneSE2: return .a13Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone12: return .a14Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone12Mini: return .a14Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone12Pro: return .a14Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone12ProMax: return .a14Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone13: return .a15Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone13Mini: return .a15Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone13Pro: return .a15Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone13ProMax: return .a15Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhoneSE3: return .a15Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone14: return .a15Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone14Plus: return .a15Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone14Pro: return .a16Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone14ProMax: return .a16Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone15: return .a16Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone15Plus: return .a16Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone15Pro: return .a17Pro +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone15ProMax: return .a17Pro +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone16: return .a18 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone16Plus: return .a18 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone16Pro: return .a18Pro +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone16ProMax: return .a18Pro +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone16e: return .a18 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone17: return .a19 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone17Pro: return .a19Pro +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone17ProMax: return .a19Pro +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhoneAir: return .a19Pro +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPad2: return .a5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPad3: return .a5X +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPad4: return .a6X +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadAir: return .a7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadAir2: return .a8X +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPad5: return .a9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPad6: return .a10Fusion +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadAir3: return .a12Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPad7: return .a10Fusion +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPad8: return .a12Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPad9: return .a13Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPad10: return .a14Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadA16: return .a16Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadAir4: return .a14Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadAir5: return .m1 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadAir11M2: return .m2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadAir13M2: return .m2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadAir11M3: return .m3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadAir13M3: return .m3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadMini: return .a5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadMini2: return .a7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadMini3: return .a7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadMini4: return .a8 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadMini5: return .a12Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadMini6: return .a15Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadMiniA17Pro: return .a17Pro +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadPro9Inch: return .a9X +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadPro12Inch: return .a9X +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadPro12Inch2: return .a10XFusion +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadPro10Inch: return .a10XFusion +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadPro11Inch: return .a12XBionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadPro12Inch3: return .a12XBionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadPro11Inch2: return .a12ZBionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadPro12Inch4: return .a12ZBionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadPro11Inch3: return .m1 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadPro12Inch5: return .m1 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadPro11Inch4: return .m2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadPro12Inch6: return .m2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadPro11M4: return .m4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadPro13M4: return .m4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .homePod: return .a8 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1569) case .simulator(let model): return model.cpu case .unknown: return .unknown } #elseif os(watchOS) switch self { +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries0_38mm: return .s1 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries0_42mm: return .s1 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries1_38mm: return .s1P +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries1_42mm: return .s1P +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries2_38mm: return .s2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries2_42mm: return .s2 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries3_38mm: return .s3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries3_42mm: return .s3 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries4_40mm: return .s4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries4_44mm: return .s4 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries5_40mm: return .s5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries5_44mm: return .s5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries6_40mm: return .s6 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries6_44mm: return .s6 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSE_40mm: return .s5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSE_44mm: return .s5 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries7_41mm: return .s7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries7_45mm: return .s7 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries8_41mm: return .s8 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries8_45mm: return .s8 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSE2_40mm: return .s8 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSE2_44mm: return .s8 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchUltra: return .s8 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries9_41mm: return .s9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries9_45mm: return .s9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchUltra2: return .s9 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries10_42mm: return .s10 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries10_46mm: return .s10 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchUltra3: return .s10 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries11_42mm: return .s10 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries11_46mm: return .s10 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1577) case .simulator(let model): return model.cpu case .unknown: return .unknown } #elseif os(tvOS) switch self { +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1583) case .appleTVHD: return .a8 +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1583) case .appleTV4K: return .a10XFusion +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1583) case .appleTV4K2: return .a12Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1583) case .appleTV4K3: return .a15Bionic +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1585) case .simulator(let model): return model.cpu case .unknown: return .unknown } @@ -2634,50 +3827,92 @@ extension Device.CPU: CustomStringConvertible { public var description: String { #if os(iOS) || os(tvOS) switch self { +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a4: return "A4" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a5: return "A5" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a5X: return "A5X" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a6: return "A6" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a6X: return "A6X" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a7: return "A7" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a8: return "A8" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a8X: return "A8X" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a9: return "A9" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a9X: return "A9X" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a10Fusion: return "A10 Fusion" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a10XFusion: return "A10X Fusion" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a11Bionic: return "A11 Bionic" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a12Bionic: return "A12 Bionic" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a12XBionic: return "A12X Bionic" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a12ZBionic: return "A12Z Bionic" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a13Bionic: return "A13 Bionic" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a14Bionic: return "A14 Bionic" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a15Bionic: return "A15 Bionic" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a16Bionic: return "A16 Bionic" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a17Pro: return "A17 Pro" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a18: return "A18" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a18Pro: return "A18 Pro" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a19: return "A19" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a19Pro: return "A19 Pro" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .m1: return "M1" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .m2: return "M2" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .m3: return "M3" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .m4: return "M4" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1606) case .unknown: return "unknown" } #elseif os(watchOS) switch self { +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1611) case .s1: return "S1" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1611) case .s1P: return "S1P" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1611) case .s2: return "S2" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1611) case .s3: return "S3" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1611) case .s4: return "S4" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1611) case .s5: return "S5" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1611) case .s6: return "S6" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1611) case .s7: return "S7" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1611) case .s8: return "S8" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1611) case .s9: return "S9" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1611) case .s10: return "S10" +// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1613) case .unknown: return "unknown" } #elseif os(visionOS) diff --git a/Source/Device.swift.gyb b/Source/Device.swift.gyb index 94e3399..db41807 100644 --- a/Source/Device.swift.gyb +++ b/Source/Device.swift.gyb @@ -1241,7 +1241,7 @@ extension Device { } #endif -#if os(iOS) +#if os(iOS) || os(tvOS) // MARK: DiskSpace extension Device { @@ -1261,19 +1261,19 @@ extension Device { } /// The volume’s available capacity in bytes for storing important resources. - @available(iOS 11.0, *) + @available(iOS 11.0, tvOS 11.0, *) public static var volumeAvailableCapacityForImportantUsage: Int64? { return (try? rootURL.resourceValues(forKeys: [.volumeAvailableCapacityForImportantUsageKey]))?.volumeAvailableCapacityForImportantUsage } /// The volume’s available capacity in bytes for storing nonessential resources. - @available(iOS 11.0, *) + @available(iOS 11.0, tvOS 11.0, *) public static var volumeAvailableCapacityForOpportunisticUsage: Int64? { //swiftlint:disable:this identifier_name return (try? rootURL.resourceValues(forKeys: [.volumeAvailableCapacityForOpportunisticUsageKey]))?.volumeAvailableCapacityForOpportunisticUsage } /// All volumes capacity information in bytes. - @available(iOS 11.0, *) + @available(iOS 11.0, tvOS 11.0, *) public static var volumes: [URLResourceKey: Int64]? { do { let values = try rootURL.resourceValues(forKeys: [.volumeAvailableCapacityForImportantUsageKey, diff --git a/Tests/Tests.swift b/Tests/Tests.swift index f14418f..3e4dc04 100644 --- a/Tests/Tests.swift +++ b/Tests/Tests.swift @@ -584,31 +584,33 @@ class DeviceKitTests: XCTestCase { } } + #if os(iOS) || os(tvOS) // MARK: - volumes - @available(iOS 11.0, *) + @available(iOS 11.0, tvOS 11.0, *) func testVolumeTotalCapacity() { XCTAssertNotNil(Device.volumeTotalCapacity) } - @available(iOS 11.0, *) + @available(iOS 11.0, tvOS 11.0, *) func testVolumeAvailableCapacity() { XCTAssertNotNil(Device.volumeAvailableCapacity) } - @available(iOS 11.0, *) + @available(iOS 11.0, tvOS 11.0, *) func testVolumeAvailableCapacityForImportantUsage() { XCTAssertNotNil(Device.volumeAvailableCapacityForImportantUsage) } - @available(iOS 11.0, *) + @available(iOS 11.0, tvOS 11.0, *) func testVolumeAvailableCapacityForOpportunisticUsage() { XCTAssertNotNil(Device.volumeAvailableCapacityForOpportunisticUsage) } - @available(iOS 11.0, *) + @available(iOS 11.0, tvOS 11.0, *) func testVolumes() { XCTAssertNotNil(Device.volumes) } + #endif func testCameras() { for device in Device.allDevicesWithCamera { From f822d314e425c7014e18facfa27225476874e5c6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 11 Sep 2025 22:33:49 +0000 Subject: [PATCH 3/4] Remove sourceLocation lines from generated Swift file using gyb --line-directive flag Co-authored-by: Zandor300 <6069593+Zandor300@users.noreply.github.com> --- Source/Device.generated.swift | 1235 --------------------------------- 1 file changed, 1235 deletions(-) diff --git a/Source/Device.generated.swift b/Source/Device.generated.swift index b6c893d..94b6c83 100644 --- a/Source/Device.generated.swift +++ b/Source/Device.generated.swift @@ -1,4 +1,3 @@ -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1) //===----------------------------------------------------------------------===// // // This source file is part of the DeviceKit open source project @@ -10,7 +9,6 @@ // //===----------------------------------------------------------------------===// -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 348) #if os(watchOS) import WatchKit #elseif canImport(UIKit) @@ -52,646 +50,516 @@ import Foundation /// public enum Device { #if os(iOS) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPod touch (5th generation)](https://support.apple.com/kb/SP657) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP657/sp657_ipod-touch_size.jpg) case iPodTouch5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPod touch (6th generation)](https://support.apple.com/kb/SP720) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP720/SP720-ipod-touch-specs-color-sg-2015.jpg) case iPodTouch6 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPod touch (7th generation)](https://support.apple.com/kb/SP796) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP796/ipod-touch-7th-gen_2x.png) case iPodTouch7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 4](https://support.apple.com/kb/SP587) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP643/sp643_iphone4s_color_black.jpg) case iPhone4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 4s](https://support.apple.com/kb/SP643) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP643/sp643_iphone4s_color_black.jpg) case iPhone4s -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 5](https://support.apple.com/kb/SP655) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP655/sp655_iphone5_color.jpg) case iPhone5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 5c](https://support.apple.com/kb/SP684) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP684/SP684-color_yellow.jpg) case iPhone5c -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 5s](https://support.apple.com/kb/SP685) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP685/SP685-color_black.jpg) case iPhone5s -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 6](https://support.apple.com/kb/SP705) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP705/SP705-iphone_6-mul.png) case iPhone6 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 6 Plus](https://support.apple.com/kb/SP706) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP706/SP706-iphone_6_plus-mul.png) case iPhone6Plus -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 6s](https://support.apple.com/kb/SP726) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP726/SP726-iphone6s-gray-select-2015.png) case iPhone6s -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 6s Plus](https://support.apple.com/kb/SP727) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP727/SP727-iphone6s-plus-gray-select-2015.png) case iPhone6sPlus -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 7](https://support.apple.com/kb/SP743) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP743/iphone7-black.png) case iPhone7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 7 Plus](https://support.apple.com/kb/SP744) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP744/iphone7-plus-black.png) case iPhone7Plus -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone SE](https://support.apple.com/kb/SP738) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP738/SP738.png) case iPhoneSE -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 8](https://support.apple.com/kb/SP767) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP767/iphone8.png) case iPhone8 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 8 Plus](https://support.apple.com/kb/SP768) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP768/iphone8plus.png) case iPhone8Plus -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone X](https://support.apple.com/kb/SP770) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP770/iphonex.png) case iPhoneX -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone Xs](https://support.apple.com/kb/SP779) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP779/SP779-iphone-xs.jpg) case iPhoneXS -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone Xs Max](https://support.apple.com/kb/SP780) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP780/SP780-iPhone-Xs-Max.jpg) case iPhoneXSMax -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone Xʀ](https://support.apple.com/kb/SP781) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP781/SP781-iPhone-xr.jpg) case iPhoneXR -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 11](https://support.apple.com/kb/SP804) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP804/sp804-iphone11_2x.png) case iPhone11 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 11 Pro](https://support.apple.com/kb/SP805) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP805/sp805-iphone11pro_2x.png) case iPhone11Pro -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 11 Pro Max](https://support.apple.com/kb/SP806) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP806/sp806-iphone11pro-max_2x.png) case iPhone11ProMax -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone SE (2nd generation)](https://support.apple.com/kb/SP820) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP820/iphone-se-2nd-gen_2x.png) case iPhoneSE2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 12](https://support.apple.com/kb/SP830) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP830/sp830-iphone12-ios14_2x.png) case iPhone12 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 12 mini](https://support.apple.com/kb/SP829) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP829/sp829-iphone12mini-ios14_2x.png) case iPhone12Mini -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 12 Pro](https://support.apple.com/kb/SP831) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP831/iphone12pro-ios14_2x.png) case iPhone12Pro -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 12 Pro Max](https://support.apple.com/kb/SP832) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP832/iphone12promax-ios14_2x.png) case iPhone12ProMax -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 13](https://support.apple.com/kb/SP851) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/1000/IM1092/en_US/iphone-13-240.png) case iPhone13 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 13 mini](https://support.apple.com/kb/SP847) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/1000/IM1091/en_US/iphone-13mini-240.png) case iPhone13Mini -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 13 Pro](https://support.apple.com/kb/SP852) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/1000/IM1093/en_US/iphone-13pro-240.png) case iPhone13Pro -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 13 Pro Max](https://support.apple.com/kb/SP848) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/1000/IM1095/en_US/iphone-13promax-240.png) case iPhone13ProMax -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone SE (3rd generation)](https://support.apple.com/kb/SP867) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/1000/IM1136/en_US/iphone-se-3rd-gen-colors-240.png) case iPhoneSE3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 14](https://support.apple.com/kb/SP873) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP873/iphone-14_1_2x.png) case iPhone14 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 14 Plus](https://support.apple.com/kb/SP874) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP873/iphone-14_1_2x.png) case iPhone14Plus -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 14 Pro](https://support.apple.com/kb/SP875) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP875/sp875-sp876-iphone14-pro-promax_2x.png) case iPhone14Pro -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 14 Pro Max](https://support.apple.com/kb/SP876) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP875/sp875-sp876-iphone14-pro-promax_2x.png) case iPhone14ProMax -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 15](https://support.apple.com/en-us/111831) /// /// ![Image]() case iPhone15 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 15 Plus](https://support.apple.com/en-us/111830) /// /// ![Image]() case iPhone15Plus -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 15 Pro](https://support.apple.com/en-us/111829) /// /// ![Image]() case iPhone15Pro -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 15 Pro Max](https://support.apple.com/en-us/111828) /// /// ![Image]() case iPhone15ProMax -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 16]() /// /// ![Image]() case iPhone16 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 16 Plus]() /// /// ![Image]() case iPhone16Plus -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 16 Pro]() /// /// ![Image]() case iPhone16Pro -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 16 Pro Max]() /// /// ![Image]() case iPhone16ProMax -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 16e](https://support.apple.com/en-us/122208) /// /// ![Image](https://cdsassets.apple.com/live/7WUAS350/images/tech-specs/122208-iphone-16e.png) case iPhone16e -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 17]() /// /// ![Image]() case iPhone17 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 17 Pro]() /// /// ![Image]() case iPhone17Pro -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone 17 Pro Max]() /// /// ![Image]() case iPhone17ProMax -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPhone Air]() /// /// ![Image]() case iPhoneAir -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad 2](https://support.apple.com/kb/SP622) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP622/SP622_01-ipad2-mul.png) case iPad2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad (3rd generation)](https://support.apple.com/kb/SP647) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP662/sp662_ipad-4th-gen_color.jpg) case iPad3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad (4th generation)](https://support.apple.com/kb/SP662) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP662/sp662_ipad-4th-gen_color.jpg) case iPad4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Air](https://support.apple.com/kb/SP692) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP692/SP692-specs_color-mul.png) case iPadAir -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Air 2](https://support.apple.com/kb/SP708) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP708/SP708-space_gray.jpeg) case iPadAir2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad (5th generation)](https://support.apple.com/kb/SP751) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP751/ipad_5th_generation.png) case iPad5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad (6th generation)](https://support.apple.com/kb/SP774) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP774/sp774-ipad-6-gen_2x.png) case iPad6 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Air (3rd generation)](https://support.apple.com/kb/SP787) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP787/ipad-air-2019.jpg) case iPadAir3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad (7th generation)](https://support.apple.com/kb/SP807) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP807/sp807-ipad-7th-gen_2x.png) case iPad7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad (8th generation)](https://support.apple.com/kb/SP822) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP822/sp822-ipad-8gen_2x.png) case iPad8 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad (9th generation)](https://support.apple.com/kb/SP849) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/1000/IM1096/en_US/ipad-9gen-240.png) case iPad9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad (10th generation)](https://support.apple.com/kb/SP884) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP884/sp884-ipad-10gen-960_2x.png) case iPad10 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad (A16)]() /// /// ![Image]() case iPadA16 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Air (4th generation)](https://support.apple.com/kb/SP828) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP828/sp828ipad-air-ipados14-960_2x.png) case iPadAir4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Air (5th generation)](https://support.apple.com/kb/SP866) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP866/sp866-ipad-air-5gen_2x.png) case iPadAir5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Air 11-inch (M2)](https://support.apple.com/en-us/119894) /// /// ![Image](https://cdsassets.apple.com/content/services/pub/image?productid=301027&size=240x240) case iPadAir11M2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Air 13-inch (M2)](https://support.apple.com/en-us/119893) /// /// ![Image](https://cdsassets.apple.com/content/services/pub/image?productid=301029&size=240x240) case iPadAir13M2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Air 11-inch (M3)]() /// /// ![Image](https://cdsassets.apple.com/content/services/pub/image?productid=301027&size=240x240) case iPadAir11M3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Air 13-inch (M3)]() /// /// ![Image](https://cdsassets.apple.com/content/services/pub/image?productid=301029&size=240x240) case iPadAir13M3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Mini](https://support.apple.com/kb/SP661) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP661/sp661_ipad_mini_color.jpg) case iPadMini -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Mini 2](https://support.apple.com/kb/SP693) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP693/SP693-specs_color-mul.png) case iPadMini2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Mini 3](https://support.apple.com/kb/SP709) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP709/SP709-space_gray.jpeg) case iPadMini3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Mini 4](https://support.apple.com/kb/SP725) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP725/SP725ipad-mini-4.png) case iPadMini4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Mini (5th generation)](https://support.apple.com/kb/SP788) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP788/ipad-mini-2019.jpg) case iPadMini5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Mini (6th generation)](https://support.apple.com/kb/SP850) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/1000/IM1097/en_US/ipad-mini-6gen-240.png) case iPadMini6 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Mini (A17 Pro)](https://support.apple.com/en-us/121456) /// /// ![Image](https://cdsassets.apple.com/live/7WUAS350/images/tech-specs/iPad_mini_A17_Pro_Wi-Fi_Lineup_Print__USEN.png) case iPadMiniA17Pro -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Pro 9.7-inch](https://support.apple.com/kb/SP739) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP739/SP739.png) case iPadPro9Inch -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Pro 12-inch](https://support.apple.com/kb/SP723) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP723/SP723-iPad_Pro_2x.png) case iPadPro12Inch -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Pro 12-inch (2nd generation)](https://support.apple.com/kb/SP761) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP761/ipad-pro-12in-hero-201706.png) case iPadPro12Inch2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Pro 10.5-inch](https://support.apple.com/kb/SP762) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP761/ipad-pro-10in-hero-201706.png) case iPadPro10Inch -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Pro 11-inch](https://support.apple.com/kb/SP784) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP784/ipad-pro-11-2018_2x.png) case iPadPro11Inch -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Pro 12.9-inch (3rd generation)](https://support.apple.com/kb/SP785) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP785/ipad-pro-12-2018_2x.png) case iPadPro12Inch3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Pro 11-inch (2nd generation)](https://support.apple.com/kb/SP814) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP814/ipad-pro-11-2020.jpeg) case iPadPro11Inch2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Pro 12.9-inch (4th generation)](https://support.apple.com/kb/SP815) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP815/ipad-pro-12-2020.jpeg) case iPadPro12Inch4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Pro 11-inch (3rd generation)](https://support.apple.com/kb/SP843) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP843/ipad-pro-11_2x.png) case iPadPro11Inch3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Pro 12.9-inch (5th generation)](https://support.apple.com/kb/SP844) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP844/ipad-pro-12-9_2x.png) case iPadPro12Inch5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Pro 11-inch (4th generation)](https://support.apple.com/kb/SP882) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP882/ipad-pro-4gen-mainimage_2x.png) case iPadPro11Inch4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Pro 12.9-inch (6th generation)](https://support.apple.com/kb/SP883) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP882/ipad-pro-4gen-mainimage_2x.png) case iPadPro12Inch6 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Pro 11-inch (M4)](https://support.apple.com/en-us/119892) /// /// ![Image](https://cdsassets.apple.com/content/services/pub/image?productid=301031&size=240x240) case iPadPro11M4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is an [iPad Pro 13-inch (M4)](https://support.apple.com/en-us/119891) /// /// ![Image](https://cdsassets.apple.com/content/services/pub/image?productid=301033&size=240x240) case iPadPro13M4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 390) /// Device is a [HomePod](https://support.apple.com/kb/SP773) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP773/homepod_space_gray_large_2x.jpg) case homePod -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 395) #elseif os(tvOS) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 397) /// Device is an [Apple TV HD](https://support.apple.com/kb/SP724) (Previously Apple TV (4th generation)) /// /// ![Image](http://images.apple.com/v/tv/c/images/overview/buy_tv_large_2x.jpg) case appleTVHD -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 397) /// Device is an [Apple TV 4K](https://support.apple.com/kb/SP769) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP769/appletv4k.png) case appleTV4K -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 397) /// Device is an [Apple TV 4K (2nd generation)](https://support.apple.com/kb/SP845) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/1000/IM1023/en_US/apple-tv-4k-2gen-240.png) case appleTV4K2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 397) /// Device is an [Apple TV 4K (3rd generation)](https://support.apple.com/kb/SP886) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP886/apple-tv-4k-3gen_2x.png) case appleTV4K3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 402) #elseif os(watchOS) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch (1st generation)](https://support.apple.com/kb/SP735) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/0/IM784/en_US/apple_watch_sport-240.png) case appleWatchSeries0_38mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch (1st generation)](https://support.apple.com/kb/SP735) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/0/IM784/en_US/apple_watch_sport-240.png) case appleWatchSeries0_42mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 1](https://support.apple.com/kb/SP745) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/0/IM848/en_US/applewatch-series2-aluminum-temp-240.png) case appleWatchSeries1_38mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 1](https://support.apple.com/kb/SP745) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/0/IM848/en_US/applewatch-series2-aluminum-temp-240.png) case appleWatchSeries1_42mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 2](https://support.apple.com/kb/SP746) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/0/IM852/en_US/applewatch-series2-hermes-240.png) case appleWatchSeries2_38mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 2](https://support.apple.com/kb/SP746) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/0/IM852/en_US/applewatch-series2-hermes-240.png) case appleWatchSeries2_42mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 3](https://support.apple.com/kb/SP766) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/0/IM893/en_US/apple-watch-s3-nikeplus-240.png) case appleWatchSeries3_38mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 3](https://support.apple.com/kb/SP766) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/0/IM893/en_US/apple-watch-s3-nikeplus-240.png) case appleWatchSeries3_42mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 4](https://support.apple.com/kb/SP778) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/0/IM911/en_US/aw-series4-nike-240.png) case appleWatchSeries4_40mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 4](https://support.apple.com/kb/SP778) /// /// ![Image](https://km.support.apple.com/resources/sites/APPLE/content/live/IMAGES/0/IM911/en_US/aw-series4-nike-240.png) case appleWatchSeries4_44mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 5](https://support.apple.com/kb/SP808) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP808/sp808-apple-watch-series-5_2x.png) case appleWatchSeries5_40mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 5](https://support.apple.com/kb/SP808) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP808/sp808-apple-watch-series-5_2x.png) case appleWatchSeries5_44mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 6](https://support.apple.com/kb/SP826) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP826/sp826-apple-watch-series6-580_2x.png) case appleWatchSeries6_40mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 6](https://support.apple.com/kb/SP826) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP826/sp826-apple-watch-series6-580_2x.png) case appleWatchSeries6_44mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch SE](https://support.apple.com/kb/SP827) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP827/sp827-apple-watch-se-580_2x.png) case appleWatchSE_40mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch SE](https://support.apple.com/kb/SP827) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP827/sp827-apple-watch-se-580_2x.png) case appleWatchSE_44mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 7](https://support.apple.com/kb/SP860) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP860/series7-480_2x.png) case appleWatchSeries7_41mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 7](https://support.apple.com/kb/SP860) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP860/series7-480_2x.png) case appleWatchSeries7_45mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 8](https://support.apple.com/kb/SP878) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP878/apple-watch-series8_2x.png) case appleWatchSeries8_41mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 8](https://support.apple.com/kb/SP878) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP878/apple-watch-series8_2x.png) case appleWatchSeries8_45mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch SE (2nd generation)](https://support.apple.com/kb/SP877) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP877/apple-watch-se-2nd-gen_2x.png) case appleWatchSE2_40mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch SE (2nd generation)](https://support.apple.com/kb/SP877) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP877/apple-watch-se-2nd-gen_2x.png) case appleWatchSE2_44mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Ultra](https://support.apple.com/kb/SP879) /// /// ![Image](https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP879/apple-watch-ultra_2x.png) case appleWatchUltra -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 9](https://support.apple.com/kb/SP905) /// /// ![Image]() case appleWatchSeries9_41mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 9](https://support.apple.com/kb/SP905) /// /// ![Image]() case appleWatchSeries9_45mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Ultra2]() /// /// ![Image]() case appleWatchUltra2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 10]() /// /// ![Image]() case appleWatchSeries10_42mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 10]() /// /// ![Image]() case appleWatchSeries10_46mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Ultra 3]() /// /// ![Image]() case appleWatchUltra3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 11]() /// /// ![Image]() case appleWatchSeries11_42mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 404) /// Device is an [Apple Watch Series 11]() /// /// ![Image]() case appleWatchSeries11_46mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 409) #endif /// Device is [Simulator](https://developer.apple.com/library/ios/documentation/IDEs/Conceptual/iOS_Simulator_Guide/Introduction/Introduction.html) @@ -730,273 +598,143 @@ public enum Device { public static func mapToDevice(identifier: String) -> Device { // swiftlint:disable:this cyclomatic_complexity function_body_length #if os(iOS) switch identifier { -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPod5,1": return iPodTouch5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPod7,1": return iPodTouch6 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPod9,1": return iPodTouch7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone3,1", "iPhone3,2", "iPhone3,3": return iPhone4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone4,1": return iPhone4s -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone5,1", "iPhone5,2": return iPhone5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone5,3", "iPhone5,4": return iPhone5c -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone6,1", "iPhone6,2": return iPhone5s -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone7,2": return iPhone6 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone7,1": return iPhone6Plus -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone8,1": return iPhone6s -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone8,2": return iPhone6sPlus -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone9,1", "iPhone9,3": return iPhone7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone9,2", "iPhone9,4": return iPhone7Plus -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone8,4": return iPhoneSE -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone10,1", "iPhone10,4": return iPhone8 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone10,2", "iPhone10,5": return iPhone8Plus -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone10,3", "iPhone10,6": return iPhoneX -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone11,2": return iPhoneXS -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone11,4", "iPhone11,6": return iPhoneXSMax -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone11,8": return iPhoneXR -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone12,1": return iPhone11 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone12,3": return iPhone11Pro -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone12,5": return iPhone11ProMax -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone12,8": return iPhoneSE2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone13,2": return iPhone12 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone13,1": return iPhone12Mini -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone13,3": return iPhone12Pro -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone13,4": return iPhone12ProMax -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone14,5": return iPhone13 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone14,4": return iPhone13Mini -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone14,2": return iPhone13Pro -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone14,3": return iPhone13ProMax -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone14,6": return iPhoneSE3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone14,7": return iPhone14 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone14,8": return iPhone14Plus -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone15,2": return iPhone14Pro -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone15,3": return iPhone14ProMax -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone15,4": return iPhone15 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone15,5": return iPhone15Plus -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone16,1": return iPhone15Pro -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone16,2": return iPhone15ProMax -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone17,3": return iPhone16 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone17,4": return iPhone16Plus -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone17,1": return iPhone16Pro -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone17,2": return iPhone16ProMax -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone17,5": return iPhone16e -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone18,3": return iPhone17 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone18,1": return iPhone17Pro -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone18,2": return iPhone17ProMax -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPhone18,4": return iPhoneAir -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad2,1", "iPad2,2", "iPad2,3", "iPad2,4": return iPad2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad3,1", "iPad3,2", "iPad3,3": return iPad3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad3,4", "iPad3,5", "iPad3,6": return iPad4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad4,1", "iPad4,2", "iPad4,3": return iPadAir -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad5,3", "iPad5,4": return iPadAir2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad6,11", "iPad6,12": return iPad5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad7,5", "iPad7,6": return iPad6 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad11,3", "iPad11,4": return iPadAir3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad7,11", "iPad7,12": return iPad7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad11,6", "iPad11,7": return iPad8 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad12,1", "iPad12,2": return iPad9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad13,18", "iPad13,19": return iPad10 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad15,7", "iPad15,8": return iPadA16 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad13,1", "iPad13,2": return iPadAir4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad13,16", "iPad13,17": return iPadAir5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad14,8", "iPad14,9": return iPadAir11M2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad14,10", "iPad14,11": return iPadAir13M2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad15,3", "iPad15,4": return iPadAir11M3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad15,5", "iPad15,6": return iPadAir13M3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad2,5", "iPad2,6", "iPad2,7": return iPadMini -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad4,4", "iPad4,5", "iPad4,6": return iPadMini2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad4,7", "iPad4,8", "iPad4,9": return iPadMini3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad5,1", "iPad5,2": return iPadMini4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad11,1", "iPad11,2": return iPadMini5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad14,1", "iPad14,2": return iPadMini6 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad16,1", "iPad16,2": return iPadMiniA17Pro -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad6,3", "iPad6,4": return iPadPro9Inch -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad6,7", "iPad6,8": return iPadPro12Inch -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad7,1", "iPad7,2": return iPadPro12Inch2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad7,3", "iPad7,4": return iPadPro10Inch -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad8,1", "iPad8,2", "iPad8,3", "iPad8,4": return iPadPro11Inch -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad8,5", "iPad8,6", "iPad8,7", "iPad8,8": return iPadPro12Inch3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad8,9", "iPad8,10": return iPadPro11Inch2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad8,11", "iPad8,12": return iPadPro12Inch4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad13,4", "iPad13,5", "iPad13,6", "iPad13,7": return iPadPro11Inch3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad13,8", "iPad13,9", "iPad13,10", "iPad13,11": return iPadPro12Inch5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad14,3", "iPad14,4": return iPadPro11Inch4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad14,5", "iPad14,6": return iPadPro12Inch6 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad16,3", "iPad16,4": return iPadPro11M4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "iPad16,5", "iPad16,6": return iPadPro13M4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 448) case "AudioAccessory1,1": return homePod -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 450) case "i386", "x86_64", "arm64": return simulator(mapToDevice(identifier: ProcessInfo().environment["SIMULATOR_MODEL_IDENTIFIER"] ?? "iOS")) default: return unknown(identifier) } #elseif os(tvOS) switch identifier { -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 456) case "AppleTV5,3": return appleTVHD -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 456) case "AppleTV6,2": return appleTV4K -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 456) case "AppleTV11,1": return appleTV4K2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 456) case "AppleTV14,1": return appleTV4K3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 458) case "i386", "x86_64", "arm64": return simulator(mapToDevice(identifier: ProcessInfo().environment["SIMULATOR_MODEL_IDENTIFIER"] ?? "tvOS")) default: return unknown(identifier) } #elseif os(watchOS) switch identifier { -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch1,1": return appleWatchSeries0_38mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch1,2": return appleWatchSeries0_42mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch2,6": return appleWatchSeries1_38mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch2,7": return appleWatchSeries1_42mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch2,3": return appleWatchSeries2_38mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch2,4": return appleWatchSeries2_42mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch3,1", "Watch3,3": return appleWatchSeries3_38mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch3,2", "Watch3,4": return appleWatchSeries3_42mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch4,1", "Watch4,3": return appleWatchSeries4_40mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch4,2", "Watch4,4": return appleWatchSeries4_44mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch5,1", "Watch5,3": return appleWatchSeries5_40mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch5,2", "Watch5,4": return appleWatchSeries5_44mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch6,1", "Watch6,3": return appleWatchSeries6_40mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch6,2", "Watch6,4": return appleWatchSeries6_44mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch5,9", "Watch5,11": return appleWatchSE_40mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch5,10", "Watch5,12": return appleWatchSE_44mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch6,6", "Watch6,8": return appleWatchSeries7_41mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch6,7", "Watch6,9": return appleWatchSeries7_45mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch6,14", "Watch6,16": return appleWatchSeries8_41mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch6,15", "Watch6,17": return appleWatchSeries8_45mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch6,10", "Watch6,12": return appleWatchSE2_40mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch6,11", "Watch6,13": return appleWatchSE2_44mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch6,18": return appleWatchUltra -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch7,1", "Watch7,3": return appleWatchSeries9_41mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch7,2", "Watch7,4": return appleWatchSeries9_45mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch7,5": return appleWatchUltra2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch7,8", "Watch7,10": return appleWatchSeries10_42mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch7,9", "Watch7,11": return appleWatchSeries10_46mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch7,12": return appleWatchUltra3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch7,17", "Watch7,19": return appleWatchSeries11_42mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 464) case "Watch7,18", "Watch7,20": return appleWatchSeries11_46mm -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 466) case "i386", "x86_64", "arm64": return simulator(mapToDevice(identifier: ProcessInfo().environment["SIMULATOR_MODEL_IDENTIFIER"] ?? "watchOS")) default: return unknown(identifier) } @@ -1028,259 +766,134 @@ public enum Device { public var diagonal: Double { #if os(iOS) switch self { -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPodTouch5: return 4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPodTouch6: return 4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPodTouch7: return 4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone4: return 3.5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone4s: return 3.5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone5: return 4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone5c: return 4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone5s: return 4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone6: return 4.7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone6Plus: return 5.5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone6s: return 4.7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone6sPlus: return 5.5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone7: return 4.7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone7Plus: return 5.5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhoneSE: return 4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone8: return 4.7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone8Plus: return 5.5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhoneX: return 5.8 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhoneXS: return 5.8 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhoneXSMax: return 6.5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhoneXR: return 6.1 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone11: return 6.1 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone11Pro: return 5.8 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone11ProMax: return 6.5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhoneSE2: return 4.7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone12: return 6.1 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone12Mini: return 5.4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone12Pro: return 6.1 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone12ProMax: return 6.7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone13: return 6.1 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone13Mini: return 5.4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone13Pro: return 6.1 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone13ProMax: return 6.7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhoneSE3: return 4.7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone14: return 6.1 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone14Plus: return 6.7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone14Pro: return 6.1 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone14ProMax: return 6.7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone15: return 6.1 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone15Plus: return 6.7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone15Pro: return 6.1 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone15ProMax: return 6.7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone16: return 6.1 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone16Plus: return 6.7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone16Pro: return 6.3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone16ProMax: return 6.9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone16e: return 6.1 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone17: return 6.3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone17Pro: return 6.3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhone17ProMax: return 6.9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPhoneAir: return 6.5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPad2: return 9.7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPad3: return 9.7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPad4: return 9.7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadAir: return 9.7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadAir2: return 9.7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPad5: return 9.7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPad6: return 9.7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadAir3: return 10.5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPad7: return 10.2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPad8: return 10.2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPad9: return 10.2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPad10: return 10.9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadA16: return 10.9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadAir4: return 10.9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadAir5: return 10.9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadAir11M2: return 10.9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadAir13M2: return 12.9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadAir11M3: return 10.9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadAir13M3: return 12.9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadMini: return 7.9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadMini2: return 7.9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadMini3: return 7.9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadMini4: return 7.9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadMini5: return 7.9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadMini6: return 8.3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadMiniA17Pro: return 8.3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadPro9Inch: return 9.7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadPro12Inch: return 12.9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadPro12Inch2: return 12.9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadPro10Inch: return 10.5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadPro11Inch: return 11.0 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadPro12Inch3: return 12.9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadPro11Inch2: return 11.0 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadPro12Inch4: return 12.9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadPro11Inch3: return 11.0 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadPro12Inch5: return 12.9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadPro11Inch4: return 11.0 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadPro12Inch6: return 12.9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadPro11M4: return 11.0 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .iPadPro13M4: return 13.0 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 498) case .homePod: return -1 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 500) case .simulator(let model): return model.diagonal case .unknown: return -1 } #elseif os(watchOS) switch self { -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries0_38mm: return 1.5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries0_42mm: return 1.6 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries1_38mm: return 1.5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries1_42mm: return 1.6 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries2_38mm: return 1.5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries2_42mm: return 1.6 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries3_38mm: return 1.5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries3_42mm: return 1.6 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries4_40mm: return 1.8 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries4_44mm: return 2.0 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries5_40mm: return 1.8 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries5_44mm: return 2.0 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries6_40mm: return 1.8 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries6_44mm: return 2.0 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSE_40mm: return 1.8 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSE_44mm: return 2.0 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries7_41mm: return 1.8 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries7_45mm: return 2.0 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries8_41mm: return 1.8 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries8_45mm: return 2.0 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSE2_40mm: return 1.8 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSE2_44mm: return 2.0 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchUltra: return 2.2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries9_41mm: return 1.9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries9_45mm: return 2.0 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchUltra2: return 2.2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries10_42mm: return 1.9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries10_46mm: return 2.0 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchUltra3: return 2.2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries11_42mm: return 1.9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 506) case .appleWatchSeries11_46mm: return 2.0 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 508) case .simulator(let model): return model.diagonal case .unknown: return -1 } @@ -1292,259 +905,134 @@ public enum Device { public var screenRatio: (width: Double, height: Double) { #if os(iOS) switch self { -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPodTouch5: return (width: 9, height: 16) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPodTouch6: return (width: 9, height: 16) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPodTouch7: return (width: 9, height: 16) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone4: return (width: 2, height: 3) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone4s: return (width: 2, height: 3) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone5: return (width: 9, height: 16) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone5c: return (width: 9, height: 16) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone5s: return (width: 9, height: 16) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone6: return (width: 9, height: 16) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone6Plus: return (width: 9, height: 16) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone6s: return (width: 9, height: 16) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone6sPlus: return (width: 9, height: 16) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone7: return (width: 9, height: 16) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone7Plus: return (width: 9, height: 16) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhoneSE: return (width: 9, height: 16) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone8: return (width: 9, height: 16) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone8Plus: return (width: 9, height: 16) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhoneX: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhoneXS: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhoneXSMax: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhoneXR: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone11: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone11Pro: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone11ProMax: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhoneSE2: return (width: 9, height: 16) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone12: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone12Mini: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone12Pro: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone12ProMax: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone13: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone13Mini: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone13Pro: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone13ProMax: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhoneSE3: return (width: 9, height: 16) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone14: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone14Plus: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone14Pro: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone14ProMax: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone15: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone15Plus: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone15Pro: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone15ProMax: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone16: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone16Plus: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone16Pro: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone16ProMax: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone16e: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone17: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone17Pro: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhone17ProMax: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPhoneAir: return (width: 9, height: 19.5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPad2: return (width: 3, height: 4) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPad3: return (width: 3, height: 4) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPad4: return (width: 3, height: 4) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadAir: return (width: 3, height: 4) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadAir2: return (width: 3, height: 4) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPad5: return (width: 3, height: 4) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPad6: return (width: 3, height: 4) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadAir3: return (width: 3, height: 4) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPad7: return (width: 3, height: 4) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPad8: return (width: 3, height: 4) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPad9: return (width: 3, height: 4) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPad10: return (width: 41, height: 59) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadA16: return (width: 41, height: 59) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadAir4: return (width: 41, height: 59) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadAir5: return (width: 41, height: 59) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadAir11M2: return (width: 59, height: 41) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadAir13M2: return (width: 683, height: 512) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadAir11M3: return (width: 59, height: 41) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadAir13M3: return (width: 683, height: 512) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadMini: return (width: 3, height: 4) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadMini2: return (width: 3, height: 4) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadMini3: return (width: 3, height: 4) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadMini4: return (width: 3, height: 4) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadMini5: return (width: 3, height: 4) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadMini6: return (width: 744, height: 1133) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadMiniA17Pro: return (width: 744, height: 1133) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadPro9Inch: return (width: 3, height: 4) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadPro12Inch: return (width: 3, height: 4) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadPro12Inch2: return (width: 3, height: 4) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadPro10Inch: return (width: 3, height: 4) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadPro11Inch: return (width: 139, height: 199) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadPro12Inch3: return (width: 512, height: 683) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadPro11Inch2: return (width: 139, height: 199) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadPro12Inch4: return (width: 512, height: 683) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadPro11Inch3: return (width: 139, height: 199) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadPro12Inch5: return (width: 512, height: 683) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadPro11Inch4: return (width: 139, height: 199) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadPro12Inch6: return (width: 512, height: 683) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadPro11M4: return (width: 605, height: 417) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .iPadPro13M4: return (width: 4, height: 3) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 520) case .homePod: return (width: 4, height: 5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 522) case .simulator(let model): return model.screenRatio case .unknown: return (width: -1, height: -1) } #elseif os(watchOS) switch self { -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries0_38mm: return (width: 4, height: 5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries0_42mm: return (width: 4, height: 5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries1_38mm: return (width: 4, height: 5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries1_42mm: return (width: 4, height: 5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries2_38mm: return (width: 4, height: 5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries2_42mm: return (width: 4, height: 5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries3_38mm: return (width: 4, height: 5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries3_42mm: return (width: 4, height: 5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries4_40mm: return (width: 4, height: 5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries4_44mm: return (width: 4, height: 5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries5_40mm: return (width: 4, height: 5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries5_44mm: return (width: 4, height: 5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries6_40mm: return (width: 4, height: 5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries6_44mm: return (width: 4, height: 5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSE_40mm: return (width: 4, height: 5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSE_44mm: return (width: 4, height: 5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries7_41mm: return (width: 4, height: 5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries7_45mm: return (width: 4, height: 5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries8_41mm: return (width: 4, height: 5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries8_45mm: return (width: 4, height: 5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSE2_40mm: return (width: 4, height: 5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSE2_44mm: return (width: 4, height: 5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchUltra: return (width: 4, height: 5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries9_41mm: return (width: 4, height: 5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries9_45mm: return (width: 4, height: 5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchUltra2: return (width: 4, height: 5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries10_42mm: return (width: 374, height: 446) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries10_46mm: return (width: 416, height: 496) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchUltra3: return (width: 4, height: 5) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries11_42mm: return (width: 374, height: 446) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 528) case .appleWatchSeries11_46mm: return (width: 416, height: 496) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 530) case .simulator(let model): return model.screenRatio case .unknown: return (width: -1, height: -1) } @@ -1958,259 +1446,134 @@ public enum Device { public var ppi: Int? { #if os(iOS) switch self { -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPodTouch5: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPodTouch6: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPodTouch7: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone4: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone4s: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone5: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone5c: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone5s: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone6: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone6Plus: return 401 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone6s: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone6sPlus: return 401 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone7: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone7Plus: return 401 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhoneSE: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone8: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone8Plus: return 401 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhoneX: return 458 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhoneXS: return 458 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhoneXSMax: return 458 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhoneXR: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone11: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone11Pro: return 458 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone11ProMax: return 458 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhoneSE2: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone12: return 460 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone12Mini: return 476 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone12Pro: return 460 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone12ProMax: return 458 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone13: return 460 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone13Mini: return 476 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone13Pro: return 460 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone13ProMax: return 458 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhoneSE3: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone14: return 460 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone14Plus: return 458 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone14Pro: return 460 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone14ProMax: return 458 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone15: return 460 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone15Plus: return 460 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone15Pro: return 460 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone15ProMax: return 460 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone16: return 460 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone16Plus: return 460 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone16Pro: return 460 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone16ProMax: return 460 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone16e: return 460 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone17: return 460 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone17Pro: return 460 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhone17ProMax: return 460 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPhoneAir: return 460 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPad2: return 132 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPad3: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPad4: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadAir: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadAir2: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPad5: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPad6: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadAir3: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPad7: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPad8: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPad9: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPad10: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadA16: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadAir4: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadAir5: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadAir11M2: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadAir13M2: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadAir11M3: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadAir13M3: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadMini: return 163 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadMini2: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadMini3: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadMini4: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadMini5: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadMini6: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadMiniA17Pro: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadPro9Inch: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadPro12Inch: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadPro12Inch2: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadPro10Inch: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadPro11Inch: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadPro12Inch3: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadPro11Inch2: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadPro12Inch4: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadPro11Inch3: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadPro12Inch5: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadPro11Inch4: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadPro12Inch6: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadPro11M4: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .iPadPro13M4: return 264 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 944) case .homePod: return -1 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 946) case .simulator(let model): return model.ppi case .unknown: return nil } #elseif os(watchOS) switch self { -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries0_38mm: return 290 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries0_42mm: return 303 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries1_38mm: return 290 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries1_42mm: return 303 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries2_38mm: return 290 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries2_42mm: return 303 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries3_38mm: return 290 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries3_42mm: return 303 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries4_40mm: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries4_44mm: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries5_40mm: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries5_44mm: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries6_40mm: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries6_44mm: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSE_40mm: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSE_44mm: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries7_41mm: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries7_45mm: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries8_41mm: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries8_45mm: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSE2_40mm: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSE2_44mm: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchUltra: return 338 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries9_41mm: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries9_45mm: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchUltra2: return 338 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries10_42mm: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries10_46mm: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchUltra3: return 338 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries11_42mm: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 952) case .appleWatchSeries11_46mm: return 326 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 954) case .simulator(let model): return model.ppi case .unknown: return nil } @@ -2254,273 +1617,143 @@ extension Device: CustomStringConvertible { public var description: String { #if os(iOS) switch self { -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPodTouch5: return "iPod touch (5th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPodTouch6: return "iPod touch (6th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPodTouch7: return "iPod touch (7th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone4: return "iPhone 4" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone4s: return "iPhone 4s" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone5: return "iPhone 5" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone5c: return "iPhone 5c" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone5s: return "iPhone 5s" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone6: return "iPhone 6" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone6Plus: return "iPhone 6 Plus" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone6s: return "iPhone 6s" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone6sPlus: return "iPhone 6s Plus" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone7: return "iPhone 7" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone7Plus: return "iPhone 7 Plus" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhoneSE: return "iPhone SE" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone8: return "iPhone 8" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone8Plus: return "iPhone 8 Plus" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhoneX: return "iPhone X" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhoneXS: return "iPhone Xs" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhoneXSMax: return "iPhone Xs Max" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhoneXR: return "iPhone Xʀ" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone11: return "iPhone 11" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone11Pro: return "iPhone 11 Pro" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone11ProMax: return "iPhone 11 Pro Max" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhoneSE2: return "iPhone SE (2nd generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone12: return "iPhone 12" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone12Mini: return "iPhone 12 mini" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone12Pro: return "iPhone 12 Pro" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone12ProMax: return "iPhone 12 Pro Max" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone13: return "iPhone 13" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone13Mini: return "iPhone 13 mini" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone13Pro: return "iPhone 13 Pro" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone13ProMax: return "iPhone 13 Pro Max" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhoneSE3: return "iPhone SE (3rd generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone14: return "iPhone 14" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone14Plus: return "iPhone 14 Plus" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone14Pro: return "iPhone 14 Pro" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone14ProMax: return "iPhone 14 Pro Max" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone15: return "iPhone 15" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone15Plus: return "iPhone 15 Plus" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone15Pro: return "iPhone 15 Pro" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone15ProMax: return "iPhone 15 Pro Max" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone16: return "iPhone 16" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone16Plus: return "iPhone 16 Plus" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone16Pro: return "iPhone 16 Pro" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone16ProMax: return "iPhone 16 Pro Max" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone16e: return "iPhone 16e" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone17: return "iPhone 17" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone17Pro: return "iPhone 17 Pro" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhone17ProMax: return "iPhone 17 Pro Max" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPhoneAir: return "iPhone Air" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPad2: return "iPad 2" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPad3: return "iPad (3rd generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPad4: return "iPad (4th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadAir: return "iPad Air" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadAir2: return "iPad Air 2" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPad5: return "iPad (5th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPad6: return "iPad (6th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadAir3: return "iPad Air (3rd generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPad7: return "iPad (7th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPad8: return "iPad (8th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPad9: return "iPad (9th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPad10: return "iPad (10th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadA16: return "iPad (A16)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadAir4: return "iPad Air (4th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadAir5: return "iPad Air (5th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadAir11M2: return "iPad Air (11-inch) (M2)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadAir13M2: return "iPad Air (13-inch) (M2)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadAir11M3: return "iPad Air (11-inch) (M3)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadAir13M3: return "iPad Air (13-inch) (M3)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadMini: return "iPad Mini" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadMini2: return "iPad Mini 2" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadMini3: return "iPad Mini 3" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadMini4: return "iPad Mini 4" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadMini5: return "iPad Mini (5th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadMini6: return "iPad Mini (6th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadMiniA17Pro: return "iPad Mini (A17 Pro)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadPro9Inch: return "iPad Pro (9.7-inch)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadPro12Inch: return "iPad Pro (12.9-inch)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadPro12Inch2: return "iPad Pro (12.9-inch) (2nd generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadPro10Inch: return "iPad Pro (10.5-inch)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadPro11Inch: return "iPad Pro (11-inch)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadPro12Inch3: return "iPad Pro (12.9-inch) (3rd generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadPro11Inch2: return "iPad Pro (11-inch) (2nd generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadPro12Inch4: return "iPad Pro (12.9-inch) (4th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadPro11Inch3: return "iPad Pro (11-inch) (3rd generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadPro12Inch5: return "iPad Pro (12.9-inch) (5th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadPro11Inch4: return "iPad Pro (11-inch) (4th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadPro12Inch6: return "iPad Pro (12.9-inch) (6th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadPro11M4: return "iPad Pro (11-inch) (M4)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .iPadPro13M4: return "iPad Pro (13-inch) (M4)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 998) case .homePod: return "HomePod" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1000) case .simulator(let model): return "Simulator (\(model.description))" case .unknown(let identifier): return identifier } #elseif os(watchOS) switch self { -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries0_38mm: return "Apple Watch (1st generation) 38mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries0_42mm: return "Apple Watch (1st generation) 42mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries1_38mm: return "Apple Watch Series 1 38mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries1_42mm: return "Apple Watch Series 1 42mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries2_38mm: return "Apple Watch Series 2 38mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries2_42mm: return "Apple Watch Series 2 42mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries3_38mm: return "Apple Watch Series 3 38mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries3_42mm: return "Apple Watch Series 3 42mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries4_40mm: return "Apple Watch Series 4 40mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries4_44mm: return "Apple Watch Series 4 44mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries5_40mm: return "Apple Watch Series 5 40mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries5_44mm: return "Apple Watch Series 5 44mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries6_40mm: return "Apple Watch Series 6 40mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries6_44mm: return "Apple Watch Series 6 44mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSE_40mm: return "Apple Watch SE 40mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSE_44mm: return "Apple Watch SE 44mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries7_41mm: return "Apple Watch Series 7 41mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries7_45mm: return "Apple Watch Series 7 45mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries8_41mm: return "Apple Watch Series 8 41mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries8_45mm: return "Apple Watch Series 8 45mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSE2_40mm: return "Apple Watch SE (2nd generation) 40mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSE2_44mm: return "Apple Watch SE (2nd generation) 44mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchUltra: return "Apple Watch Ultra" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries9_41mm: return "Apple Watch Series 9 41mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries9_45mm: return "Apple Watch Series 9 45mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchUltra2: return "Apple Watch Ultra2" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries10_42mm: return "Apple Watch Series 10 42mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries10_46mm: return "Apple Watch Series 10 46mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchUltra3: return "Apple Watch Ultra 3" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries11_42mm: return "Apple Watch Series 11 42mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1006) case .appleWatchSeries11_46mm: return "Apple Watch Series 11 46mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1008) case .simulator(let model): return "Simulator (\(model.description))" case .unknown(let identifier): return identifier } #elseif os(tvOS) switch self { -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1014) case .appleTVHD: return "Apple TV HD" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1014) case .appleTV4K: return "Apple TV 4K" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1014) case .appleTV4K2: return "Apple TV 4K (2nd generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1014) case .appleTV4K3: return "Apple TV 4K (3rd generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1016) case .simulator(let model): return "Simulator (\(model.description))" case .unknown(let identifier): return identifier } @@ -2542,273 +1775,143 @@ extension Device: CustomStringConvertible { public var safeDescription: String { #if os(iOS) switch self { -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPodTouch5: return "iPod touch (5th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPodTouch6: return "iPod touch (6th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPodTouch7: return "iPod touch (7th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone4: return "iPhone 4" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone4s: return "iPhone 4s" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone5: return "iPhone 5" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone5c: return "iPhone 5c" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone5s: return "iPhone 5s" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone6: return "iPhone 6" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone6Plus: return "iPhone 6 Plus" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone6s: return "iPhone 6s" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone6sPlus: return "iPhone 6s Plus" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone7: return "iPhone 7" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone7Plus: return "iPhone 7 Plus" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhoneSE: return "iPhone SE" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone8: return "iPhone 8" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone8Plus: return "iPhone 8 Plus" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhoneX: return "iPhone X" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhoneXS: return "iPhone XS" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhoneXSMax: return "iPhone XS Max" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhoneXR: return "iPhone XR" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone11: return "iPhone 11" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone11Pro: return "iPhone 11 Pro" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone11ProMax: return "iPhone 11 Pro Max" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhoneSE2: return "iPhone SE (2nd generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone12: return "iPhone 12" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone12Mini: return "iPhone 12 mini" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone12Pro: return "iPhone 12 Pro" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone12ProMax: return "iPhone 12 Pro Max" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone13: return "iPhone 13" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone13Mini: return "iPhone 13 mini" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone13Pro: return "iPhone 13 Pro" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone13ProMax: return "iPhone 13 Pro Max" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhoneSE3: return "iPhone SE (3rd generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone14: return "iPhone 14" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone14Plus: return "iPhone 14 Plus" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone14Pro: return "iPhone 14 Pro" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone14ProMax: return "iPhone 14 Pro Max" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone15: return "iPhone 15" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone15Plus: return "iPhone 15 Plus" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone15Pro: return "iPhone 15 Pro" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone15ProMax: return "iPhone 15 Pro Max" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone16: return "iPhone 16" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone16Plus: return "iPhone 16 Plus" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone16Pro: return "iPhone 16 Pro" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone16ProMax: return "iPhone 16 Pro Max" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone16e: return "iPhone 16e" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone17: return "iPhone 17" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone17Pro: return "iPhone 17 Pro" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhone17ProMax: return "iPhone 17 Pro Max" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPhoneAir: return "iPhone Air" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPad2: return "iPad 2" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPad3: return "iPad (3rd generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPad4: return "iPad (4th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadAir: return "iPad Air" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadAir2: return "iPad Air 2" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPad5: return "iPad (5th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPad6: return "iPad (6th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadAir3: return "iPad Air (3rd generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPad7: return "iPad (7th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPad8: return "iPad (8th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPad9: return "iPad (9th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPad10: return "iPad (10th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadA16: return "iPad (A16)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadAir4: return "iPad Air (4th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadAir5: return "iPad Air (5th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadAir11M2: return "iPad Air (11-inch) (M2)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadAir13M2: return "iPad Air (13-inch) (M2)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadAir11M3: return "iPad Air (11-inch) (M3)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadAir13M3: return "iPad Air (13-inch) (M3)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadMini: return "iPad Mini" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadMini2: return "iPad Mini 2" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadMini3: return "iPad Mini 3" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadMini4: return "iPad Mini 4" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadMini5: return "iPad Mini (5th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadMini6: return "iPad Mini (6th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadMiniA17Pro: return "iPad Mini (A17 Pro)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadPro9Inch: return "iPad Pro (9.7-inch)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadPro12Inch: return "iPad Pro (12.9-inch)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadPro12Inch2: return "iPad Pro (12.9-inch) (2nd generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadPro10Inch: return "iPad Pro (10.5-inch)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadPro11Inch: return "iPad Pro (11-inch)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadPro12Inch3: return "iPad Pro (12.9-inch) (3rd generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadPro11Inch2: return "iPad Pro (11-inch) (2nd generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadPro12Inch4: return "iPad Pro (12.9-inch) (4th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadPro11Inch3: return "iPad Pro (11-inch) (3rd generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadPro12Inch5: return "iPad Pro (12.9-inch) (5th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadPro11Inch4: return "iPad Pro (11-inch) (4th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadPro12Inch6: return "iPad Pro (12.9-inch) (6th generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadPro11M4: return "iPad Pro (11-inch) (M4)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .iPadPro13M4: return "iPad Pro (13-inch) (M4)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1038) case .homePod: return "HomePod" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1040) case .simulator(let model): return "Simulator (\(model.safeDescription))" case .unknown(let identifier): return identifier } #elseif os(watchOS) switch self { -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries0_38mm: return "Apple Watch (1st generation) 38mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries0_42mm: return "Apple Watch (1st generation) 42mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries1_38mm: return "Apple Watch Series 1 38mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries1_42mm: return "Apple Watch Series 1 42mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries2_38mm: return "Apple Watch Series 2 38mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries2_42mm: return "Apple Watch Series 2 42mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries3_38mm: return "Apple Watch Series 3 38mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries3_42mm: return "Apple Watch Series 3 42mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries4_40mm: return "Apple Watch Series 4 40mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries4_44mm: return "Apple Watch Series 4 44mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries5_40mm: return "Apple Watch Series 5 40mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries5_44mm: return "Apple Watch Series 5 44mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries6_40mm: return "Apple Watch Series 6 40mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries6_44mm: return "Apple Watch Series 6 44mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSE_40mm: return "Apple Watch SE 40mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSE_44mm: return "Apple Watch SE 44mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries7_41mm: return "Apple Watch Series 7 41mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries7_45mm: return "Apple Watch Series 7 45mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries8_41mm: return "Apple Watch Series 8 41mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries8_45mm: return "Apple Watch Series 8 45mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSE2_40mm: return "Apple Watch SE (2nd generation) 40mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSE2_44mm: return "Apple Watch SE (2nd generation) 44mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchUltra: return "Apple Watch Ultra" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries9_41mm: return "Apple Watch Series 9 41mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries9_45mm: return "Apple Watch Series 9 45mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchUltra2: return "Apple Watch Ultra2" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries10_42mm: return "Apple Watch Series 10 42mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries10_46mm: return "Apple Watch Series 10 46mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchUltra3: return "Apple Watch Ultra 3" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries11_42mm: return "Apple Watch Series 11 42mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1046) case .appleWatchSeries11_46mm: return "Apple Watch Series 11 46mm" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1048) case .simulator(let model): return "Simulator (\(model.safeDescription))" case .unknown(let identifier): return identifier } #elseif os(tvOS) switch self { -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1054) case .appleTVHD: return "Apple TV HD" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1054) case .appleTV4K: return "Apple TV 4K" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1054) case .appleTV4K2: return "Apple TV 4K (2nd generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1054) case .appleTV4K3: return "Apple TV 4K (3rd generation)" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1056) case .simulator(let model): return "Simulator (\(model.safeDescription))" case .unknown(let identifier): return identifier } @@ -3086,67 +2189,36 @@ extension Device { /// Returns supported version of the Apple Pencil public var applePencilSupport: ApplePencilSupport { switch self { -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1334) case .iPad6: return .firstGeneration -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1334) case .iPadAir3: return .firstGeneration -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1334) case .iPad7: return .firstGeneration -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1334) case .iPad8: return .firstGeneration -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1334) case .iPad9: return .firstGeneration -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1334) case .iPadMini5: return .firstGeneration -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1334) case .iPadPro9Inch: return .firstGeneration -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1334) case .iPadPro12Inch: return .firstGeneration -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1334) case .iPadPro12Inch2: return .firstGeneration -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1334) case .iPadPro10Inch: return .firstGeneration -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1340) case .iPad10: return .firstGenerationUsbC -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1340) case .iPadA16: return .firstGenerationUsbC -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1346) case .iPadAir4: return [.secondGeneration, .firstGenerationUsbC] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1346) case .iPadAir5: return [.secondGeneration, .firstGenerationUsbC] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1346) case .iPadMini6: return [.secondGeneration, .firstGenerationUsbC] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1346) case .iPadPro11Inch: return [.secondGeneration, .firstGenerationUsbC] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1346) case .iPadPro12Inch3: return [.secondGeneration, .firstGenerationUsbC] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1346) case .iPadPro11Inch2: return [.secondGeneration, .firstGenerationUsbC] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1346) case .iPadPro12Inch4: return [.secondGeneration, .firstGenerationUsbC] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1346) case .iPadPro11Inch3: return [.secondGeneration, .firstGenerationUsbC] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1346) case .iPadPro12Inch5: return [.secondGeneration, .firstGenerationUsbC] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1346) case .iPadPro11Inch4: return [.secondGeneration, .firstGenerationUsbC] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1346) case .iPadPro12Inch6: return [.secondGeneration, .firstGenerationUsbC] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1349) case .iPadPro11M4: return [.secondGeneration, .firstGenerationUsbC, .pro] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1349) case .iPadPro13M4: return [.secondGeneration, .firstGenerationUsbC, .pro] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1352) case .iPadAir11M2: return [.secondGeneration, .pro] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1352) case .iPadAir13M2: return [.secondGeneration, .pro] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1352) case .iPadAir11M3: return [.secondGeneration, .pro] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1352) case .iPadAir13M3: return [.secondGeneration, .pro] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1355) case .iPadMiniA17Pro: return [.firstGenerationUsbC, .pro] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1357) case .simulator(let model): return model.applePencilSupport default: return [] } @@ -3170,189 +2242,97 @@ extension Device { /// Returns an array of the types of cameras the device has public var cameras: [CameraType] { switch self { -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPodTouch5: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPodTouch6: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPodTouch7: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhone4: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhone4s: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhone5: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhone5c: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhone5s: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhone6: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhone6Plus: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhone6s: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhone6sPlus: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhone7: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhoneSE: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhone8: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhoneXR: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhoneSE2: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhoneSE3: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPhone16e: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPad2: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPad3: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPad4: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadAir: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadAir2: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPad5: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPad6: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadAir3: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPad7: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPad8: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPad9: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPad10: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadA16: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadAir4: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadAir5: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadAir11M2: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadAir13M2: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadAir11M3: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadAir13M3: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadMini: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadMini2: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadMini3: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadMini4: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadMini5: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadMini6: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadMiniA17Pro: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadPro9Inch: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadPro12Inch: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadPro12Inch2: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadPro10Inch: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadPro11Inch: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadPro12Inch3: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadPro11M4: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1381) case .iPadPro13M4: return [.wide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1390) case .iPhone7Plus: return [.wide, .telephoto] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1390) case .iPhone8Plus: return [.wide, .telephoto] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1390) case .iPhoneX: return [.wide, .telephoto] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1390) case .iPhoneXS: return [.wide, .telephoto] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1390) case .iPhoneXSMax: return [.wide, .telephoto] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPhone11: return [.wide, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPhone12: return [.wide, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPhone12Mini: return [.wide, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPhone13: return [.wide, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPhone13Mini: return [.wide, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPhone14: return [.wide, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPhone14Plus: return [.wide, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPhone15: return [.wide, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPhone15Plus: return [.wide, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPhone16: return [.wide, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPhone16Plus: return [.wide, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPhone17: return [.wide, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPhoneAir: return [.wide, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPadPro11Inch2: return [.wide, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPadPro12Inch4: return [.wide, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPadPro11Inch3: return [.wide, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPadPro12Inch5: return [.wide, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPadPro11Inch4: return [.wide, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1393) case .iPadPro12Inch6: return [.wide, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1399) case .iPhone11Pro: return [.wide, .telephoto, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1399) case .iPhone11ProMax: return [.wide, .telephoto, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1399) case .iPhone12Pro: return [.wide, .telephoto, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1399) case .iPhone12ProMax: return [.wide, .telephoto, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1399) case .iPhone13Pro: return [.wide, .telephoto, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1399) case .iPhone13ProMax: return [.wide, .telephoto, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1399) case .iPhone14Pro: return [.wide, .telephoto, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1399) case .iPhone14ProMax: return [.wide, .telephoto, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1399) case .iPhone15Pro: return [.wide, .telephoto, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1399) case .iPhone15ProMax: return [.wide, .telephoto, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1399) case .iPhone16Pro: return [.wide, .telephoto, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1399) case .iPhone16ProMax: return [.wide, .telephoto, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1399) case .iPhone17Pro: return [.wide, .telephoto, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1399) case .iPhone17ProMax: return [.wide, .telephoto, .ultraWide] -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1401) default: return [] } } @@ -3445,95 +2425,52 @@ extension Device { } // MARK: CPU -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1546) extension Device { public enum CPU: Comparable { #if os(iOS) || os(tvOS) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a5X -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a6 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a6X -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a8 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a8X -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a9X -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a10Fusion -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a10XFusion -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a11Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a12Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a12XBionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a12ZBionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a13Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a14Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a15Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a16Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a17Pro -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a18 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a18Pro -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a19 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case a19Pro -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case m1 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case m2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case m3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1552) case m4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1554) #elseif os(watchOS) -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1556) case s1 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1556) case s1P -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1556) case s2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1556) case s3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1556) case s4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1556) case s5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1556) case s6 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1556) case s7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1556) case s8 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1556) case s9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1556) case s10 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1558) #endif case unknown } @@ -3542,273 +2479,143 @@ extension Device { public var cpu: CPU { #if os(iOS) switch self { -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPodTouch5: return .a5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPodTouch6: return .a8 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPodTouch7: return .a10Fusion -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone4: return .a4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone4s: return .a5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone5: return .a6 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone5c: return .a6 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone5s: return .a7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone6: return .a8 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone6Plus: return .a8 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone6s: return .a9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone6sPlus: return .a9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone7: return .a10Fusion -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone7Plus: return .a10Fusion -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhoneSE: return .a9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone8: return .a11Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone8Plus: return .a11Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhoneX: return .a11Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhoneXS: return .a12Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhoneXSMax: return .a12Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhoneXR: return .a12Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone11: return .a13Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone11Pro: return .a13Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone11ProMax: return .a13Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhoneSE2: return .a13Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone12: return .a14Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone12Mini: return .a14Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone12Pro: return .a14Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone12ProMax: return .a14Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone13: return .a15Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone13Mini: return .a15Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone13Pro: return .a15Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone13ProMax: return .a15Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhoneSE3: return .a15Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone14: return .a15Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone14Plus: return .a15Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone14Pro: return .a16Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone14ProMax: return .a16Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone15: return .a16Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone15Plus: return .a16Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone15Pro: return .a17Pro -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone15ProMax: return .a17Pro -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone16: return .a18 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone16Plus: return .a18 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone16Pro: return .a18Pro -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone16ProMax: return .a18Pro -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone16e: return .a18 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone17: return .a19 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone17Pro: return .a19Pro -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhone17ProMax: return .a19Pro -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPhoneAir: return .a19Pro -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPad2: return .a5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPad3: return .a5X -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPad4: return .a6X -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadAir: return .a7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadAir2: return .a8X -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPad5: return .a9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPad6: return .a10Fusion -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadAir3: return .a12Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPad7: return .a10Fusion -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPad8: return .a12Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPad9: return .a13Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPad10: return .a14Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadA16: return .a16Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadAir4: return .a14Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadAir5: return .m1 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadAir11M2: return .m2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadAir13M2: return .m2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadAir11M3: return .m3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadAir13M3: return .m3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadMini: return .a5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadMini2: return .a7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadMini3: return .a7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadMini4: return .a8 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadMini5: return .a12Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadMini6: return .a15Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadMiniA17Pro: return .a17Pro -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadPro9Inch: return .a9X -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadPro12Inch: return .a9X -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadPro12Inch2: return .a10XFusion -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadPro10Inch: return .a10XFusion -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadPro11Inch: return .a12XBionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadPro12Inch3: return .a12XBionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadPro11Inch2: return .a12ZBionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadPro12Inch4: return .a12ZBionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadPro11Inch3: return .m1 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadPro12Inch5: return .m1 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadPro11Inch4: return .m2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadPro12Inch6: return .m2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadPro11M4: return .m4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .iPadPro13M4: return .m4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1567) case .homePod: return .a8 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1569) case .simulator(let model): return model.cpu case .unknown: return .unknown } #elseif os(watchOS) switch self { -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries0_38mm: return .s1 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries0_42mm: return .s1 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries1_38mm: return .s1P -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries1_42mm: return .s1P -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries2_38mm: return .s2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries2_42mm: return .s2 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries3_38mm: return .s3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries3_42mm: return .s3 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries4_40mm: return .s4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries4_44mm: return .s4 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries5_40mm: return .s5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries5_44mm: return .s5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries6_40mm: return .s6 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries6_44mm: return .s6 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSE_40mm: return .s5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSE_44mm: return .s5 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries7_41mm: return .s7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries7_45mm: return .s7 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries8_41mm: return .s8 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries8_45mm: return .s8 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSE2_40mm: return .s8 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSE2_44mm: return .s8 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchUltra: return .s8 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries9_41mm: return .s9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries9_45mm: return .s9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchUltra2: return .s9 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries10_42mm: return .s10 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries10_46mm: return .s10 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchUltra3: return .s10 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries11_42mm: return .s10 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1575) case .appleWatchSeries11_46mm: return .s10 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1577) case .simulator(let model): return model.cpu case .unknown: return .unknown } #elseif os(tvOS) switch self { -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1583) case .appleTVHD: return .a8 -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1583) case .appleTV4K: return .a10XFusion -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1583) case .appleTV4K2: return .a12Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1583) case .appleTV4K3: return .a15Bionic -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1585) case .simulator(let model): return model.cpu case .unknown: return .unknown } @@ -3827,92 +2634,50 @@ extension Device.CPU: CustomStringConvertible { public var description: String { #if os(iOS) || os(tvOS) switch self { -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a4: return "A4" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a5: return "A5" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a5X: return "A5X" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a6: return "A6" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a6X: return "A6X" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a7: return "A7" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a8: return "A8" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a8X: return "A8X" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a9: return "A9" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a9X: return "A9X" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a10Fusion: return "A10 Fusion" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a10XFusion: return "A10X Fusion" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a11Bionic: return "A11 Bionic" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a12Bionic: return "A12 Bionic" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a12XBionic: return "A12X Bionic" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a12ZBionic: return "A12Z Bionic" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a13Bionic: return "A13 Bionic" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a14Bionic: return "A14 Bionic" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a15Bionic: return "A15 Bionic" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a16Bionic: return "A16 Bionic" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a17Pro: return "A17 Pro" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a18: return "A18" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a18Pro: return "A18 Pro" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a19: return "A19" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .a19Pro: return "A19 Pro" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .m1: return "M1" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .m2: return "M2" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .m3: return "M3" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1604) case .m4: return "M4" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1606) case .unknown: return "unknown" } #elseif os(watchOS) switch self { -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1611) case .s1: return "S1" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1611) case .s1P: return "S1P" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1611) case .s2: return "S2" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1611) case .s3: return "S3" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1611) case .s4: return "S4" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1611) case .s5: return "S5" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1611) case .s6: return "S6" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1611) case .s7: return "S7" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1611) case .s8: return "S8" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1611) case .s9: return "S9" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1611) case .s10: return "S10" -// ###sourceLocation(file: "/home/runner/work/DeviceKit/DeviceKit/Source/Device.swift.gyb", line: 1613) case .unknown: return "unknown" } #elseif os(visionOS) From cab5466cf926c018928d5e06f6c242ed10dadbf9 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Fri, 3 Oct 2025 14:49:58 +0000 Subject: [PATCH 4/4] Restrict advanced volume capacity properties to iOS only, keep basic properties for both iOS and tvOS Co-authored-by: Zandor300 <6069593+Zandor300@users.noreply.github.com> --- Source/Device.generated.swift | 10 +++++++--- Source/Device.swift.gyb | 10 +++++++--- Tests/Tests.swift | 8 +++++--- 3 files changed, 19 insertions(+), 9 deletions(-) diff --git a/Source/Device.generated.swift b/Source/Device.generated.swift index 94b6c83..d8f3765 100644 --- a/Source/Device.generated.swift +++ b/Source/Device.generated.swift @@ -2118,21 +2118,25 @@ extension Device { public static var volumeAvailableCapacity: Int? { return (try? rootURL.resourceValues(forKeys: [.volumeAvailableCapacityKey]))?.volumeAvailableCapacity } +} +#endif +#if os(iOS) +extension Device { /// The volume’s available capacity in bytes for storing important resources. - @available(iOS 11.0, tvOS 11.0, *) + @available(iOS 11.0, *) public static var volumeAvailableCapacityForImportantUsage: Int64? { return (try? rootURL.resourceValues(forKeys: [.volumeAvailableCapacityForImportantUsageKey]))?.volumeAvailableCapacityForImportantUsage } /// The volume’s available capacity in bytes for storing nonessential resources. - @available(iOS 11.0, tvOS 11.0, *) + @available(iOS 11.0, *) public static var volumeAvailableCapacityForOpportunisticUsage: Int64? { //swiftlint:disable:this identifier_name return (try? rootURL.resourceValues(forKeys: [.volumeAvailableCapacityForOpportunisticUsageKey]))?.volumeAvailableCapacityForOpportunisticUsage } /// All volumes capacity information in bytes. - @available(iOS 11.0, tvOS 11.0, *) + @available(iOS 11.0, *) public static var volumes: [URLResourceKey: Int64]? { do { let values = try rootURL.resourceValues(forKeys: [.volumeAvailableCapacityForImportantUsageKey, diff --git a/Source/Device.swift.gyb b/Source/Device.swift.gyb index db41807..dc0c654 100644 --- a/Source/Device.swift.gyb +++ b/Source/Device.swift.gyb @@ -1259,21 +1259,25 @@ extension Device { public static var volumeAvailableCapacity: Int? { return (try? rootURL.resourceValues(forKeys: [.volumeAvailableCapacityKey]))?.volumeAvailableCapacity } +} +#endif +#if os(iOS) +extension Device { /// The volume’s available capacity in bytes for storing important resources. - @available(iOS 11.0, tvOS 11.0, *) + @available(iOS 11.0, *) public static var volumeAvailableCapacityForImportantUsage: Int64? { return (try? rootURL.resourceValues(forKeys: [.volumeAvailableCapacityForImportantUsageKey]))?.volumeAvailableCapacityForImportantUsage } /// The volume’s available capacity in bytes for storing nonessential resources. - @available(iOS 11.0, tvOS 11.0, *) + @available(iOS 11.0, *) public static var volumeAvailableCapacityForOpportunisticUsage: Int64? { //swiftlint:disable:this identifier_name return (try? rootURL.resourceValues(forKeys: [.volumeAvailableCapacityForOpportunisticUsageKey]))?.volumeAvailableCapacityForOpportunisticUsage } /// All volumes capacity information in bytes. - @available(iOS 11.0, tvOS 11.0, *) + @available(iOS 11.0, *) public static var volumes: [URLResourceKey: Int64]? { do { let values = try rootURL.resourceValues(forKeys: [.volumeAvailableCapacityForImportantUsageKey, diff --git a/Tests/Tests.swift b/Tests/Tests.swift index 3e4dc04..3cce097 100644 --- a/Tests/Tests.swift +++ b/Tests/Tests.swift @@ -595,18 +595,20 @@ class DeviceKitTests: XCTestCase { func testVolumeAvailableCapacity() { XCTAssertNotNil(Device.volumeAvailableCapacity) } + #endif - @available(iOS 11.0, tvOS 11.0, *) + #if os(iOS) + @available(iOS 11.0, *) func testVolumeAvailableCapacityForImportantUsage() { XCTAssertNotNil(Device.volumeAvailableCapacityForImportantUsage) } - @available(iOS 11.0, tvOS 11.0, *) + @available(iOS 11.0, *) func testVolumeAvailableCapacityForOpportunisticUsage() { XCTAssertNotNil(Device.volumeAvailableCapacityForOpportunisticUsage) } - @available(iOS 11.0, tvOS 11.0, *) + @available(iOS 11.0, *) func testVolumes() { XCTAssertNotNil(Device.volumes) }