首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Ruby gem命令崩溃shell Fastlane & Cocoapods

Ruby gem命令崩溃shell Fastlane & Cocoapods
EN

Stack Overflow用户
提问于 2020-12-16 04:11:03
回答 1查看 160关注 0票数 0

我在运行fastlane和cocoapods一个月后遇到了一些问题。你知道问题出在哪里吗?尝试了RVM,更改了版本等,但都不起作用。

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

代码语言:javascript
复制
 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)
EN

回答 1

Stack Overflow用户

发布于 2020-12-16 04:38:03

您的帖子中没有包含minimal reproducible example,所以我不能确定这是否是问题所在,因为我看不出您是如何调用fastlane的。我建议你在问题中添加一个完整的MRE,这样人们就可以确切地看到你是如何做到这一点的。

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

代码语言:javascript
复制
$ fastlane --help
...
-v, --version        Display version information
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/65312993

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档