FastLane
The easiest way to automate building and releasing your iOS and Android apps
What is it?
Fastlane is the tool to release your iOS and Android app 🚀
It handles all tedious tasks, like generating screenshots, dealing with code signing, and releasing your application.
What can i do with fastlane?
- ✨ Connect iOS, Mac, and Android build tools into one workflow (both fastlane tools and third party tools).
- 🚝 Define different
deployment lanes
for App Store deployment, beta builds, or testing. - 🚢 Deploy from any computer, including a CI server.
- 🔧 Extend and customize functionality.
- 🎩 Easy setup assistant to get started in a few minutes.
- 💭 Never remember any difficult commands, just
fastlane.
- 📃 Store everything in Git. Never lookup build commands in
Jenkins
configs again. - ✉️ Automatically pass on information from one build step to another (e.g. path to the
ipa
file). - 🚀 Saves you hours for every app update you release.
- 🚠 Implement a fully working Continuous Delivery process.
- ✏️ Flexible configuration using a fully customizable
Fastfile.
- 🐣 Over 170 built-in integrations available.
- 💻 Support for iOS, macOS, and Android apps.
Installation
Make sure you have the latest version of the Xcode command line tools installed:
xcode-select --install
Choose your installation method:
Homebrew
brew cask install fastlane
Installer Script
Download the zip file. Then double click on the install
script (or run it in a terminal window).
Rubygems
sudo gem install fastlane -NV
How does work fastlane?
Use a lane to define your process:
lane :beta do
increment_build_number
cocoapods
match
testflight
sh "./customScript.sh"
slack
end
Then to deploy a new ‘beta’ version of your app just run fastlane beta
🚀.
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.
Available Commands
Typically you’ll use fastlane
by triggering individual lanes:
fastlane [lane_name]
Other Commands
fastlane actions
: List all availablefastlane
actionsfastlane action [action_name]
: Shows a more detailed description of an actionfastlane lanes
: Lists all available lanes with descriptionfastlane list
: Lists all available lanes without descriptionfastlane new_action
: Create a new action (integration) for fastlanefastlane env
: Print out the fastlane ruby environment when submitting an issue
If you’d like to take a look at a project already using fastlane
check out fastlane-examples which includes fastlane
setups by Wikipedia, Product Hunt, MindNode, and more.
Fastlane
Toolchain
In addition to fastlane
's commands, you also have access to these fastlane
tools:
deliver
: Upload screenshots, metadata, and your app to the App Storesupply
: Upload your Android app and its metadata to Google Playsnapshot
: Automate taking localized screenshots of your iOS and tvOS apps on every devicescreengrab
: Automate taking localized screenshots of your Android app on every deviceframeit
: Quickly put your screenshots into the right device framespem
: Automatically generate and renew your push notification profilessigh
: Because you would rather spend your time building stuff than fighting provisioningproduce
: Create new iOS apps on iTunes Connect and Dev Portal using the command linecert
: Automatically create and maintain iOS code signing certificatesspaceship
: Ruby library to access the Apple Dev Center and iTunes Connectpilot
: The best way to manage your TestFlight testers and builds from your terminalboarding
: The easiest way to invite your TestFlight beta testersgym
: Building your iOS apps has never been easiermatch
: Easily sync your certificates and profiles across your team using Gitscan
: The easiest way to run tests for your iOS and Mac apps