升级了 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
时间: 2025-01-15 05:11:31