【问题标题】:Ruby gem command crash shell Fastlane & CocoapodsRuby gem 命令崩溃 shell Fastlane & Cocoapods
【发布时间】:2020-12-15 20:11:03
【问题描述】:

我在运行 fastlane 和 cocoapods 一个月时遇到问题。知道是什么问题吗?尝试了 RVM,更改版本等,但没有任何效果。

我重新安装了 fastlane,然后 cocopoda 又开始工作了。现在 fastlane 不工作了,下面报错。

 It seems like you wanted to load some plugins, however they couldn't be loaded
[22:05:14]: Please follow the troubleshooting guide: https://docs.fastlane.tools/plugins/plugins-troubleshooting/
Traceback (most recent call last):
    8: from /usr/local/bin/fastlane:23:in `<main>'
    7: from /usr/local/bin/fastlane:23:in `load'
    6: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.170.0/bin/fastlane:23:in `<top (required)>'
    5: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.170.0/fastlane/lib/fastlane/cli_tools_distributor.rb:119:in `take_off'
    4: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.170.0/fastlane/lib/fastlane/commands_generator.rb:41:in `start'
    3: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.170.0/fastlane/lib/fastlane/commands_generator.rb:352:in `run'
    2: from /Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
    1: from /Library/Ruby/Gems/2.6.0/gems/fastlane-2.170.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:50:in `run!'
/Library/Ruby/Gems/2.6.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:411:in `parse_global_options': ambiguous option: --v (OptionParser::AmbiguousOption)

【问题讨论】:

    标签: ruby rubygems cocoapods fastlane


    【解决方案1】:

    您的帖子中没有包含minimal reproducible example,所以我不能确定这是否是问题所在,因为我看不到您是如何调用 fastlane 的。我建议您在问题中添加完整的 MRE,以便人们可以准确地看到您是如何到达现在的位置的。

    也就是说,您可能正在运行fastlane --v 而不是fastlane -v

    $ fastlane --help
    ...
    -v, --version        Display version information
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2021-10-22
      • 1970-01-01
      • 1970-01-01
      • 2023-03-26
      • 1970-01-01
      • 2021-11-03
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多