Skip to content

Commit 6e8f040

Browse files
committed
Download visionOS SDK when building core
1 parent f784465 commit 6e8f040

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/build-binaries.yml

+5-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,13 @@ jobs:
1717
strategy:
1818
matrix:
1919
target: [macosx, iphoneos, iphonesimulator, appletvos, appletvsimulator, watchos, watchsimulator, maccatalyst, xros, xrsimulator]
20+
env:
21+
DEVELOPER_DIR: /Applications/Xcode_15.3.app/Contents/Developer
2022
steps:
2123
- uses: actions/checkout@v4
24+
- name: Download visionOS
25+
if: matrix.target == 'xros' || matrix.target == 'xrsimulator'
26+
run: xcodebuild -downloadPlatform visionOS
2227

2328
- name: Get Core Version
2429
id: get-core-version
@@ -50,8 +55,6 @@ jobs:
5055
- name: Build for ${{ matrix.target }}
5156
run: sh tools/${{ matrix.target != 'macosx' && format('build-apple-device.sh -p {0} -c Release', matrix.target) || 'build-cocoa.sh -bm' }} -v ${{ steps.get-core-version.outputs.version }}
5257
working-directory: core
53-
env:
54-
DEVELOPER_DIR: /Applications/Xcode_15.3.app/Contents/Developer
5558

5659
- name: Archive binaries
5760
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)