bundler로 fastlane 설치 및 환경설정

brew 나 ruby로 fastlane을 설치할 수 있는데 bundler를 가장 추천한다고 함.

이유는 버전과 종속성을 명확하게 정의 할 수 있고 fastlane 실행 속도도 올려준다고 함. → This will clearly define the fastlane version to be used and its dependencies, and will also speed up fastlane execution.

gem install bundler

설치 후 루트/Gemfile 내에 아래 내용 포함해서 설정

source "[<https://rubygems.org>](<https://rubygems.org/>)"

gem "fastlane"

bundle update 를 통해 fastlane 설치

app store connect 앱 생성

스크린샷 2025-05-10 오전 12.58.22.png

fastlane 설정

루트 폴더에서 fastlane init 입력 아래처럼 묻는 메시지가 나옴

(base) ParkGyurim@ParkGyurim-MacBook-Pro [프로젝트이름] % fastlane init
[✔] 🚀
[✔] Looking for iOS and Android projects in current directory...
[10:07:25]: Created new folder './fastlane'.
[10:07:25]: Detected an iOS/macOS project in the current directory: '[프로젝트이름].xcworkspace'
[10:07:25]: -----------------------------
[10:07:25]: --- Welcome to fastlane 🚀 ---
[10:07:25]: -----------------------------
[10:07:25]: fastlane can help you with all kinds of automation for your mobile app
[10:07:25]: We recommend automating one task first, and then gradually automating more over time
[10:07:25]: What would you like to use fastlane for?
1. 📸  Automate screenshots
2. 👩‍✈️  Automate beta distribution to TestFlight
3. 🚀  Automate App Store distribution
4. 🛠  Manual setup - manually setup your project to automate your tasks
?

testFlight인 2번 엔터 후 메일 계정 입력하면 ios/fastlane 폴더 내에 Appfile과 Fastfile 생성