Skip to content

Commit c361308

Browse files
authored
fix(CI): Download visionOS if necessary (#2204)
1 parent 704b60c commit c361308

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

.ado/jobs/build-test-rntester.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,18 @@ jobs:
9898
steps:
9999
- template: /.ado/templates/apple-tools-setup.yml@self
100100

101+
- ${{ if in(slice.sdk, 'xros', 'xrsimulator') }}:
102+
- task: CmdLine@2
103+
displayName: Download visionOS SDDK
104+
inputs:
105+
script: |
106+
set -eox
107+
# https://github.com/actions/runner-images/issues/10559
108+
sudo xcodebuild -runFirstLaunch
109+
sudo xcrun simctl list
110+
sudo xcodebuild -downloadPlatform visionOS
111+
sudo xcodebuild -runFirstLaunch
112+
101113
- task: CmdLine@2
102114
displayName: yarn install
103115
inputs:

0 commit comments

Comments
 (0)