diff --git a/.github/workflows/build-sample.yml b/.github/workflows/build-sample.yml index 6a829d13..5c6dbc3a 100644 --- a/.github/workflows/build-sample.yml +++ b/.github/workflows/build-sample.yml @@ -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: | diff --git a/.github/workflows/cocoapods-lint.yml b/.github/workflows/cocoapods-lint.yml index eaea3e86..e6fc56da 100644 --- a/.github/workflows/cocoapods-lint.yml +++ b/.github/workflows/cocoapods-lint.yml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 32becfc9..2f5377fa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -30,10 +30,11 @@ jobs: - name: Install visionOS Platform 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: Update version in podspec run: sed -i '' 's/s.version = "[^"]*"/s.version = "${{ github.event.inputs.version }}"/' KSCrash.podspec