Skip to content

[Infra] Fail on Xcode 15 builds #14719

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Apr 15, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 3 additions & 19 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -151,25 +151,9 @@ function CheckUnexpectedFailures() {
fi
}

# TODO(ncooke3): Xcode 16 – remove -lt 15 after migration
if [[ "$xcode_major" -lt 15 ]]; then
ios_flags=(
-sdk 'iphonesimulator'
-destination 'platform=iOS Simulator,name=iPhone 14'
)
watchos_flags=(
-sdk 'watchsimulator'
-destination 'platform=watchOS Simulator,name=Apple Watch Series 7 (45mm)'
)
elif [[ "$xcode_major" -lt 16 ]]; then
ios_flags=(
-sdk 'iphonesimulator'
-destination 'platform=iOS Simulator,name=iPhone 15'
)
watchos_flags=(
-sdk 'watchsimulator'
-destination 'platform=watchOS Simulator,name=Apple Watch Series 7 (45mm)'
)
if [[ "$xcode_major" -lt 16 ]]; then
echo "Unsupported Xcode major version being used: $xcode_major"
exit 1
else
ios_flags=(
-sdk 'iphonesimulator'
Expand Down
Loading