From 1b8aa4e10a59f1f39827f4ffa51bc067cf5a52da Mon Sep 17 00:00:00 2001 From: Nolan O'Brien Date: Tue, 10 Sep 2024 19:10:31 -0700 Subject: [PATCH] add iPhone 16 to our hard coded stuff Summary: This is such a bad way to scale, but it is what we have. Updating parts hard coded parts. Reviewed By: jarman Differential Revision: D62473369 fbshipit-source-id: acc48d14661283b0eb29995097c05b7417ec0b0c --- FBControlCore/Configuration/FBiOSTargetConfiguration.h | 4 ++++ FBControlCore/Configuration/FBiOSTargetConfiguration.m | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/FBControlCore/Configuration/FBiOSTargetConfiguration.h b/FBControlCore/Configuration/FBiOSTargetConfiguration.h index 3cd2273ef..072ea2af5 100644 --- a/FBControlCore/Configuration/FBiOSTargetConfiguration.h +++ b/FBControlCore/Configuration/FBiOSTargetConfiguration.h @@ -66,6 +66,10 @@ extern FBDeviceModel const FBDeviceModeliPhone15; extern FBDeviceModel const FBDeviceModeliPhone15Plus; extern FBDeviceModel const FBDeviceModeliPhone15Pro; extern FBDeviceModel const FBDeviceModeliPhone15ProMax; +extern FBDeviceModel const FBDeviceModeliPhone16; +extern FBDeviceModel const FBDeviceModeliPhone16Plus; +extern FBDeviceModel const FBDeviceModeliPhone16Pro; +extern FBDeviceModel const FBDeviceModeliPhone16ProMax; extern FBDeviceModel const FBDeviceModeliPodTouch_7thGeneration; extern FBDeviceModel const FBDeviceModeliPad2; extern FBDeviceModel const FBDeviceModeliPad_6thGeneration; diff --git a/FBControlCore/Configuration/FBiOSTargetConfiguration.m b/FBControlCore/Configuration/FBiOSTargetConfiguration.m index 61aab70be..a99d89fac 100644 --- a/FBControlCore/Configuration/FBiOSTargetConfiguration.m +++ b/FBControlCore/Configuration/FBiOSTargetConfiguration.m @@ -46,6 +46,10 @@ FBDeviceModel const FBDeviceModeliPhone15Plus = @"iPhone 15 Plus"; FBDeviceModel const FBDeviceModeliPhone15Pro = @"iPhone 15 Pro"; FBDeviceModel const FBDeviceModeliPhone15ProMax = @"iPhone 15 Pro Max"; +FBDeviceModel const FBDeviceModeliPhone16 = @"iPhone 16"; +FBDeviceModel const FBDeviceModeliPhone16Plus = @"iPhone 16 Plus"; +FBDeviceModel const FBDeviceModeliPhone16Pro = @"iPhone 16 Pro"; +FBDeviceModel const FBDeviceModeliPhone16ProMax = @"iPhone 16 Pro Max"; FBDeviceModel const FBDeviceModeliPodTouch_7thGeneration = @"iPod touch (7th generation)"; FBDeviceModel const FBDeviceModeliPad2 = @"iPad 2"; FBDeviceModel const FBDeviceModeliPadRetina = @"iPad Retina"; @@ -482,6 +486,10 @@ @implementation FBiOSTargetConfiguration [FBDeviceType iPhoneWithModel:FBDeviceModeliPhone15Plus productTypes:@[@"iPhone15,5"] deviceArchitecture:FBArchitectureArm64], [FBDeviceType iPhoneWithModel:FBDeviceModeliPhone15Pro productTypes:@[@"iPhone16,1"] deviceArchitecture:FBArchitectureArm64], [FBDeviceType iPhoneWithModel:FBDeviceModeliPhone15ProMax productTypes:@[@"iPhone16,2"] deviceArchitecture:FBArchitectureArm64], + [FBDeviceType iPhoneWithModel:FBDeviceModeliPhone16 productTypes:@[@"iPhone17,3"] deviceArchitecture:FBArchitectureArm64], + [FBDeviceType iPhoneWithModel:FBDeviceModeliPhone16Plus productTypes:@[@"iPhone17,4"] deviceArchitecture:FBArchitectureArm64], + [FBDeviceType iPhoneWithModel:FBDeviceModeliPhone16Pro productTypes:@[@"iPhone17,1"] deviceArchitecture:FBArchitectureArm64], + [FBDeviceType iPhoneWithModel:FBDeviceModeliPhone16ProMax productTypes:@[@"iPhone17,2"] deviceArchitecture:FBArchitectureArm64], [FBDeviceType iPhoneWithModel:FBDeviceModeliPodTouch_7thGeneration productTypes:@[@"iPod9,1"] deviceArchitecture:FBArchitectureArm64], [FBDeviceType iPadWithModel:FBDeviceModeliPad2 productTypes:@[@"iPad2,1", @"iPad2,2", @"iPad2,3", @"iPad2,4"] deviceArchitecture:FBArchitectureArmv7], [FBDeviceType iPadWithModel:FBDeviceModeliPadRetina productTypes:@[@"iPad3,1", @"iPad3,2", @"iPad3,3", @"iPad3,4", @"iPad3,5", @"iPad3,6"] deviceArchitecture:FBArchitectureArmv7],