Mobile Fastlane

Lanes and commands

Last updated 2026-10-07

Always run through Bundler from the project root. Pass the environment as environment:<name>, or set APP_ENV.

CommandWhat it does
bundle exec fastlane init_projectInteractive: generates fastlane/config/environments.yml
bundle exec fastlane setupInteractive: reuse or create a setup (platform, env, flavor, APK/AAB…), then run it
bundle exec fastlane run_profile name:<profile>Runs a saved profile without prompts (dry_run:true = doctor + info only)
bundle exec fastlane profilesLists saved profiles and the last one used
bundle exec fastlane android doctor environment:stagingValidates config, Gradle wrapper, Gradle task, artifact type, Firebase app id/groups/credentials, AI test setup
bundle exec fastlane android info environment:stagingPrints resolved config (no secrets)
bundle exec fastlane android build environment:stagingGradle build → finds artifact → copies named file to dist/
bundle exec fastlane android distribute environment:stagingFull pipeline
bundle exec fastlane android development / staging / uat / productionShortcuts for distribute
bundle exec fastlane ios doctor environment:stagingpod install, workspace, shared scheme, signing inputs, API key
bundle exec fastlane ios info environment:stagingPrints resolved iOS config
bundle exec fastlane ios build environment:stagingpod install → signing → build number → signed IPA in dist/ios/<env>/
bundle exec fastlane ios distribute environment:stagingBuild + upload to TestFlight (+ external groups)
bundle exec fastlane ios development / staging / uat / productionShortcuts for distribute
bundle exec fastlane lanesList all lanes
my-app — zsh
~/my-app $ bundle exec fastlane lanes
--------- general---------
----- fastlane init_project
Interactive one-time project setup: generates fastlane/config/environments.yml
----- fastlane setup
Interactive build setup: reuse a saved setup or create a new one, then run it
----- fastlane run_profile
Run a saved setup profile without prompts (CI friendly). Options: name:<profile> dry_run:true
--------- android---------
----- fastlane android doctor
Validate the Android Fastlane distribution configuration
----- fastlane android distribute
Build and distribute the Android application using Firebase App Distribution
fastlane lanes prints every lane with its description (shortened).

Official documentation

Was this helpful?