Skip to content

Commit b8f9dc8

Browse files
committed
test: CI 환경에서는 ipa 위치 못찾는 현상 해결 테스트
1 parent 459b8a0 commit b8f9dc8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

fastlane/Fastfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,9 @@ platform :ios do
119119

120120
lane :upload_testflight_build do
121121
api_key = asc_api_key
122+
# lane_context는 같은 fastlane 실행 내에서만 유지되므로, 별도 CI step에서는 고정 ipa 경로를 사용한다.
122123
ipa_output_path = lane_context[SharedValues::IPA_OUTPUT_PATH].to_s
124+
ipa_output_path = File.expand_path(TESTFLIGHT_IPA_OUTPUT_PATH, Dir.pwd) if ipa_output_path.empty?
123125

124126
UI.user_error!("Missing built ipa at #{ipa_output_path}") if !File.exist?(ipa_output_path)
125127

0 commit comments

Comments
 (0)