fix(ci): download iOS SDK explicitly (#9572)

The runners don't seem to have this installed any longer by default.

Related:
https://github.com/actions/runner-images/issues/12355#issuecomment-2977352487
This commit is contained in:
Jamil
2025-06-18 12:22:17 -07:00
committed by GitHub
parent 236c21111a
commit 1856749d1b

View File

@@ -12,6 +12,9 @@ function setup_runner() {
# 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)"
# The GitHub runners stopped including the iOS SDK
xcodebuild -downloadPlatform iOS
profiles_path="$HOME/Library/Developer/Xcode/UserData/Provisioning Profiles"
keychain_pass=$(openssl rand -base64 32)
keychain_path="$(mktemp -d)/app-signing.keychain-db"