Code Bye

cocoapods 无法更新

juns-Mac-mini:kartor3 junhuang$ sudo gem install cocoapods –pre
Password:
Sorry, try again.
Password:
Fetching: cocoapods-core-1.1.0.beta.1.gem (100%)
Successfully installed cocoapods-core-1.1.0.beta.1
Fetching: cocoapods-downloader-1.1.0.gem (100%)
Successfully installed cocoapods-downloader-1.1.0
Fetching: cocoapods-try-1.1.0.gem (100%)
Successfully installed cocoapods-try-1.1.0
Fetching: molinillo-0.5.0.gem (100%)
Successfully installed molinillo-0.5.0
ERROR:  While executing gem … (Errno::EPERM)
Operation not permitted – /usr/bin/xcodeproj
解决方案

100

sudo gem install -n /usr/local/bin  cocoapods

CodeBye 版权所有丨如未注明 , 均为原创丨本网站采用BY-NC-SA协议进行授权 , 转载请注明cocoapods 无法更新