From d6a9337b7bb04e69c6a5892d7214691b952fcd4f Mon Sep 17 00:00:00 2001 From: "Oleksandr.Karpovich" Date: Tue, 24 Sep 2024 12:39:45 +0200 Subject: [PATCH] Use Xcode 14.3.1 when building iOS targets --- .github/workflows/build.yml | 7 ++++++- README.md | 8 ++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 90ede37..703e096 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ on: default: 'false' env: - version: m126-d2aaacc35d-1 + version: m126-d2aaacc35d-2 jobs: macos: @@ -33,6 +33,11 @@ jobs: if: ${{ github.event.inputs.skip_release != 'true' && github.ref == 'refs/heads/main' }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Select Xcode 14.3.1 for iOS targets + run: sudo xcode-select -s /Applications/Xcode_14.3.1.app + if: ${{ matrix.target }} == 'ios' || ${{ matrix.target }} == 'iosSim' + - name: Print Xcode version + run: xcodebuild -version - run: python3 script/checkout.py --version ${{ env.version }} - run: python3 script/build.py --build-type ${{ matrix.build_type }} --target ${{ matrix.target }} --machine ${{ matrix.machine }} - run: python3 script/archive.py --version ${{ env.version }} --build-type ${{ matrix.build_type }} --target ${{ matrix.target }} --machine ${{ matrix.machine }} diff --git a/README.md b/README.md index 138632e..721eca3 100644 --- a/README.md +++ b/README.md @@ -16,15 +16,15 @@ Prebuilt binaries can be found [in releases](https://github.com/JetBrains/skia-p ## Building locally ```sh -python3 script/checkout.py --version m126-d2aaacc35d-1 +python3 script/checkout.py --version m126-d2aaacc35d-2 python3 script/build.py -python3 script/archive.py --version m126-d2aaacc35d-1 +python3 script/archive.py --version m126-d2aaacc35d-2 ``` To build a debug build: ```sh -python3 script/checkout.py --version m126-d2aaacc35d-1 +python3 script/checkout.py --version m126-d2aaacc35d-2 python3 script/build.py --build-type Debug -python3 script/archive.py --version m126-d2aaacc35d-1 --build-type Debug +python3 script/archive.py --version m126-d2aaacc35d-2 --build-type Debug ```