pod install

2022-04-14  本文已影响0人  开洋_shen
pod install
/Library/Ruby/Site/2.0.0/rubygems.rb:250:in `find_spec_for_exe': can't find gem cocoapods (>= 0.a) (Gem::GemNotFoundException)
from /Library/Ruby/Site/2.0.0/rubygems.rb:278:in `activate_bin_path'
from /usr/local/bin/pod:22:in `<main>'

第一步
重新安装

rvm reinstall ruby --disable-binary

第二步
卸载安装的cocoapods

sudo gem uninstall cocoapods

第三步

安装

sudo gem install -n /usr/local/bin cocoapods
上一篇下一篇

猜你喜欢

热点阅读