Carthage is a dependency manager for macOS and iOS: builds your dependencies and provides you with binary frameworks. On Bitrise, we have a dedicated Step to handle Carthage dependencies in your build, and of course you can cache these dependencies.
Configuring Carthage caching ⚓
To cache Carthage dependencies:
- Make sure you have the Bitrise.io Cache:Pull and Bitrise.io Cache:Push Steps in your Workflow.
- Set the Carthage command to run input of the Carthage Step to
- Go to the Bitrise.io Cache:Push Step and find the Cache paths input.
On a new line, add the path to your
Carthage directoryand indicate that it should be cached if the
./Carthage -> ./Cartfile.resolved
All Bitrise builds have a build number. The first build of your app is, by default, number 1, and the build number gets incremented with each build. You can also...
Caching homebrew installers is supported in the Brew install Step. It can speed up your builds significantly, depending on the number of dependencies you have in your app.