Hive Hive
Sign in

Make SwiftPM metadata loader portable across hosts by anchoring relative paths to the scratch directory

Metadata
Source
GitHub
Version
4.200.5
Published
Jun 15, 2026 · 14:58 UTC
Repository
tuist/tuist
Update

Tuist’s SwiftPM graph loader now resolves relative paths inside .build/workspace-state.json and .build/swifterpm/package-info/index.json against the project’s scratch directory, while leaving existing absolute paths untouched. This unblocks caching the .build/ directory across different machines: once the companion swifterpm change ships, metadata files can use scratch-relative paths and still load correctly on another host, with no need to wipe or rewrite .build/ on restore.