sudo gem install cocoapods
的时候出现 :
While executing gem ... (Gem::FilePermissionError)
You don't have write permissions for the /usr/bin directory.
改为 sudo gem install -n /usr/local/bin cocoapods
即可
出现:
ERROR: Error installing cocoapods:
ERROR: Failed to build gem native extension.
执行open /Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg
rvm 安装出现:Failed to connect to raw.githubusercontent.com port 443: Connection refused
给终端挂上代理。
网友评论