我将 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 工作时这能工作?