Skip to content

cli: Compile swap helper with selected Xcode SDK - #564

Merged
jmeistrich merged 3 commits into
mainfrom
jmeistrich/swap-helper-toolchain
Nov 22, 2026
Merged

jmeistrich merged 3 commits into
mainfrom
jmeistrich/swap-helper-toolchain

Conversation

@jmeistrich

Copy link
Copy Markdown
Member

Summary

Use the selected Xcode developer directory and its macOS SDK when compiling Spark’s directory swap helper. This prevents the Xcode linker from consuming the newer SDK selected through Command Line Tools.

Test plan

  • bun run test tests/publish-directory.test.ts tests/build-cache.test.ts — 36 tests passed.
  • Scoped typecheck through typecheck-queue — passed.
  • Compiled and executed the directory swap helper through scripts/heavy with DEVELOPER_DIR unset — passed locally.
  • Big-host compile was blocked by SSH authentication (Too many authentication failures).

The helper and SDK resolution have focused coverage. Test-only direct xcrun compiles elsewhere are noted for follow-up in the job handoff.

Use the selected full Xcode developer directory for the swap-helper compile. When Command Line Tools are selected, resolve to the standard Xcode installation so its newer linker can consume the SDK.
Resolve the SDK through the same DEVELOPER_DIR as the compiler. This avoids pairing the selected Xcode linker with an SDK selected through the Command Line Tools.
@chatgpt-codex-connector

Copy link
Copy Markdown
Codex Review Summary: ❌ Failed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ❌ Failed 2026-11-22T07:05:10.967738Z
We couldn’t complete this review. Comment @codex review to try again.
3475428 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

Use the runner’s active developer directory in the SDK resolution test so CI does not depend on a local Xcode installation path.
@jmeistrich
jmeistrich merged commit 90869e7 into main Nov 22, 2026
2 checks passed
@jmeistrich
jmeistrich deleted the jmeistrich/swap-helper-toolchain branch November 22, 2026 07:22
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.

1 participant