Mobile apps

What is fastlane?

fastlane is an open-source toolset that automates the repetitive steps of releasing mobile apps: incrementing build numbers, running tests, code signing, creating screenshots, uploading to TestFlight or Google Play and filling in release notes.

How it is used

Teams write lanes in a Fastfile, each a named sequence of actions such as test, beta or release. A developer or a CI server then runs a single command to repeat the exact same steps every time.

Why that matters

Manual releases mean clicking through Xcode and consoles, which invites forgotten steps and version number mistakes. Automated lanes make releases boring, which is the goal.

Useful parts

  • match shares signing certificates across a team through an encrypted store.
  • gym builds the iOS app and pilot uploads it to TestFlight.
  • supply pushes Android builds and listings to Google Play.
  • snapshot and screengrab capture localized store screenshots.

Notes

It needs API keys for both stores kept as CI secrets. Other options include Codemagic, Bitrise and GitHub Actions, which often call fastlane underneath.

Questions, answered

Not at first. It pays off once you release regularly or have more than one developer.

No, it is the release script that a CI service runs.

By the Stegnor team · Updated