Could not find 'ffi' (>= 1.3.0) among 117 total gem(s) (Gem::MissingSpecError) Checked in 'GEM_PA...

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

你可能感兴趣的:(Could not find 'ffi' (>= 1.3.0) among 117 total gem(s) (Gem::MissingSpecError) Checked in 'GEM_PA...)