What’s Changed
- Cache the SPM checkouts under the DerivedData that Build Cache for Xcode relocates builds to, instead of the default
~/Library/Developer/Xcode/DerivedData/**that such builds never read. ReadsBITRISE_XCODE_DERIVED_DATA_PATH, exported by Build Cache for Xcode / CLI v3.4.0. - Relocated archives use a separate cache key namespace, so the two layouts cannot restore over each other.
restore-spm-cachefinds them via its existing prefix fallback and needs no change. - An explicitly set
derived_data_pathstill wins, with a warning naming both paths.