

What's next?įastlane created all the required files for you. The most interesting file is fastlane/Fastfile, which contains all the information that is needed to distribute your app.
#Mac install xcode from command line download
If you chose to download the existing app metadata, you'll end up with new folders that look like this: See Fastlane.swift docs for more information.ĭepending on what kind of setup you choose, different files will be set up for you. To have your Fastfile configuration written in Swift (Beta) fastlane init swift To get more information check company_name description in the Create app documentation. 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. 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.
#Mac install xcode from command line 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

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.
