cocoapods

  • 新的电脑 安装cocoapods 出现问题
    https://blog.csdn.net/qq_33320324/article/details/121623110
  • 如果在使用pod 的命令时,提示如下
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin21/rbconfig.rb:230: 
warning: Insecure world writable dir /opt/homebrew/bin in PATH, mode 040777

提示的意思是:目录被赋予777 的权限,不安全
解决: 将权限改成555

sudo chmod go-w /opt/homebrew/bin
sudo chmod 775 /opt/homebrew/bin

你可能感兴趣的:(cocoapods)