Make sure you have the latest version of the Xcode command line tools installed:
xcode-select --install
Install fastlane using
[sudo] gem install fastlane -NV
or alternatively using brew install fastlane
fastlane ios checkout
Checks out the sha specified in the environment variables or the main branch
fastlane ios analyze
Runs linting (and eventually static analysis)
fastlane ios verify_test_platforms
Runs tests on the primary platforms and configurations
fastlane ios verify_pull_request
Runs tests on select platforms for verifying pull requests
fastlane ios read_xcversion
Reads Xcode version from the .xcversion file and sets it using xcversion()
fastlane ios verify
Runs unit tests, generates reports.
fastlane ios record_visual_tests
Records visual tests.
fastlane ios set_build_number
Set the build number
fastlane ios set_version_number
Set version number
fastlane ios bump_patch
Increment the app version patch
fastlane ios bump_minor
Increment the app version minor
fastlane ios bump_major
Increment the app version major
fastlane ios change_version
Change version number and create PR with changes
fastlane ios tag
Add a build tag for the current build number and push to repo. While this tags a build, tag_release sets a release tag.
fastlane ios tag_release
Add a release tag for the latest beta and push to repo. For tagging non-releases, use tag
.
fastlane ios build
Build the app for distribution
fastlane ios deploy
Pushes both the production and staging apps to TestFlight and tags the release. Only releases to internal testers. (This is very similar to push_production
, although this command also tags the build in git.)
fastlane ios push_production
Updates version, builds, and pushes the production build to TestFlight. Only releases to internal testers.
fastlane ios push_staging
Updates version, builds, and pushes the staging build to TestFlight. Only releases to internal testers.
fastlane ios push_experimental
Updates version, builds, and pushes experimental build to TestFlight. Only releases to internal testers.
fastlane ios get_latest_tag_with_prefix
fastlane ios get_latest_build_number
fastlane ios get_recent_commits
fastlane ios push
updates version, builds, and pushes to TestFlight
fastlane ios upload_app_store_metadata
Upload app store metadata
fastlane ios dsyms
Download dSYMs from iTunes Connect
fastlane ios dsyms_alpha
fastlane ios dsyms_beta
fastlane ios dsyms_beta_app
This README.md is auto-generated and will be re-generated every time fastlane is run. More information about fastlane can be found on fastlane.tools. The documentation of fastlane can be found on docs.fastlane.tools.