Fastlane

Fastlane

Setup

Ruby bundler installation is a prerequisite. To install and run fastlane commands on macOS or any unix environment.

Commands

bundle exec fastlane ea

bundle exec fastlane increment_build

bundle exec fastlane increment_version

Setup

fastlane docs
github actions integration

Issues

Environment Variables

Make dotEnv .env file in order to quickly import appropriate Environment variables in the build system.

Fastfile config file


platform :ios do
  before_all do
    Dotenv.load ".env.ios"
  end

  lane: beta do
    match
    deliver
  end
end

https://docs.fastlane.tools/best-practices/keys/

https://www.runway.team/blog/better-fastlane-with-environments

Resources

Implementing fastlane from nothing to App Store

Raywenderlich

Docs

Medium

Another Medium article for Github Actions and fastlane

Runway - How to set up a CI/CD pipeline for your iOS app using fastlane and GitHub Actions

Gitlab and Fastlane

A Complete Guide to iOS App Auto Deployment with CI-CD