


Note that if you want to create your first app on your App Store Connect account, you need to set the developer name ( company_name) with PRODUCE_COMPANY_NAME environment variable: PRODUCE_COMPANY_NAME="YOUR COMPANY NAME" fastlane init Navigate your terminal to your project's directory and run fastlane init Using sudo often occurs unwanted results later due to file permission and makes managing your environment harder.
#Ubuntu .bundle files install#
This is not recommended for your local environment, but you can still install fastlane to system Ruby's environment. System Ruby + RubyGems (macOS/Linux/Windows) This way, you don't have to install Ruby separately, and instead homebrew installs the adequate Ruby version for fastlane.
#Ubuntu .bundle files update#
To update fastlane, just run bundle update fastlane.On your CI, add bundle install as your first build step.Every time you run fastlane, use bundle exec fastlane.Gemfile in the root directory of your project with the content Install Bundler by running gem install bundler.This will clearly define the fastlane version to be used and its dependencies, and will also speed up fastlane execution. It is recommended that you use Bundler and Gemfile to define your dependency on fastlane. Verify which Ruby version you're using: $ ruby -version For macOS and Linux, rbenv is one of the most popular ways to manage your Ruby environment.įastlane supports Ruby versions 2.5 or newer.

There is a variety of ways to install Ruby without having to modify your system environment. If you use macOS, system Ruby is not recommended. Managed Ruby environment + Bundler (macOS/Linux/Windows) It is possible to use macOS's system Ruby, but it's not recommended, as it can be hard to manage dependencies, and causes conflicts. fastlane can also be installed directly through with Homebrew (if on macOS). Getting started with fastlane for iOS Setup Xcode for fastlane Xcode command line tools (macOS) xcode-select -installįastlane can be installed in multiple ways.
