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就好了
网友评论