关于iOS报Could not find ‘minitest‘ (>= 5.1) among 39 total gem(s)的错误

Posted xiangzhihong8

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了关于iOS报Could not find ‘minitest‘ (>= 5.1) among 39 total gem(s)的错误相关的知识,希望对你有一定的参考价值。

最近,在运行Flutter项目的时候,执行pod install 命令,报了如下的错误:


/Library/Ruby/Site/2.6.0/rubygems/specification.rb:1413:in `rescue in block in activate_dependencies\': Could not find \'minitest\' (>= 5.1) among 39 total gem(s) (Gem::MissingSpecError)
Checked in \'GEM_PATH=/Users/myg/.gem/ruby/2.6.0:/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/gems/2.6.0:/usr/local/Cellar/cocoapods/1.11.3/libexec\' at: /usr/local/Cellar/cocoapods/1.11.3/libexec/specifications/activesupport-6.1.5.gemspec, execute `gem env` for more information
    from /Library/Ruby/Site/2.6.0/rubygems/specification.rb:1410:in `block in activate_dependencies\'
    from /Library/Ruby/Site/2.6.0/rubygems/specification.rb:1399:in `each\'
    from /Library/Ruby/Site/2.6.0/rubygems/specification.rb:1399:in `activate_dependencies\'
    from /Library/Ruby/Site/2.6.0/rubygems/specification.rb:1381:in `activate\'

以上是关于关于iOS报Could not find ‘minitest‘ (>= 5.1) among 39 total gem(s)的错误的主要内容,如果未能解决你的问题,请参考以下文章

pod lib lint xxx.podspec 验证出错 Could not find a `ios` simulator

解决报错:IncompleteElementException: Could not find result map...

flutter Could not find the built application bundle at build/ios/iphoneos/Runner.app.

有关JSF-JPA集成报 Could not find a setter for property message in class ..问题

STS报could not find tools.jar in the active JRE

Elasticsearch在winodws系统启动报could not find java+闪退