Skip to content

Commit 9a024d9

Browse files
authored
chore: switch Xcode to download the correct runtime (#4049)
* chore: update Github action workflows chore: updating Github action workflows remove runtime check another update more updates update versions that are available for integration tests update versions add lowest as 18.4 test disabling parallel builds Revert "test disabling parallel builds" This reverts commit ce7eb6f. try to use the webauthn approach remove --set testing another update Update index.mjs another update try another fix another update another try final update try install simulators if needed flow run download only for xcode 16 * list available content list * try selecting xcode before * Update canary.yml
1 parent 1e24d45 commit 9a024d9

File tree

1 file changed

+10
-2
lines changed
  • .github/composite_actions/install_simulators_if_needed

1 file changed

+10
-2
lines changed

.github/composite_actions/install_simulators_if_needed/action.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,12 +34,20 @@ runs:
3434
3535
echo "Installing simulators for $PLATFORM with Xcode 16.0.0..."
3636
37+
# Ensure we're using Xcode 16.0.0 for simulator downloads
38+
echo "Switching to Xcode 16.0.0..."
39+
sudo xcode-select -switch /Applications/Xcode_16.0.0.app/Contents/Developer
40+
41+
# Verify the switch worked
42+
echo "Current Xcode version:"
43+
xcodebuild -version
44+
3745
# Show what's available before download
3846
echo "Simulators before download:"
3947
xcrun simctl list runtimes || true
4048
41-
# Download the platform - this will get the appropriate version for Xcode 16.0
42-
echo "Downloading $PLATFORM platform for Xcode 16.0..."
49+
# Download the platform runtime for Xcode 16.0.0
50+
echo "Downloading $PLATFORM runtime for Xcode 16.0..."
4351
case $PLATFORM in
4452
iOS)
4553
sudo xcodebuild -downloadPlatform iOS || echo "Failed to download iOS platform"

0 commit comments

Comments
 (0)