【发布时间】:2020-10-06 19:07:40
【问题描述】:
我将 fastlane 更新到最新版本 (2.162.0)
现在,当我尝试运行 fastlane buildApp 时,它会出错并永远挂起,只有一个输出:
fastlane 完成错误
终端输出:
% fastlane buildApp
[✔] ????
[14:59:43]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
[14:59:44]: ------------------------------
[14:59:44]: --- Step: default_platform ---
[14:59:44]: ------------------------------
[14:59:44]: Driving the lane 'ios buildApp' ????
+------------------+--------------+
| Lane Context |
+------------------+--------------+
| DEFAULT_PLATFORM | ios |
| PLATFORM_NAME | ios |
| LANE_NAME | ios buildApp |
+------------------+--------------+
+------+------------------+-------------+
| fastlane summary |
+------+------------------+-------------+
| Step | Action | Time (in s) |
+------+------------------+-------------+
| 1 | default_platform | 0 |
+------+------------------+-------------+
[14:59:45]: fastlane finished with errors
但是,如果我直接在终端中运行 match 命令,它就可以正常工作。
fastlane match appstore --force=true --app_identifier=com.MyCompany.AppName
Fastfile(精简以重现问题)
default_platform(:ios)
platform :ios do
lane :buildApp do
match(force: "true", type:"appstore", app_identifier: "com.MyCompany.AppName")
end
end
所以我的问题是,为什么直接在控制台中输入时它可以工作,但不再通过我的 Fastfile 工作?
【问题讨论】: