iOS Fastlane Setup
This is a guideline for installing fastlane on your mac.
1- Install Xcode command line tools:
xcode-select — install
2- Install Homebrew:
3- Install ruby. Ruby is already installed on Mac but I highly recommend to install a new version with brew. Check below links if you encounter any problem:
brew install ruby
How do I install ruby gems on Mac
Thanks for contributing an answer to Stack Overflow! Please be sure to answer the question. Provide details and share…
Installing Ruby gems not working with Home Brew
Homebrew is nice. However unlike brew and npm, gem doesn't make aliases in /usr/local/bin automatically. I went for a…
4- Install bundler:
Bundler: The best way to manage a Ruby application's gems
Bundler provides a consistent environment for Ruby projects by tracking and installing the exact gems and versions that…
5- Install fastlane:
sudo gem install fastlane
6- Run the command below to check if fastlane is installed:
7- Go to your project’s root directory and run the command below to initialize fastlane in your project.
This will create Gemfile and also a fastlane directory in your project. Now you are ready to create your custom lanes in your Fastfile.