利用Cocoapods下載百度地圖時,經(jīng)常會報錯
[!] Error installing BaiduMapKit
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
解決方法:
運行:git config –global http.postBuffer 1048576000 即可。
如果不行奔坟,試試:
git config --global core.compression 9
親測有效