Skip to content

Fix CI: download simulator runtimes on macos-15 runner#25

Merged
AllDmeat merged 1 commit intomainfrom
fix/ci-download-simulator-runtimes
Apr 14, 2026
Merged

Fix CI: download simulator runtimes on macos-15 runner#25
AllDmeat merged 1 commit intomainfrom
fix/ci-download-simulator-runtimes

Conversation

@AllDmeat
Copy link
Copy Markdown
Contributor

Problem

CI checks on PR #24 (and any other PR) fail because the macos-15 runner with Xcode 16.4 no longer ships simulator runtimes pre-installed. The build step fails with:

xcodebuild: error: Unable to find a device matching the provided destination specifier:
    { platform:iOS Simulator, OS:latest, name:iPhone 16 }

Only the platform=OS X matrix leg passes; iOS/tvOS/watchOS simulator legs all fail.

Fix

  1. Add Download Simulator Runtime step — runs xcodebuild -downloadPlatform for the appropriate platform (iOS, tvOS, watchOS), skipped for the macOS destination.
  2. Fix upload-artifact condition — previously failed with Input required and not supplied: path when the test step was skipped (no resultBundlePath output). Now checks steps.tests.outputs.resultBundlePath is non-empty.
  3. Bump timeout from 10 → 20 min — to accommodate the simulator runtime download time.

@AllDmeat AllDmeat force-pushed the fix/ci-download-simulator-runtimes branch from f3b8e0e to 880da10 Compare April 14, 2026 12:20
Replace hardcoded device names that don't exist on macos-latest
runner with ones that are available: iPhone 16e, Apple TV,
Apple Watch SE 3 (44mm). Also use macos-latest runner and fix
upload-artifact condition.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@AllDmeat AllDmeat force-pushed the fix/ci-download-simulator-runtimes branch from 880da10 to b66fd48 Compare April 14, 2026 12:25
@AllDmeat AllDmeat merged commit 02722f6 into main Apr 14, 2026
5 checks passed
@AllDmeat AllDmeat deleted the fix/ci-download-simulator-runtimes branch April 14, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant