Skip to content

Commit 0a36c2a

Browse files
authored
[Infra] Switch to the iPhone 16 sim on Xcode 16 (#13766)
1 parent 82febdd commit 0a36c2a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

scripts/build.sh

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,16 @@ if [[ "$xcode_major" -lt 15 ]]; then
143143
-sdk 'iphonesimulator'
144144
-destination 'platform=iOS Simulator,name=iPhone 14'
145145
)
146-
else
146+
elif [[ "$xcode_major" -lt 16 ]]; then
147147
ios_flags=(
148148
-sdk 'iphonesimulator'
149149
-destination 'platform=iOS Simulator,name=iPhone 15'
150150
)
151+
else
152+
ios_flags=(
153+
-sdk 'iphonesimulator'
154+
-destination 'platform=iOS Simulator,name=iPhone 16'
155+
)
151156
fi
152157

153158
ios_device_flags=(

0 commit comments

Comments
 (0)