在进行 sudo gem install cocoapods情况下报如下的错误信息:没有/usr/bin的写入权限
ERROR: While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /usr/bin directory.
解决方案:重启进入恢复模式,打开的终端 输入如下指令:csrutil disable


https://blog.csdn.net/wm9028/article/details/51840759
网友评论