安装cocoa pods时, 在命令行中输入:
sudo gem install cocoapods 报Operation not permitted - /usr/bin/xcodeproj这个错误,
解决办法:
用 sudo gem install -n /usr/local/bin cocoapods --pre
命令代替 sudo gem install cocoa pods 就可以了
安装cocoa pods时, 在命令行中输入:
sudo gem install cocoapods 报Operation not permitted - /usr/bin/xcodeproj这个错误,
解决办法:
用 sudo gem install -n /usr/local/bin cocoapods --pre
命令代替 sudo gem install cocoa pods 就可以了