fastlane tools integration
Having more time to be creative is the key to great inventions. We believe that giving developers the chance to work without distractions is the most important thing that can lead to extraordinary creations. Our mission is to provide a platform that lets you concentrate on the process of creation, instead of the administrative tasks that get in the way of it.
That's why we created Bitrise. But we're not alone in this! We love how Felix Krause sought to solve this problem by creating fastlane. So by the combined force of earth, water, fire and wind… we integrated the whole fastlane toolkit - booyah! How cool is that!
Bitrise offline CLI
We have an open source, offline CLI, which can be used in a similar way as fastlane. If you're interested, you can find the CLI's website here, and its GitHub repository here. You can use this CLI to run your bitrise configurations locally, which can include runing fastlane too as part of the build, as described below ;)
What is fastlane?⚓
fastlane lets you define and run your deployment pipelines for different environments.
It helps you unify and automate your app's release process.
fastlane connects all
fastlane tools and third party tools, like CocoaPods and xctool.
fastlane is a collection of ruby gems that cover the most usual tasks required during iOS app development and upload or update to the App Store.
How to get started?⚓
Using fastlane for your workflow is easy as pie. Just add the
Fastlane step to your
Git Clone step (and any other dependency step).
You should also add/keep the
Certificate and profile installer step in the workflow,
to download your .p12 Certificates and Provisioning Profiles uploaded to bitrise.io
and to install them. Even if you don't upload your files to bitrise.io
and instead you use a fastlane tool to manage your code signing files you should
still keep this step in the workflow. Read more about iOS Code Signing using
third party tools.
With adding the fastlane step we ensure that you are running on the latest fastlane version, as it is pre-installed on all our VMs. Inside the step you can set the fastlane action and we will run it automatically every time you push a new code change.
For more configuration options see the
Fastlane step's description in the Workflow Editor!
fastlane's greatness comes from its ability to define different lanes for your different deployment needs - hence the name.
You can combine this with Bitrise and run separate lanes for separate branches, automatically.
For example you can run a lane for every code push onto the
master branch to update your
screenshots and metadata on the App Store and to release the distribution version,
and a separate lane for the
develop branch to deploy your test releases
and all the others to ensure that nobody has broken anything.
You can simply clone the workflow as many times as you want to,
and use the
Trigger feature of bitrise.io to define
which Workflow to be selected for this branch / tag / pull request.
You can find more information about the Triggers feature in the
Control what to build when, with the Trigger Map guide.
We hope that you are as happy as we are to have this amazing tool inside Bitrise. Go ahead and try it out!
And as always, happy building!