美文网首页
pod install 、pod update 出现[!] Er

pod install 、pod update 出现[!] Er

作者: 这个姑凉儿 | 来源:发表于2021-03-18 14:09 被阅读0次

问题描述



试了各种方法都没有效果

只有下边这个方法解决了该问题

需要在finder 前往文件夹 打开 etc/hosts 文件,然后复制到本地

打开浏览器放入该链接
http://tool.chinaz.com/dns/?type=1&host=github.com&ip=


然后复制到 hosts文件里 后面 加上 github.com 如下

保存 然后 复制文件到 etc/hosts 覆盖掉

重新打开终端 cd到当前目录 执行 pod install

相关文章

网友评论

      本文标题:pod install 、pod update 出现[!] Er

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