升級了 OS X 10.11 ,cocoapods失效 sql
sudo nvram boot-args="rootless=0"; sudo reboot
sudo gem install cocoapods -V
sudo gem install -n /usr/local/bin cocoapods
sudo xcode-select --switch /Applications/Xcode.app