Launch offer: the first 1,000 users get Settl free for a year* Claim your spot
settlbuilding in public

fastlane: ship your iPhone and Android app with one command

The short version

fastlane is a free, open-source tool (MIT licence, over 42,000 stars on GitHub) that automates building and releasing iOS and Android apps. You write your release steps once in a file called a Fastfile. After that, one command builds your app, signs it and uploads it: fastlane beta sends a build to your TestFlight testers, and the Android lane sends one to Google Play.

It runs on your own machine, so there is no service to sign up for. The tool is free. Apple's developer programme and a Google Play developer account are the stores' own fees, and fastlane does not change those.

Links: github.com/fastlane/fastlane and docs.fastlane.tools.

What you want The fastlane piece Example
Put a build in front of testers (iOS) upload_to_testflight fastlane beta
Put a build in front of testers (Android) upload_to_play_store fastlane android beta
Ship to the App Store upload_to_app_store fastlane release
Make store screenshots in many languages capture_screenshots fastlane screenshots
Upload the store text with the build fastlane/metadata/ files name.txt, description.txt

Copy these prompts

Paste them into Claude Code (or any AI that can see your project). None of them need your passwords or keys.

1. Set fastlane up in my project

Look at my mobile project (Flutter, React Native, Swift or Kotlin) and set up fastlane. Tell me the exact install command for my machine, where to run `fastlane init` (for Flutter that is inside ios/ and inside android/), and write a Fastfile with one beta lane per platform. The iOS lane should bump the build number, build the app and upload to TestFlight. The Android lane should build the bundle and upload to the internal testing track. Do not put any key, password or token in a file; tell me which values I have to set as environment variables and where to get them.

2. Review my release steps

Read my Fastfile and my release notes or checklist. List every manual step I still do by hand to ship a build (version bump, signing, upload, release notes, screenshots). For each one say whether a fastlane action already does it, and write the lane that would replace it. Flag anything in the Fastfile that looks like a secret.

3. Automate my store screenshots

My app should have store screenshots in these languages: [list]. Set up fastlane screenshots (capture_screenshots / snapshot) so one command takes them on the simulator sizes the App Store needs. Show me the UI test I need to add, the Snapfile, and how the images end up in fastlane/screenshots/<language>/ ready for upload_to_app_store.

Why it matters

Shipping a build by hand is a dozen clicks in Xcode, App Store Connect, Android Studio and the Play Console, and any of them can go wrong. Written once as lanes, the same steps run the same way every time, on your laptop or on a CI server. That is why a one-person app can release as often as a team.

The beta lane

This is the iOS beta lane from the fastlane docs. Three actions in order:

lane :beta do
  increment_build_number
  build_app
  upload_to_testflight
end

You run it with fastlane beta. It bumps the build number, builds the app and uploads it to TestFlight so your testers get it.

Setup checklist

  1. Install it: brew install fastlane (or gem install fastlane) on a Mac with Xcode installed.
  2. In your project folder run fastlane init. For a Flutter app, run it inside ios/ and again inside android/.
  3. Add one beta lane per platform to the Fastfile (prompt 1 above writes it for you).
  4. iOS: create an App Store Connect API key in App Store Connect and let fastlane use it through the app_store_connect_api_key action, so uploads do not ask for your Apple password.
  5. Android: create a Google Play service account, give it release access in the Play Console, and point fastlane at its JSON key.
  6. Keep every key file out of git. Add it to .gitignore before the first commit.
  7. Run fastlane beta once by hand and watch the build appear in TestFlight or on the Play internal track.

If you are building

Run this on your codebase

Review my mobile project as a release pipeline. Tell me every step it takes today from "code merged" to "build in testers' hands" and to "live in the store", which of them are manual, and which fastlane lanes would replace them. Write the Fastfile for the first two. List the keys and accounts I must create myself, and where each one goes (environment variable, not a file in git). Finish with the one step worth automating first and how I will know it worked.

Get the next one in your inbox