在OS X EI Capitan中安裝cocoapods報錯以下:shell
ERROR: While executing gem ... (Errno::EPERM) Operation not permitted - /usr/bin/xcodeproj
解決方法:api
sudo gem install -n /usr/local/bin cocoapods