Restores the DerivedData folder and the related metadata from Bitrise Build Cache to speed up subsequent builds.
Description
This step is the pair of the save-xcodebuild-cache step and can be used to restore xcodebuild cache archives from the Bitrise Build Cache.
As xcodebuild only reuses DerivedData if the input files' modification time is the same, the step also restores the modification time of the input files (project files including source code files) from a metadata file stored along the DerivedData folder. Please use the same build settings as when the cache was saved to ensure the cache can be reused.
NOTE: you need to have an activate Bitrise Build Cache Trial or Subscription for your workspace to use this step.
Add this step directly to your workflow in the Bitrise Workflow Editor.
You can also run this step directly with Bitrise CLI.
Inputs
Key | Description | Flags | Default |
---|---|---|---|
project_root_path |
Path to the root folder of the project to be built | required | . |
cache_key |
The key of the restorable cache archive | ||
verbose |
Enable logging additional information for troubleshooting | required | false |
Outputs
There are no outputs defined in this stepWe welcome pull requests and issues against this repository.
For pull requests, work on your changes in a forked repository and use the Bitrise CLI to run step tests locally.
Learn more about developing steps: