In order to configure fastlane on iOS, follow these steps:
- Open a Terminal window and install the Xcode command-line tools by typing the following command:
xcode-select --install
- If brew is not installed on your system yet, install it by typing the following:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Install fastlane with the following command:
brew install fastlane
- Initialize fastlane with the following command:
fastlane init
- When prompted, choose the Automate app store distribution option.
- When prompted, insert your developer Apple ID username and password.
- If appropriate, answer yes (y) at the prompt to create the App Store Connect app.
- At the end of the process, fastlane should have been correctly configured for iOS distribution.