cocoapods
// 适配新版本 更改源
gem sources --add https://ruby.taobao.org/ --remove http://ruby.taobao.org/
1.升级10.11后,运行pod命令出现:
-bash: pod: command not found
安装时 Mac-mini:~ macuser$ sudo gem install cocoapods
ERROR: While executing gem ... (Errno::EPERM)
Operation not permitted - /usr/bin/pod
解决办法:
sudo gem install -n /usr/local/bin cocoapods