Skip to content

Commit 3cf93b2

Browse files
committed
fix: make simulator runtime download non-fatal in CI
1 parent 951e3fa commit 3cf93b2

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ jobs:
7979
xcodegen generate
8080
- name: Install iOS Simulator Runtime
8181
run: |
82-
xcodebuild -downloadPlatform iOS
82+
# Try to download iOS platform; if it fails, use pre-installed simulators
83+
xcodebuild -downloadPlatform iOS || echo "Download failed, using pre-installed simulators"
8384
- name: List Available Simulators
8485
run: |
8586
xcrun simctl list devices available | grep -i iphone | head -10

0 commit comments

Comments
 (0)