【问题标题】:Fastlane finished with errors - Match - no error messageFastlane 以错误结束 - 匹配 - 没有错误消息
【发布时间】: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 工作?

【问题讨论】:

    标签: fastlane fastlane-match


    【解决方案1】:

    经过几个小时尝试不同的事情,我终于跑了:

    sudo gem clean
    

    现在它按预期工作-_-

    把它放在这里以防其他人感到沮丧!

    【讨论】:

      猜你喜欢
      • 2021-09-23
      • 2012-10-29
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-08-03
      • 1970-01-01
      相关资源
      最近更新 更多