From 5d4121bbfc8b0ef512faeb9ccdd449c73da3921c Mon Sep 17 00:00:00 2001 From: Jamil Date: Tue, 5 Mar 2024 07:20:59 -0800 Subject: [PATCH] chore(ci): Use Xcode 15.2 (#3924) Fixes these warnings: https://github.com/firezone/firezone/actions/runs/8149132180/job/22273278837?pr=3906#step:6:592 --- .github/workflows/_swift.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/_swift.yml b/.github/workflows/_swift.yml index 037bcc20d..4827df520 100644 --- a/.github/workflows/_swift.yml +++ b/.github/workflows/_swift.yml @@ -14,10 +14,12 @@ jobs: - sdk: macosx runs-on: macos-14 platform: macOS + xcode: '15.2' destination: platform=macOS - sdk: iphoneos runs-on: macos-14 platform: iOS + xcode: '15.2' destination: generic/platform=iOS permissions: contents: read @@ -95,6 +97,9 @@ jobs: # Needed because `productbuild` doesn't support picking this up automatically like Xcode does INSTALLER_CODE_SIGN_IDENTITY: "3rd Party Mac Developer Installer: Firezone, Inc. (47R2M6779T)" run: | + # Use the same Xcode version as development + sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app + # Copy xcconfig cp Firezone/xcconfig/release.xcconfig Firezone/xcconfig/config.xcconfig