当前位置: 代码迷 >> 综合 >> CCloning spec repo `cocoapods` from `git@github.com:CocoaPods/Specs.git`
  详细解决方案

CCloning spec repo `cocoapods` from `git@github.com:CocoaPods/Specs.git`

热度:59   发布时间:2023-09-14 17:15:09.0

卡在Cloning spec repo cocoapods from git@github.com:CocoaPods/Specs.git

pod setup
cd ~/.cocoapods/repos
git clone --depth 1 https://github.com/CocoaPods/Specs.git master

如果报错:

error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

解决方法:
git config --global http.postBuffer 524288000

  相关解决方案