下pod instal遇到的錯誤

 


下指令
pod install
遇到錯誤
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/rubygems.rb:241:in `bin_path': can't find gem cocoapods (>= 0.a) (Gem::GemNotFoundException)
from /usr/local/bin/pod:22:in `<main>'


這邊的解決方式:重裝cocoapods


移除
sudo gem uninstall cocoapods

安裝
gem install cocoapods

留言

此網誌的熱門文章