CocoaPods 更新产生错误加载插件 `slather-2.4.9`

标签 cocoapods

有谁知道为什么我在 Mac 上使用最新的 CocoaPods 时可能会遇到严重错误?

容器更新

---------------------------------------------
Error loading the plugin `slather-2.4.9`.

Gem::ConflictError - Unable to activate slather-2.4.9, because activesupport-5.2.6 conflicts with activesupport (>= 4.0.2, < 5)
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:2302:in `raise_if_conflicts'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/specification.rb:1418:in `activate'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command/plugin_manager.rb:93:in `safe_activate_and_require'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command/plugin_manager.rb:31:in `block in load_plugins'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command/plugin_manager.rb:30:in `map'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command/plugin_manager.rb:30:in `load_plugins'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:326:in `block in run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:325:in `each'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:325:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.11.2/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'
----------------------------------

最佳答案

我遇到了完全相同的问题:加载插件``slather-2.4.9``时出错。,但使用另一个项目。

这对我有用:

sudo gem update slather

关于CocoaPods 更新产生错误加载插件 `slather-2.4.9`,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/69377471/

相关文章:

ios - Travis-CI 错误为 "eval pod install"

iOS 项目构建正常,但是当针对缺少 cocoapods 库的测试投诉构建时?

swift - 在 pod 中使用本地化

ios - 无法使用适用于 iOS 的 Google Analytics(分析)

ios - 使用 CocoaPods 在多个目标中引用 Firebase 时,构建运行但存档失败

xcode - 为什么我会收到此错误 : 'import of module appears within namespace' on xcode with react-native?

ios - bundle 无效, bundle 包含不允许的嵌套 bundle ,包含不允许的文件 'Frameworks'

swift - 无法使用 cocoaPods 下载库

ios - 访问嵌套完成 block 时崩溃 -- EXC_BAD_ACCESS

ios - 如何对 Cocoapods 安装进行 nuke 并从 Github master 开始