安装成功界面如下:
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
即可。
网友评论