spmx
Commands

spmx derived-data-path

Compute the deterministic Xcode DerivedData path for a workspace or project.

spmx derived-data-path [<path>]

Prints the DerivedData folder Xcode would use for a .xcworkspace or .xcodeproj, without running Xcode.

Xcode names that folder <Name>-<28 lowercase letters>. The letters are derived from the MD5 digest of the canonical absolute path of the workspace or project, split into two big-endian 64-bit integers and written in base 26. spmx reproduces that algorithm, and uses the result to find the right SourcePackages to hydrate.

ArgumentDescription
<path>a .xcworkspace, .xcodeproj or project directory. Defaults to the current directory
spmx derived-data-path ios/Runner.xcworkspace

It exits with an error if no .xcworkspace or .xcodeproj is found at the path.

Maintained by LuisRibeirooLast updated Edit this page on GitHub