fix(ci): lock xcode major (#9585)

Apple won't allow apps built with Xcode betas to be reviewed.

<img width="1146" alt="Screenshot 2025-06-19 at 9 04 17 AM"
src="https://github.com/user-attachments/assets/11470f04-603b-4c5c-aad2-fba0e4eb391a"
/>
This commit is contained in:
Jamil
2025-06-19 09:21:58 -07:00
committed by GitHub
parent 47befe37f4
commit f50fa95778
2 changed files with 3 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ function setup_runner() {
local ne_profile_file="$4"
# Use the latest version of Xcode - matches what we typically use for development
sudo xcode-select --switch "$(ls -d /Applications/Xcode*.app | sort -V | tail -n 1)"
sudo xcode-select --switch "$(ls -d /Applications/Xcode*${XCODE_MAJOR}*.app | sort -V | tail -n 1)"
# The GitHub runners stopped including the iOS SDK
xcodebuild -downloadPlatform iOS