Save SPM Cache v1.4.0

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. Reads BITRISE_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-cache finds them via its existing prefix fallback and needs no change.
  • An explicitly set derived_data_path still wins, with a warning naming both paths.