Skip to content

Commit d7a8c0f

Browse files
authored
ci(visionos): download visionOS SDK (#2258)
1 parent 415fd32 commit d7a8c0f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

.github/actions/setup-toolchain/action.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,15 @@ runs:
7979
run: |
8080
sudo xcode-select --switch ${{ inputs.xcode-developer-dir }}
8181
shell: bash
82+
- name: Download visionOS SDK
83+
if: ${{ inputs.platform == 'visionos' }}
84+
run: |
85+
# https://github.com/actions/runner-images/issues/10559
86+
sudo xcodebuild -runFirstLaunch
87+
sudo xcrun simctl list
88+
sudo xcodebuild -downloadPlatform visionOS
89+
sudo xcodebuild -runFirstLaunch
90+
shell: bash
8291
- name: Cache /.ccache
8392
if: ${{ steps.setup-ccache.outputs.cache-key }}
8493
uses: actions/cache@v4

0 commit comments

Comments
 (0)