安装cocoapods时候 You don't have wri
2019-05-13 本文已影响0人
北京的天空
sudo gem install cocoapods --version 1.5.3
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /usr/bin directory.
解决办法:
sudo gem install cocoapods --version 1.5.3 -n /usr/local/bin