Skip to content

Commit

Permalink
[Infra] Switch to the iPhone 16 sim on Xcode 16 (#13766)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewheard authored Oct 2, 2024
1 parent 82febdd commit 0a36c2a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -143,11 +143,16 @@ if [[ "$xcode_major" -lt 15 ]]; then
-sdk 'iphonesimulator'
-destination 'platform=iOS Simulator,name=iPhone 14'
)
else
elif [[ "$xcode_major" -lt 16 ]]; then
ios_flags=(
-sdk 'iphonesimulator'
-destination 'platform=iOS Simulator,name=iPhone 15'
)
else
ios_flags=(
-sdk 'iphonesimulator'
-destination 'platform=iOS Simulator,name=iPhone 16'
)
fi

ios_device_flags=(
Expand Down

0 comments on commit 0a36c2a

Please sign in to comment.