在 cd ios 目录下运行pod update时,报错如下
[!] CocoaPods could not find compatible versions for pod "leancloud_official_plugin":
In Podfile:
leancloud_official_plugin (from .symlinks/plugins/leancloud_official_plugin/ios
)
Specs satisfying the leancloud_official_plugin (from
.symlinks/plugins/leancloud_official_plugin/ios)
dependency were found, but they required a higher minimum deployment target.
我将PodFile里面的platform版本改为10.0 正常
继续运行后
可能是github官网的问题,导致一直下载不成功,继续报错
[!] Error installing LeanCloud
[!] /usr/bin/git clone https://github.com/leancloud/swift-sdk.git /var/folders/x8/y_89jm6976sdz05_12f20s7r0000gn/T/d20201017-42244-sf1uiw --template= --single-branch --depth 1 --branch 17.6.1
Cloning into '/var/folders/x8/y_89jm6976sdz05_12f20s7r0000gn/T/d20201017-42244-sf1uiw'...
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
请问有什么方案可以解决吗