iOS:解决pod的Insecure world writable dir问题


当我们运行pod setup的命令的时候,有时候会碰到这个警告:

/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.33.1/lib/cocoapods/executable.rb:55: warning: Insecure world writable dir /usr/local in PATH, mode 040777

 

要去除这个警告,我们需要更改/usr/local的权限,一句话:

sudo chmod go-w /usr/local

 

DONE


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM