Fastlane
Updraft now supports even faster and easier application deployment with our new Fastlane Plugin.
If you are into iOS development, you have probably heard of Fastlane, the handy tool suite that allows you to script everything from generating screenshots and running tests to deploying your app to the App Store.
There are a number of sub-sections on this page:

Installation

Make sure you have the latest version of the Xcode command line tools installed:
1
xcode-select --install
Copied!

Choose your installation method:

Homebrew
Installer Script
Rubygems
macOS
macOS
macOS or Linux with Ruby 2.0.0 or above
brew cask install fastlane
Download the zip file. Then double click on the install script (or run it in a terminal window).
sudo gem install fastlane -NV

Importing Actions for Updraft Fastlane

Once you have set up Fastlane for your project, Import the available actions into your Fastfile by addingimport_from_git(url: "https://github.com/appswithlove/fastlane_tools.git", version: "~>1.0.0") to the top of your existing Fastfile. https://github.com/appswithlove/fastlane_tools

Configuration

Store all your configuration values in .env files. These files can be named to suit your needs, e.g. .env.appstore Then call fastlane with the env parameter, e.g. fastlane deploy_appstore --env appstore

Available Actions

ensure_appstore_environment

1
fastlane ensure_appstore_environment
Copied!
Makes sure the current environment values match the necessary values for an App Store build

ensure_correct_branch

1
fastlane ensure_correct_branch
Copied!
Ensure the user is on the correct git branch, otherwise prompt to change it

ensure_correct_version

1
fastlane ensure_correct_version
Copied!
Ensure the version number is correct, otherwise prompt the user and change it

Fastlane Updraft

1
fastlane updraft
Copied!
Upload a release produced by Gym to Updraft for testing

post_build_notification

1
fastlane post_build_notification
Copied!
Send local and Slack notification for uploaded builds

finish_release

1
fastlane finish_release
Copied!
Prompts the user to tag and push the release accordingly
More information about fastlane can be found on fastlane.tools. The documentation of fastlane can be found on docs.fastlane.tools.
Last modified 3yr ago