我尝试将apple ID作为命令行选项传递给Fastlane,以便所有用户和构建服务器都可以使用相同的脚本。
MacBook-Pro-6:whisper-ios Nick$ fastlane hockeyglobal username:nlocking@whisper.sh
[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:nlocking@whisper.sh似乎完全没有被Fastlane注意到,就像apple_id:nlocking@whisper.sh,-u nlocking@whisper.sh和我尝试过的其他所有东西一样。我做错了什么?
发布于 2017-01-20 02:39:06
尝试删除用户名,在应用程序文件中仅添加app_identifier、apple_id (电子邮件)和team_id
发布于 2017-07-19 05:23:42
它将在您的fastlane/Appfile中使用apple_id的值。确保从fastlane/所在的文件夹中运行该命令。
发布于 2018-02-16 22:37:00
不确定hockeyglobal通道,但通常传递username参数的正确语法如下:
fastlane hockeyglobal --username 'nlocking@whisper.sh'例如,对于默认的cert通道,这是可行的:
fastlane cert --username 'me@myemailcom'或
fastlane cert -u 'me@myemailcom'https://stackoverflow.com/questions/38215006
复制相似问题