diff --git a/.github/workflows/_swift.yml b/.github/workflows/_swift.yml index 9b8f0f7c9..ca34c336c 100644 --- a/.github/workflows/_swift.yml +++ b/.github/workflows/_swift.yml @@ -28,7 +28,7 @@ jobs: needs: update-release-draft runs-on: macos-15 env: - XCODE_MAJOR: 26 + XCODE_VERSION: "26.0" permissions: contents: write # for attaching the build artifacts to the release id-token: write diff --git a/scripts/build/lib.sh b/scripts/build/lib.sh index 7bf9aa46e..e85f6b414 100755 --- a/scripts/build/lib.sh +++ b/scripts/build/lib.sh @@ -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*${XCODE_MAJOR}*.app | sort -V | tail -n 1)" + sudo xcode-select --switch "$(ls -d /Applications/Xcode*${XCODE_VERSION}*.app | sort -V | tail -n 1)" profiles_path="$HOME/Library/Developer/Xcode/UserData/Provisioning Profiles" keychain_pass=$(openssl rand -base64 32)