diff --git a/.github/workflows/common.yml b/.github/workflows/common.yml index cd359b0fe4f..1a82d76b36f 100644 --- a/.github/workflows/common.yml +++ b/.github/workflows/common.yml @@ -106,7 +106,8 @@ jobs: run: sudo xcode-select -s /Applications/${{ matrix.xcode }}.app/Contents/Developer - name: Install visionOS, if needed. if: matrix.platform == 'visionOS' - run: xcodebuild -downloadPlatform visionOS + run: ls $(xcode-select -p)/Platforms/XROS.platform || \ + { xcodebuild -downloadPlatform visionOS } - name: Run setup command, if needed. if: inputs.setup_command != '' run: ${{ inputs.setup_command }}