ci: Don't specify Xcode version (#8293)

A particular version of Xcode locks in particular versions of SDKs to
build against. If we hardcode this, the benefit is that we have a
predictable and repeatable build environment.

The downside is whenever GitHub updates its macOS runner images, we
could fail to build due to a version mismatch.

In general, drift between Xcode versions isn't a problem, and tracking
the latest will more closely track developer's machines.
This commit is contained in:
Jamil
2025-02-28 07:41:56 +00:00
committed by GitHub
parent 15938991d5
commit 280dc6c97b
2 changed files with 0 additions and 5 deletions

View File

@@ -30,8 +30,6 @@ jobs:
permissions:
contents: write # for attaching the build artifacts to the release
id-token: write
env:
XCODE_VERSION: "16.2"
strategy:
fail-fast: false
matrix:

View File

@@ -12,9 +12,6 @@ function setup_runner() {
keychain_pass=$(openssl rand -base64 32)
keychain_path="$(mktemp -d)/app-signing.keychain-db"
# Select Xcode specified by the workflow
sudo xcode-select -s "/Applications/Xcode_$XCODE_VERSION.app"
# Install provisioning profiles
mkdir -p "$profiles_path"
base64_decode "$app_profile" "$profiles_path/$app_profile_file"