Skip to content

Bundle libIndexStore in release artifacts#1104

Merged
ileitch merged 1 commit intomasterfrom
issue-1103
Mar 31, 2026
Merged

Bundle libIndexStore in release artifacts#1104
ileitch merged 1 commit intomasterfrom
issue-1103

Conversation

@ileitch
Copy link
Copy Markdown
Contributor

@ileitch ileitch commented Mar 31, 2026

Summary

  • bundle libIndexStore.dylib alongside the release binary so prebuilt installs can resolve it via @loader_path
  • strip the Xcode toolchain rpaths that bake the builder's absolute Xcode path into release binaries
  • codesign and include the bundled dylib in both the release zip and the artifact bundle

Resolves #1103

Test plan

  • bash -n .mise/tasks/release
  • mise r build --arch release
  • run the release packaging steps against .release/periphery and verify otool -l only shows /usr/lib/swift and @loader_path
  • ./.release/periphery scan --strict

Made with Cursor

Ship libIndexStore.dylib alongside the release binary and strip the Xcode toolchain rpaths so prebuilt installs keep working when Xcode lives outside /Applications.

Made-with: Cursor
@ileitch ileitch marked this pull request as ready for review March 31, 2026 09:24
@ileitch ileitch merged commit 1eb9c4c into master Mar 31, 2026
11 of 15 checks passed
@ileitch ileitch deleted the issue-1103 branch March 31, 2026 09:26
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.

Pre-built binary fails to load libIndexStore.dylib when Xcode is not in /Applications

1 participant