Skip to content

Commit

Permalink
Use alternative visionOS SDK installation script
Browse files Browse the repository at this point in the history
  • Loading branch information
bamx23 committed Oct 7, 2024
1 parent 7c0a4be commit 4df3f4a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/build-sample.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,11 @@ jobs:
if: matrix.platform == 'visionOS'
shell: bash
run: |
# See https://github.com/actions/runner-images/issues/8144#issuecomment-1902072070
defaults write com.apple.dt.Xcode AllowUnsupportedVisionOSHost -bool YES
defaults write com.apple.CoreSimulator AllowUnsupportedVisionOSHost -bool YES
# See https://github.com/actions/runner-images/issues/10692#issuecomment-2377521050
xcodebuild -runFirstLaunch
xcrun simctl list
xcodebuild -downloadPlatform visionOS
xcodebuild -runFirstLaunch
- name: Install Tuist
run: |
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/cocoapods-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,11 @@ jobs:
if: matrix.platform == 'visionOS'
shell: bash
run: |
# See https://github.com/actions/runner-images/issues/8144#issuecomment-1902072070
defaults write com.apple.dt.Xcode AllowUnsupportedVisionOSHost -bool YES
defaults write com.apple.CoreSimulator AllowUnsupportedVisionOSHost -bool YES
# See https://github.com/actions/runner-images/issues/10692#issuecomment-2377521050
xcodebuild -runFirstLaunch
xcrun simctl list
xcodebuild -downloadPlatform visionOS
xcodebuild -runFirstLaunch
- name: Lint Podspec
id: lint
Expand Down

0 comments on commit 4df3f4a

Please sign in to comment.