我在运行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)发布于 2020-12-16 04:38:03
您的帖子中没有包含minimal reproducible example,所以我不能确定这是否是问题所在,因为我看不出您是如何调用fastlane的。我建议你在问题中添加一个完整的MRE,这样人们就可以确切地看到你是如何做到这一点的。
也就是说,可能是您运行的是fastlane --v而不是fastlane -v
$ fastlane --help
...
-v, --version Display version informationhttps://stackoverflow.com/questions/65312993
复制相似问题