2016-07-06 29 views
4

我試圖通過命令行選項將Apple ID傳遞給Fastlane,以便所有用戶和我們的構建服務器都可以使用相同的腳本。如何在Fastlane的命令行中指定用戶名?

MacBook-Pro-6:whisper-ios Nick$ fastlane hockeyglobal username:[email protected] 
[18:00:44]: ------------------------------------------------- 
[18:00:44]: --- Step: Verifying required fastlane version --- 
[18:00:44]: ------------------------------------------------- 
[18:00:44]: fastlane version valid 
[18:00:44]: ------------------------------ 
[18:00:44]: --- Step: default_platform --- 
[18:00:44]: ------------------------------ 
[18:00:44]: Driving the lane 'hockeyglobal' 
[18:00:44]: ------------------ 
[18:00:44]: --- Step: sigh --- 
[18:00:44]: ------------------ 

+-------------------------------------+-----------------------+ 
|     Summary for sigh 1.8.0     | 
+-------------------------------------+-----------------------+ 
| adhoc        | true     | 
| skip_install      | false     | 
| development       | false     | 
| force        | false     | 
| app_identifier      | sh.whisper.whisperapp | 
| team_id        | B3NYR7PARX   | 
| ignore_profiles_with_different_name | false     | 
| skip_fetch_profiles     | false     | 
| skip_certificate_verification  | false     | 
+-------------------------------------+-----------------------+ 

[18:00:45]: To not be asked about this value, you can specify it using 'username' 
Your Apple ID Username: 

令人惱火,username:[email protected]似乎通過FASTLANE去完全被忽視一樣,apple_id:[email protected]-u [email protected]和其他一切我試過。我究竟做錯了什麼?

回答

0

嘗試刪除用戶名,只添加app_identifierapple_id(電子郵件)和team_id在Appfile

1

它將使用的apple_id值在fastlane/Appfile。確保您運行從fastlane/是在文件夾中的命令

0

不能確定hockeyglobal車道,但一般正確的語法傳遞username參數情況如下:

fastlane hockeyglobal --username '[email protected]' 

例如默認cert車道這部作品:

fastlane cert --username '[email protected]' 

fastlane cert -u '[email protected]' 
相關問題