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
下一篇: @class与#import