在更新cocoapods 时候,执行 sudo gem install cocoapods 出错:
ERROR: While executing gem ... (Errno::EPERM)
Operation not permitted - /usr/bin/xcodeproj
解决方案:系统升级OS X EL Capitan后会出现的插件错误,将安装CocoaPods 的 sudo gem install cocoapods ——>改为sudo gem install -n /usr/local/bin cocoapods
关闭打赏,仅作学习!
网友评论