2017-05-23 5 views
3

자동 배포에는 Fastlane이 사용되기 시작했으며 매우 인상적인 도구 세트입니다.iOS Fastlane 배포 (TestFlight) - 베타 데모 자격 증명을 포함하는 방법?

하나의 신비, 그래도 : 어떻게 당신은 데모 계정 자격 증명 (사용자 이름 및 암호)를 전달 않으며, 애플의 TestFlight에 BETA 빌드를 제출할 때? 문서는 말하지 않는 것 같습니다. https://github.com/fastlane/fastlane/blob/master/deliver/Deliverfile.md [app_review_information 참조] :

여기에 단서 몇 것 같다 : https://github.com/fastlane/fastlane/blob/master/spaceship/lib/spaceship/test_flight/beta_review_info.rb https://github.com/fastlane/fastlane/blob/master/spaceship/spec/test_flight/app_test_info_spec.rb

그리고 실제 앱 스토어 제출이 정보를 전달하는 방법이 될 것 같지 않습니다 ...하지만 TestFlight 베타 버전은 아닙니다.

베타 업로드의 경우 어떻게합니까?

대단히 감사합니다!

답변

1

당신은 여기에 문서입니다 pilotdeliver

처럼 사용 Appfile를 사용해야합니다. https://docs.fastlane.tools/advanced/#control-configuration-by-lane-and-by-platform

예. 입니다 :

app_identifier ENV["app_identifierEnterprise"] # The bundle identifier of your app 
apple_id ENV["accountAppleId"] # Your Apple email address 
team_name ENV["teamNameEnterprise"] 
team_id ENV["teamIdEnterprise"] 

for_platform :ios do 

    for_lane :releaseBeta do 
     app_identifier ENV["app_identifier"] 
     apple_id ENV["accountAppleId"] 
     team_name ENV["teamName"] 
     team_id ENV["teamId"] 
    end 
end 

내가 (이 변수를 설정하는 파일) .env를 사용하지만, 그냥 ValueYouWant "이 도움이

희망"으로 [ "]"ENV를 교체해야합니다.

+0

정말 고마워요! 나는이 일을 할 수 없었습니다. – RonDiamond