From abd64c34bad2ec65e9adf7b573102a361c5883ad Mon Sep 17 00:00:00 2001 From: Teruaki Kinoshita Date: Wed, 14 Jan 2026 04:25:11 +0900 Subject: [PATCH] fix m5 iPad Pro models --- Source/Device.generated.swift | 8 ++++---- Source/Device.swift.gyb | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Source/Device.generated.swift b/Source/Device.generated.swift index 48c6acd..60cef21 100644 --- a/Source/Device.generated.swift +++ b/Source/Device.generated.swift @@ -416,11 +416,11 @@ public enum Device { case iPadPro13M4 /// Device is an [iPad Pro 11-inch (M5)](https://support.apple.com/en-us/125406) /// - /// ![Image]() + /// ![Image](https://cdsassets.apple.com/content/services/pub/image?productid=301271&size=240x240) case iPadPro11M5 /// Device is an [iPad Pro 13-inch (M5)](https://support.apple.com/en-us/125406) /// - /// ![Image]() + /// ![Image](https://cdsassets.apple.com/content/services/pub/image?productid=301273&size=240x240) case iPadPro13M5 /// Device is a [HomePod](https://support.apple.com/kb/SP773) /// @@ -705,8 +705,8 @@ public enum Device { case "iPad14,5", "iPad14,6": return iPadPro12Inch6 case "iPad16,3", "iPad16,4": return iPadPro11M4 case "iPad16,5", "iPad16,6": return iPadPro13M4 - case "iPad17,3", "iPad17,4": return iPadPro11M5 - case "iPad17,5", "iPad17,6": return iPadPro13M5 + case "iPad17,1", "iPad17,2": return iPadPro11M5 + case "iPad17,3", "iPad17,4": return iPadPro13M5 case "AudioAccessory1,1": return homePod case "i386", "x86_64", "arm64": return simulator(mapToDevice(identifier: ProcessInfo().environment["SIMULATOR_MODEL_IDENTIFIER"] ?? "iOS")) default: return unknown(identifier) diff --git a/Source/Device.swift.gyb b/Source/Device.swift.gyb index f17ee6b..903356b 100644 --- a/Source/Device.swift.gyb +++ b/Source/Device.swift.gyb @@ -138,8 +138,8 @@ iPads = [ Device("iPadPro12Inch6", "Device is an [iPad Pro 12.9-inch (6th generation)](https://support.apple.com/kb/SP883)", "https://support.apple.com/library/APPLE/APPLECARE_ALLGEOS/SP882/ipad-pro-4gen-mainimage_2x.png", ["iPad14,5", "iPad14,6"], 12.9, (512, 683), "iPad Pro (12.9-inch) (6th generation)", "iPad Pro (12.9-inch) (6th generation)", 264, False, False, True, False, False, True, False, False, True, False, 23, False, 13, True, "m2", True, True), Device("iPadPro11M4", "Device is an [iPad Pro 11-inch (M4)](https://support.apple.com/en-us/119892)", "https://cdsassets.apple.com/content/services/pub/image?productid=301031&size=240x240", ["iPad16,3", "iPad16,4"], 11.0, (605, 417), "iPad Pro (11-inch) (M4)", "iPad Pro (11-inch) (M4)", 264, False, False, True, False, False, True, False, False, True, False, 234, False, 1, True, "m4", True, True), Device("iPadPro13M4", "Device is an [iPad Pro 13-inch (M4)](https://support.apple.com/en-us/119891)", "https://cdsassets.apple.com/content/services/pub/image?productid=301033&size=240x240", ["iPad16,5", "iPad16,6"], 13.0, (4, 3), "iPad Pro (13-inch) (M4)", "iPad Pro (13-inch) (M4)", 264, False, False, True, False, False, True, False, False, True, False, 234, False, 1, True, "m4", True, True), - Device("iPadPro11M5", "Device is an [iPad Pro 11-inch (M5)](https://support.apple.com/en-us/125406)", "", ["iPad17,3", "iPad17,4"], 11.0, (605, 417), "iPad Pro (11-inch) (M5)", "iPad Pro (11-inch) (M5)", 264, False, False, True, False, False, True, False, False, True, False, 234, False, 1, True, "m5", True, True), - Device("iPadPro13M5", "Device is an [iPad Pro 13-inch (M5)](https://support.apple.com/en-us/125406)", "", ["iPad17,5", "iPad17,6"], 13.0, (4, 3), "iPad Pro (13-inch) (M5)", "iPad Pro (13-inch) (M5)", 264, False, False, True, False, False, True, False, False, True, False, 234, False, 1, True, "m5", True, True), + Device("iPadPro11M5", "Device is an [iPad Pro 11-inch (M5)](https://support.apple.com/en-us/125406)", "https://cdsassets.apple.com/content/services/pub/image?productid=301271&size=240x240", ["iPad17,1", "iPad17,2"], 11.0, (605, 417), "iPad Pro (11-inch) (M5)", "iPad Pro (11-inch) (M5)", 264, False, False, True, False, False, True, False, False, True, False, 234, False, 1, True, "m5", True, True), + Device("iPadPro13M5", "Device is an [iPad Pro 13-inch (M5)](https://support.apple.com/en-us/125406)", "https://cdsassets.apple.com/content/services/pub/image?productid=301273&size=240x240", ["iPad17,3", "iPad17,4"], 13.0, (4, 3), "iPad Pro (13-inch) (M5)", "iPad Pro (13-inch) (M5)", 264, False, False, True, False, False, True, False, False, True, False, 234, False, 1, True, "m5", True, True), ] homePods = [