OS X 10.11 升级 cocoapods带来的问题

升级了 OS X 10.11 ,cocoapods失效

sudo nvram boot-args="rootless=0"; sudo reboot

sudo gem install cocoapods -V
sudo gem install -n /usr/local/bin cocoapods
pod install  一下后,提示错误的话,试试下面的命令

sudo xcode-select --switch /Applications/Xcode.app 

你可能感兴趣的:(OS X 10.11 升级 cocoapods带来的问题)