From 4dbc1c3cb06dc5aea863a636edb3310db86d6879 Mon Sep 17 00:00:00 2001 From: Salman Ahmed Date: Sat, 17 Dec 2022 03:14:53 +0300 Subject: [PATCH] Manually use Xcode 14.1 --- .github/workflows/ci.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 0b11fb0a41..6c683d614b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -121,13 +121,21 @@ jobs: build-only-ios: name: Build only (iOS) - # Pin to macOS 12 until GitHub finishes migrating all repositories to use it when specifying `macos-latest`. + # change to macos-latest once GitHub finishes migrating all repositories to macOS 12. runs-on: macos-12 timeout-minutes: 60 steps: - name: Checkout uses: actions/checkout@v2 + # see https://github.com/actions/runner-images/issues/6771#issuecomment-1354713617 + # remove once all workflow VMs use Xcode 14.1 + - name: Set Xcode Version + shell: bash + run: | + sudo xcode-select -s "/Applications/Xcode_14.1.app" + echo "MD_APPLE_SDK_ROOT=/Applications/Xcode_14.1.app" >> $GITHUB_ENV + - name: Install .NET 6.0.x uses: actions/setup-dotnet@v1 with: