From afa052678d86e625b571d419a43fcd10eeb2f904 Mon Sep 17 00:00:00 2001 From: Dan Balasescu Date: Fri, 27 Sep 2024 16:36:02 +0900 Subject: [PATCH] Fix iOS CI build --- .github/workflows/ci.yml | 3 +++ .github/workflows/deploy-pack.yml | 3 +++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7169b7d333..4dabe8e93c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -145,5 +145,8 @@ jobs: # see https://github.com/xamarin/xamarin-macios/issues/16400. run: dotnet workload install ios + - name: Select Xcode 16 + run: sudo xcode-select -s /Applications/Xcode_16.app/Contents/Developer + - name: Compile run: dotnet build -c Debug osu-framework.iOS.slnf diff --git a/.github/workflows/deploy-pack.yml b/.github/workflows/deploy-pack.yml index 9a7921226a..65efbced09 100644 --- a/.github/workflows/deploy-pack.yml +++ b/.github/workflows/deploy-pack.yml @@ -170,6 +170,9 @@ jobs: # see https://github.com/xamarin/xamarin-macios/issues/16400. run: dotnet workload install ios + - name: Select Xcode 16 + run: sudo xcode-select -s /Applications/Xcode_16.app/Contents/Developer + - name: Pack (iOS Framework) run: dotnet pack -c Release osu.Framework.iOS /p:Version=${{ github.ref_name }} /p:GenerateDocumentationFile=true -o ${{steps.artifactsPath.outputs.nuget_artifacts}}