iOS开发之最新CocoaPods安装
2017-05-28 本文已影响17人
CoderQH
安装成功界面如下:
imagesudo gem update --system
gem sources --remove https://rubygems.org/
gem sources -a https://gems.ruby-china.org/
gem sources -l
sudo gem installcocoa pods 时出现:
ERROR: While executing gem ... (Errno::EPERM)
Operation not permitted - /usr/bin/xcodeproj
如下:
sudo gem install -n /usr/local/bin cocoapods --pre
pod setup
即可。