
fastlane
fastlane is the easiest way to automate beta deployments and releases for your iOS and Android apps. π It handles all tedious tasks, like generating screenshots, dealing with code signing, and releasing your application.
You can start by creating a Fastfile file in your repository, hereβs one that defines your beta or App Store release process:
lane :beta do
increment_build_number
gym # Build your app
testflight # Upload to TestFlight
end
lane :appstore do
snapshot # Generate screenshots for the App Store
gym # Build your app
deliver # Upload the screenshots and the binary to iTunes
slack # Let your team-mates know the new version is live
end
You just defined 2 different lanes, one for beta deployment, one for App Store. To release your app in the App Store, all you have to do is
fastlane appstore
Why fastlane?
| fastlane | |
|---|---|
| π | Save hours every time you push a new release to the store or beta testing service |
| β¨ | Integrates with all your existing tools and services (170 actions currently) |
| π | 100% open source under the MIT license |
| π© | Easy setup assistant to get started in a few minutes |
| β | Runs on your machine, it's your app and your data |
| π» | Integrates with all major CI systems |
| π₯ | Supports iOS, Mac, and Android apps |
| π§ | Extend and customise fastlane to fit your needs, you're not dependent on anyone |
| π | Never remember any commands any more, just fastlane |
| π’ | Deploy from any computer, including a CI server |
Getting Started
Make sure you have the latest version of the Xcode command line tools installed:
xcode-select --install
Choose your installation method:
| Homebrew | Installer Script | Rubygems |
|---|---|---|
| macOS | macOS | macOS or Linux with Ruby 2.0.0 or above |
brew cask install fastlane |
Download the zip file. Then double click on the install script (or run it in a terminal window). |
sudo gem install fastlane -NV |
Navigate to your iOS or Android app and run
fastlane init
fastlane will automatically detect your project, and ask for any missing information.
For more details about how to get up and running, check out the getting started guides:
Using the Fabric app
If you're not familiar with the terminal and prefer a graphical user interface, download the Fabric app and use the built-in fastlane button.
Questions and support
All fastlane related questions, problems and feature ideas should be posted as GitHub issue. This way, other users can search existing discussions, and everybody can jump in.
System requirements
fastlane requires macOS or Linux with Ruby 2.0.0 or above
License
This project is licensed under the terms of the MIT license. See the LICENSE file.
This project and all fastlane tools are in no way affiliated with Apple Inc or Google. This project is open source under the MIT license, which means you have full access to the source code and can modify it to fit your own needs. All fastlane tools run on your own computer or server, so your credentials or other sensitive information will never leave your own computer. You are responsible for how you use fastlane tools.

