美文网首页
关于pod install出现Failed to connect

关于pod install出现Failed to connect

作者: 乔帮主123 | 来源:发表于2021-11-12 15:25 被阅读0次

    podinstall出现连接不上github.com的问题,我们需要在hosts文件中输入github的网址

    1、查询可以用的IP

    https://www.ipaddress.com/搜索

    github.com

    2、修改host文件

    操作:sudo vi /etc/hosts,替换成以下搜索到的ip即可(/etc/hosts 前往文件夹)

    116.227.169.233  github.com

    !!!!出现无权限更改时候,复制一份出来,改完进行替换就行。

    3.继续尝试pod install

    相关文章

      网友评论

          本文标题:关于pod install出现Failed to connect

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