Skip to content

Instantly share code, notes, and snippets.

@sag333ar
Created July 24, 2022 06:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sag333ar/cfd84c4c97e80d252654c4d5bf8ebb36 to your computer and use it in GitHub Desktop.
Save sag333ar/cfd84c4c97e80d252654c4d5bf8ebb36 to your computer and use it in GitHub Desktop.
How to setup up fastlane on your new iOS project.

Step 1:

bundle init

Step 2:

vi Gemfile

source "https://rubygems.org"

gem "fastlane"

Step 3:

bundle install

Step 4:

bundle exec fastlane init

Step 5:

Select TestFlight option

2. 👩‍✈️ Automate beta distribution to TestFlight

Step 6:

Enter your apple id & password

Step 7:

Enter 6 digit code in case 2-fa is enabled.

Step 8:

setup match

bundle exec fastlane match init

and provide private git repo url

Step 9: setup dev env

bundle exec fastlane match development

to set up dev certs & prov profs

Step 10: setup prod env

bundle exec fastlane match appstore

to set up prod certs & prov profs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment