This repository was archived by the owner on Dec 4, 2026. It is now read-only.
Repository navigation
xcodebuild: find x86Sim's checkout when cli/x86sim is a link to its binary - #17
Merged
Merged
Conversation
…binary
x86Sim's cli/x86sim is now a link to the Rust x86sim binary in
tools/launcher/target/release, so dirname(dirname(realpath(cli/x86sim))) is
that build folder, not the checkout: x86sim-aot was never found and every
destination failed ("Unable to find a device matching the provided
destination specifier"). x86sim_root(): $X86SIM_ROOT, else the folder above
the real path that holds cli/lib/config.sh.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
x86Sim's
cli/x86simis becoming a relative symlink to its Rustx86simbinary (x86sim/x86sim#170). The xcodebuild stand-in found the repo root asdirname(dirname(realpath(cli/x86sim))), which now lands in the build folder. As a result,x86sim-aotwas never found and everyxcodebuild testfailed with "Unable to find a device matching the provided destination specifier".x86sim_root()now uses$X86SIM_ROOT; otherwise it walks up from the real path to the folder that holdscli/lib/config.sh.x86sim/x86sim's Rust port round 4 (stacked on joshuaswarren#170) needs this. The XCTest parity suite and XCTestDemo pass with it.
🤖 Generated with Claude Code