欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Could not find ‘ffi‘ (>= 1.3.0) among 117 total gem(s) (Gem::MissingSpecError) Checked in ‘GEM_PATH=

程序员文章站 2022-03-09 20:08:08
...
pod install

安装报错

Could not find ‘ffi’ (>= 1.3.0) among 117 total gem(s) (Gem::MissingSpecError)
Checked in ‘GEM_PATH=/Users/zhaosn/.rvm/gems/ruby-3.0.0:/Users/zhaosn/.rvm/rubies/ruby-3.0.0/lib/ruby/gems/3.0.0’, execute gem env for more information

经分析,可能是ffi版本不一致。

解决:

brew reinstall cocoapods
brew link --overwrite cocoapods
相关标签: git cocoa