Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,20 @@ jobs:
with:
xcode-version: '26.1.1'

# Intermittently fails with "Unable to connect to simulator" on GitHub
# macOS runners (actions/runner-images#13459), so retry a few times
- name: Install iOS platform
run: sudo xcodebuild -downloadPlatform iOS
run: |
for attempt in 1 2 3 4 5; do
if sudo xcodebuild -downloadPlatform iOS; then
exit 0
fi
echo "Attempt ${attempt} failed, retrying in 15s..."
sudo killall -9 com.apple.CoreSimulator.CoreSimulatorService 2>/dev/null || true
sleep 15
done
echo "Failed to install iOS platform after 5 attempts"
exit 1

- name: Checkout
uses: actions/checkout@v3
Expand Down
Loading