美文网首页
[精]pod安装插件报fatal: unable to acce

[精]pod安装插件报fatal: unable to acce

作者: CoderZb | 来源:发表于2021-03-24 09:44 被阅读0次

    今天要安装YYImage这个库,Podfile文件中写的是pod 'YYImage', :git => 'https://github.com/QiuYeHong90/YYImage.git'。当执行pod install --verbose --no-repo-update命令后,发现报如下错误

    [!] Error installing YYImage
    [!] Failed to download 'YYImage': [!] /usr/bin/git clone https://github.com/QiuYeHong90/YYImage.git /var/folders/5r/2pvm18t16139__rlfy1wywbw0000gp/T/d20210324-18272-1ns4zg8 --template= --single-branch --depth 1
    
    Cloning into '/var/folders/5r/2pvm18t16139__rlfy1wywbw0000gp/T/d20210324-18272-1ns4zg8'...
    fatal: unable to access 'https://github.com/QiuYeHong90/YYImage.git/': LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443 
    

    解决办法

    控制台输入如下量行命令即可

    git config --global --unset http.proxy 
    git config --global --unset https.proxy
    

    相关文章

      网友评论

          本文标题:[精]pod安装插件报fatal: unable to acce

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