Hive
fix(cli): force sign bundled runtime libraries
GitHub issue · Closed
Source
tuist/tuist #11240
Updated
Jun 24, 2026
Domains
Distribution
What changed
- Adds
--forceto the macOS CLI bundle signing commands. - Applies the same idempotent signing behavior to bundled Swift runtime dylibs, the
tuistexecutable, andProjectDescription.framework.
Why
The post-runtime-packaging CLI release run for 8528c1d8374ea107d32183ee34affdf7e994c977 failed in the macOS Bundle CLI step after the Swift runtime library was successfully copied into build/vendor.
The raw job log shows:
Bundling Swift runtime libraries
Signing
vendor/libswiftCompatibilitySpan.dylib: is already signed
[cli:bundle] ERROR task failed
Process completed with exit code 1.
swift-stdlib-tool can copy already-signed Swift runtime dylibs from the selected Xcode toolchain. The release bundle then signs all packaged code with the Tuist Developer ID identity, but codesign refuses to replace an existing signature unless --force is passed.
Impact
This should allow the next CLI release to finish macOS artifact creation while preserving the runtime-library packaging fix needed for consumers that do not have libswiftCompatibilitySpan.dylib available on the target machine.
Validation
bash -n mise/tasks/cli/bundle.shgit diff --check