Skip to content

Forward SIMCTL_CHILD_ variables into the booted simulator - #18

Merged
rubu merged 1 commit into
sync/03-xctest-optionsfrom
sync/04-simctl-child-env
Sep 28, 2026
Merged

rubu merged 1 commit into
sync/03-xctest-optionsfrom
sync/04-simctl-child-env

Conversation

@rubu

@rubu rubu commented Sep 28, 2026

Copy link
Copy Markdown

runBoot passed an empty environment, so SIMCTL_CHILD_-prefixed variables set on the companion never reached the guest. This strips the prefix and passes them through, mirroring how simctl forwards them.

That is how the Appetize simulator hooks get their DYLD_INSERT_LIBRARIES.

Stacked on #17.

🤖 Generated with Claude Code

@rubu

rubu commented Sep 28, 2026

Copy link
Copy Markdown
Author

Supersedes the original work, reimplemented on current upstream:

Both are one commit here, since the prefix stripping is what makes the forwarding correct rather than a separate fix.

@rubu
rubu marked this pull request as ready for review September 28, 2026 14:40
Mirrors how simctl forwards them, which is how the Appetize simulator hooks get their
DYLD_INSERT_LIBRARIES.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
@rubu
rubu force-pushed the sync/04-simctl-child-env branch from dc73697 to d592a8e Compare September 28, 2026 15:31
@rubu
rubu force-pushed the sync/03-xctest-options branch from 0d8f3d1 to 0a9541b Compare September 28, 2026 15:31
@rubu
rubu deleted the branch sync/03-xctest-options September 28, 2026 18:30
@rubu rubu closed this Sep 28, 2026
@rubu rubu reopened this Sep 28, 2026
@rubu
rubu merged commit 273d0c6 into sync/03-xctest-options Sep 28, 2026
@rubu
rubu deleted the sync/04-simctl-child-env branch September 28, 2026 18:44
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