Repository navigation
fix(ios): recover simulator discovery after Xcode updates - #158
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
hannojg
marked this pull request as ready for review
November 29, 2026 16:15
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.
After an Xcode update, opening Add device in an existing chat showed an empty iOS list. A new chat on the same Mac showed all 13 simulators. The older Baguette processes still had the previous CoreSimulator binary loaded and kept returning a successful HTTP response with an empty list.
The plugin now records the file identity of the CoreSimulator binary when it starts Baguette. If Baguette returns an empty list and Xcode has replaced the binary, the plugin restarts its own process and reads the list again. Concurrent lookups share that restart. A Mac with no simulators keeps its existing process. If the lookup fails, the picker shows "Could not load iOS simulators."
I replayed the empty response from one of the stale processes and verified that the replacement Baguette returned all 13 simulators. Regression tests cover concurrent lookups during recovery, a genuinely empty inventory, and the error shown in the picker.