Repository navigation
ci(ios): install the simulator runtime when the runner image lacks it - #4607
Merged
Merged
Conversation
datlechin
enabled auto-merge (squash)
November 26, 2026 07:33
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
xcodebuild -downloadPlatform iOS, installs iOS 27.1, which has no iPhone 18 Pro.build-for-testingongeneric/platform=iOS SimulatorwithARCHS=arm64, asverify.sh iosbuilds, thentest-without-buildingon the UDID the new step picks.apple/scripts/ci/boot-ios-simulator.py, run right before the tests. It boots the iPhone 18 Pro on the newest iOS runtime thatsimctl list runtimesmarks available and whose bundle is on disk. It accepts the device once it has stayed booted on a mounted runtime for 60 s.xcodebuild -downloadPlatform iOS -buildVersion <that version>. It then tries every device on a mounted runtime once more. If that fails too, it exits with an::error::naming the device, followed by the runtime list. It stops after 15 minutes; the step's 20-minute limit is for a hungsimctl. The job limit goes from 70 to 85 minutes to fit the step.Build.xcresult, so the summary and the artifact keep the build errors.verification-apple.mdReading CI covers the artifact's bundles and how to read a red boot step.Test plan
test_boot_ios_simulator.pycovers each path:simctl list, hung boots and a download that runs out of time all end in the error within the budget;test_detect_changed_paths.py: the ios suite runs on the script. This test fails on main.actionlint, zizmor, shellcheck, and the
scripts/ci,apple/scripts/ciandapple/scripts/libunit tests pass.This PR's iOS job runs the new steps on the runner.
CI on b397f83: the Fast checks and Debian (stonking) failures are
account::step_up_tests::a_step_up_that_comes_back_after_an_earlier_sign_in_committed_is_revoked_not_adopted, red on main too (nightly 45883112027). test(core): let each step-up test permit release one sign-in page #4619 fixes that test. This PR changes no Linux job.Review: Codex, one round on the branch after merging main, no findings.