[build-tools] Fix iOS Simulator readiness hang on Xcode 26.4#3794
Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #3794 +/- ##
==========================================
+ Coverage 57.25% 57.29% +0.04%
==========================================
Files 905 905
Lines 39337 39339 +2
Branches 8246 8246
==========================================
+ Hits 22520 22534 +14
+ Misses 15347 15336 -11
+ Partials 1470 1469 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
Subscribed to pull request
Generated by CodeMention |
sjchmiela
approved these changes
May 27, 2026
|
✅ Thank you for adding the changelog entry! |
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.
Why
eas/start_ios_simulatornever starts on the Xcode 26.4 image — it hangs ~30 min then fails.waitForReadyAsyncpollsxcrun simctl io <udid> screenshot /dev/null. Since Xcode 26.4simctl io screenshotwrites the file atomically (temp file + rename in the destination's directory), so/dev/nullfails — it tries to create a file in/dev, which the build user can't:It fails every attempt, so the readiness retry burns its full 30-minute budget. Worked on Xcode 26.2 (which wrote directly to the path).
How
Write the readiness screenshot to a real temp file (
/tmp/shot.png) and remove it after. Works across Xcode versions.Test Plan
Reproduced on a custom build with the real
eas/start_ios_simulator:screenshot /dev/nullfails on 26.4 but a real path works (diagnostic): https://expo.dev/accounts/gwdp/projects/coin-flip/workflows/019e6802-d14d-763e-bd49-5365208727d1yarn typecheckandoxlintpass.