flutter 安装时候pod setup 不生效
把pod 版本降低到 1.7.5
pod setup 下载慢
下载github desktop
设置git 代理
fork specs 库
用github desktop 下载镜像
切换镜像源
清华镜像源,第二个解决办法
https://mirror.tuna.tsinghua.edu.cn/help/CocoaPods/
git clone时RPC failed; curl 18 transfer closed with outstanding read data remaining
git clone时报RPC failed; curl 18 transfer closed with outstanding read data remaining 错误
原因1:缓存区溢出
解决方法:命令行输入
git config http.postBuffer 524288000
执行上面命令如果依旧clone失败,考虑可能原因2:网络下载速度缓慢
解决方法:命令行输入
git config --global http.lowSpeedLimit 0
git config --global http.lowSpeedTime 999999
如果依旧clone失败,则首先浅层clone,然后更新远程库到本地
git clone --depth=1 http://gitlab.xxx.cn/yyy/zzz.git
git fetch --unshallow
pod setup 不生效 无响应 pod setup 慢 解决办法
最新推荐文章于 2022-10-14 10:30:10 发布