File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change 7474 runs-on : macos-15
7575 steps :
7676 - uses : actions/checkout@v4
77+ - name : Prepare Xcode platforms
78+ run : |
79+ set -euxo pipefail
80+ sudo xcode-select -s /Applications/Xcode_16.4.app
81+ sudo xcodebuild -runFirstLaunch || true
82+ for PLAT in iOS tvOS watchOS visionOS; do
83+ if ! xcodebuild -showsdks | grep -q "$PLAT"; then
84+ echo "Downloading $PLAT platform..."
85+ sudo xcodebuild -downloadPlatform "$PLAT"
86+ fi
87+ done
88+ xcodebuild -showsdks
89+ xcodebuild -scheme WasmKit-Package -showdestinations || true
7790 - run : xcrun xcodebuild -skipMacroValidation -skipPackagePluginValidation build -scheme WasmKit-Package -destination generic/platform=macOS
7891 - run : xcrun xcodebuild -skipMacroValidation -skipPackagePluginValidation build -scheme WasmKit-Package -destination generic/platform=iOS
7992 - run : xcrun xcodebuild -skipMacroValidation -skipPackagePluginValidation build -scheme WasmKit-Package -destination generic/platform=watchOS
You can’t perform that action at this time.
0 commit comments