From d7c1cc6d7909ce55a2952633983823c8ce92d220 Mon Sep 17 00:00:00 2001 From: Tommy Nguyen <4123478+tido64@users.noreply.github.com> Date: Tue, 24 Sep 2024 20:21:08 +0200 Subject: [PATCH] ci(visionos): download visionOS SDK --- .github/actions/setup-toolchain/action.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/actions/setup-toolchain/action.yml b/.github/actions/setup-toolchain/action.yml index 5045c18fc..933869b1d 100644 --- a/.github/actions/setup-toolchain/action.yml +++ b/.github/actions/setup-toolchain/action.yml @@ -79,6 +79,15 @@ runs: run: | sudo xcode-select --switch ${{ inputs.xcode-developer-dir }} shell: bash + - name: Download visionOS SDK + if: ${{ inputs.platform == 'visionos' }} + run: | + # https://github.com/actions/runner-images/issues/10559 + sudo xcodebuild -runFirstLaunch + sudo xcrun simctl list + sudo xcodebuild -downloadPlatform visionOS + sudo xcodebuild -runFirstLaunch + shell: bash - name: Cache /.ccache if: ${{ steps.setup-ccache.outputs.cache-key }} uses: actions/cache@v4