Using Fastlane to automate beta deployments and releases for your iOS and Android apps

Installing fastlane

RubyGems (macOS/Linux/Windows)

sudo gem install fastlane -NV

Homebrew (macOS)

brew install fastlane

Setting up fastlane

Navigate to your iOS or Android app and run

fastlane init

You may be prompt to log in to the Apple Developer Account in this step.

Loading Environment Variables from .env

ios/fastlane/Appfile

apple_id("user@mvpfastlane.com") # Your Apple email address

# should be

apple_id ENV["APPLE_ID"]

Codesigning

using match

You need to create a repo for match to store your private keys and certificates in a git repo to sync them across machines.

Last updated

Was this helpful?