美文网首页
cocoapods报错

cocoapods报错

作者: pluskok | 来源:发表于2019-05-28 17:09 被阅读0次
    [!] /usr/local/bin/git clone https://github.com/CocoaPods/Specs.git --progress -- master
    
    Cloning into 'master'...
    remote: Enumerating objects: 192, done.        
    remote: Counting objects: 100% (192/192), done.        
    remote: Compressing objects: 100% (143/143), done.        
    error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
    fatal: The remote end hung up unexpectedly
    fatal: early EOF
    fatal: index-pack failed
    

    解决方法

    pod repo remove master
    2. git clone https://git.coding.net/CocoaPods/Specs.git ~/.cocoapods/repos/master
    3. cd ~/product/yourProductName (xcode项目)
    4. pod init
    5. pod install
    

    [https://stackoverflow.com/a/40541430/3258003]

    相关文章

      网友评论

          本文标题:cocoapods报错

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