美文网首页Flutter Developers
cocoapods 安装错误

cocoapods 安装错误

作者: A_si | 来源:发表于2020-04-30 11:51 被阅读0次

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
给终端挂上代理。

【iOS工具】rvm、Ruby环境和CocoaPods安装使用及相关报错问题解决(2019.12.14 更新)

相关文章

网友评论

    本文标题:cocoapods 安装错误

    本文链接:https://www.haomeiwen.com/subject/edwawhtx.html