Ruby gem 命令崩溃 shell Fastlane 和 Cocoapods

问题描述 投票:0回答:1

我在运行 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个回答
0
投票

我看不出您如何调用 Fastlane。也就是说,您可能正在运行

fastlane --v
而不是
fastlane -v
:

$ fastlane --help
...
-v, --version        Display version information
© www.soinside.com 2019 - 2024. All rights reserved.