Skip to content

Conversation

@dpogue
Copy link
Contributor

@dpogue dpogue commented Nov 7, 2025

  • By default, spawnSync stdio is a Buffer, not a string, and a bunch of APIs are apparently happy to handle that (but specifically not path.join). Passing encoding: "utf8" ensures that the output is a UTF-8 string rather than a buffer.
  • xcode-select -p has a trailing newline that needs to be stripped before using it to build a path (this was previously masked by using bash backtick interpolation, which automatically strips newlines)

@dpogue dpogue requested a review from erisu November 7, 2025 03:42
@dpogue dpogue self-assigned this Nov 7, 2025
@dpogue dpogue added this to the 3.0.0 milestone Nov 7, 2025
Copy link
Contributor

@erisu erisu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, tested and confirmed the simulator app is opening.

@dpogue dpogue merged commit d1c7f79 into ios-control:master Nov 7, 2025
4 checks passed
@dpogue dpogue deleted the start-fix branch November 7, 2025 05:50
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.

2 participants