Saves the DerivedData folder and the related metadata into Bitrise Build Cache to speed up subsequent builds.
Description
This steps caches the DerivedData folder and the related metadata required to speed up subsequent builds. The cache is stored in the Bitrise Build Cache infrastructure.
If not specified otherwise, the complete system DerivedData folder ($HOME/Library/Developer/Xcode/DerivedData
) is cached. As xcodebuild only reuses DerivedData if the input files'
modification time is the same, the step also collects and saves the modification time of the input files (project files including source code files) into a metadata file.
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 | ||
cache_key |
The key used to store the cache archive | required | . |
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: