
👋 들어가기 전
이전 시간에는 설치와 테스트를 진행해 봤다.
이번 포스팅에서는 출시와 배포를 한번 fastlane을 통해 진행해보자.
📦 Release
🔑 cert
배포 인증서를 fastlane을 통해 만들 수 있다.
필요한 재료는 단지 appleID와 applePassword만 알려주면된다.
fastlane cert
위 명령어를 입력한 후, 언급한 2가지 정보를 넣어주면
짜잔

2월 12일 현재 Distribution Certificate가 생성됐다.
🛸 extract ipa
ipa 파일 추출
desc "extract lane"
lane :extract_app do
gym(
project: "CI-CD-Practice.xcodeproj",
scheme: "CI-CD-Practice",
clean: true,
export_xcargs: "-allowProvisioningUpdates", # 자동으로 프로비저닝 프로파일을 업데이트'
output_name: "CI-CD-Practice.ipa"
)
end
실행하면 다음과 같이 dSYM과 ipa 파일이 추출된다.

✈️ deploy
이제 Appfile을 사용할 때다.
P.S 이부분은 추후 실제 프로젝트를 적용하며서 이어 나가겠다..
출처
https://docs.fastlane.tools/actions/deliver/
deliver - fastlane docs
<!-- This file is auto-generated and will be re-generated every time the docs are updated. To modify it, go to its source at https://github.com/fastlane/fastlane/blob/master/fastlane/lib/fastlane/actions/deliver.rb --> deliver Alias for the upload_to_app_s
docs.fastlane.tools
'CI-CD' 카테고리의 다른 글
Fastlane (1) 설치 및 테스트 (0) | 2025.02.12 |
---|---|
xcodebuild (0) | 2025.02.12 |