Development CS Software Engineering CI/CD [CI/CD] fastlane 설치하기

개요

macOS에서 fastlane을 설치하는 방법을 정리한다.

정리

1. Xcode command line tools 설치

xcode-select --install
  • 이미 설치가 되어 있다면 다음 단계로 넘어가도 된다.

2. 방법 1. Managed Ruby environment + Bundler (macOS/Linux/Windows)

2.1. Ruby 버전 확인

ruby --version
  • fastlane supports Ruby versions 2.5 or newer. (2021. 10. 16 기준)

2.2. Bundler 설치

gem install bundler

2.3. Homebrew로 설치

brew install fastlane

3. 방법 2. System Ruby + RubyGems (macOS/Linux/Windows)

3.1. RubyGems로 설치

sudo gem install fastlane
  • System Ruby를 사용하는 이 설치 방법은 macOS 환경에서 권장되지 않는다.

4. 설치 확인

fastlane -v

참고

댓글남기기