美文网首页
2020-08-08

2020-08-08

作者: Hanson_HSS | 来源:发表于2020-08-08 09:44 被阅读0次

    iOS 代码因为需要新加一个库

    执行pod install 

    报错

    [!] Error installing CardIO

    [!]/usr/bin/git clone https://github.com/card-io/card.io-iOS-SDK.git /var/folders/8w/bmpj1h_959b1_sdld40chv_h0000gn/T/d20160919-34294-1hmsrjl --single-branch --depth 1 --branch 5.4.1Cloning into '/var/folders/8w/bmpj1h_959b1_sdld40chv_h0000gn/T/d20160919-34294-1hmsrjl'...error: RPC failed; curl 56 SSLRead() return error -36fatal: The remote end hung up unexpectedlyfatal: early EOFfatal: unpack-objects failed

    解决方法 终端执行

    pod 'CardIO', :git => "https://github.com/card-io/card.io-iOS-SDK.git", :commit => "12b83d6d6a37250a2fb7b373d7b65a6a5389255d"

    再重新 pod install就好了

    相关文章

      网友评论

          本文标题:2020-08-08

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