問題描述:
Could not find 'ffi' (>= 1.15.0) among 93 total gem(s) (Gem::MissingSpecError)**
Checked in 'GEM_PATH=/Users/developerpp/.rvm/gems/ruby-2.7.4:/Users/developerpp/.rvm/rubies/ruby-2.7.4/lib/ruby/gems/2.7.0',
execute `gem env` for more information**
重新移除并安裝gem
gem uninstall --all
沒有權(quán)限
sudo gem uninstall --all
重新安裝
sudo gem install -n /usr/local/bin cocoapods
pod setup
目前為止cocoapods基本就可以了
我的本地還遇到如下警告
Ignoring ffi-1.15.4 because its extensions are not built. Try: gem pristine ffi --version 1.15.4
重新安裝一下提示的ffi
sudo gem install ffi