From 1856749d1bfc0b6bd06d44052fbd69afd42d255e Mon Sep 17 00:00:00 2001 From: Jamil Date: Wed, 18 Jun 2025 12:22:17 -0700 Subject: [PATCH] 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 --- scripts/build/lib.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/build/lib.sh b/scripts/build/lib.sh index c8b9733aa..086a4bb29 100755 --- a/scripts/build/lib.sh +++ b/scripts/build/lib.sh @@ -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"