Skip to content

Commit be6c78e

Browse files
authored
[#225] 테스트플라이트 자동 배포가 실패하는 현상을 해결한다 (#238)
* style: 정확하게 테플이라는 이름 명시 * refactor: 앱 빌드 시간 단축 * chore: fastlane/README.md 추적 끄기 * test: lint 모듈 validation 스킵 * fix: 내부 testflight 이름과 겹치는 현상 수정 * fix: export_method 수정 * chore: 테스트플라이트 CI 배포 서명 설정 수정 * chore: 테스트플라이트 CI 서명 옵션 보정 * fix: fastlane 배포용 인증서 설치 흐름 수정 * feat: Apple Store Connect에 올라간 최신 빌드 번호 + 1 형태로 새 빌드 번호를 규정하도록 추가 * feat: 타깃의 Release 서명을 수동으로 고정 * style: 문자열 상수화 * fix: Apple Store Connect에서 최신 빌드번호를 조회하지 못하는 이슈 해결 * fix: fastlane 대신 spaceship을 통해 가져오도록 변경 * fix: CI 환경에서 시크릿키로 생성되는 p8 파일 위치를 찾지 못하는 현상 해결 * fix: 경로 이슈 해결 * test: 토큰 재생성 대신 기존에 생성한 것을 그대로 사용하도록 수정 * refactor: api_key 자체를 넘기도록 개선
1 parent b01b883 commit be6c78e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

fastlane/Fastfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@ platform :ios do
88
private_lane :fetch_latest_testflight_build_number do |options|
99
require "spaceship"
1010

11+
apiKey = options[:api_key]
1112
versionNumber = options[:version]
1213

14+
Spaceship::ConnectAPI.token = Spaceship::ConnectAPI::Token.create(**apiKey)
15+
1316
app = Spaceship::ConnectAPI::App.find(APP_IDENTIFIER)
1417
UI.user_error!("Could not find app for #{APP_IDENTIFIER}") if app.nil?
1518

@@ -57,6 +60,7 @@ platform :ios do
5760
)
5861

5962
latestTestflightBuildNumber = fetch_latest_testflight_build_number(
63+
api_key: api_key,
6064
version: versionNumber
6165
)
6266

0 commit comments

Comments
 (0)