问题
在使用pod进行下载第三方的时候经常报错,问题如下:
[!] Error installing BMKLocationKit
[!] /usr/bin/git clone https:
Cloning into '/var/folders/cj/qqyqrmbd2xz5_756mxxz8kdm0000gn/T/d20211210-7369-o23knk'...
fatal: unable to access 'https://github.com/jiangfangsheng/BMKLocationKit.git/': Failed to connect to github.com port 443: Operation timed out
网上有很多更改配置的方法,就不列举了,现在直接来个简单的,打开手机热点,然后再更新就OK了
but
又遇上问题了又报错了:
[!] Error installing BMKLocationKit
[!] /usr/bin/git clone https:
Cloning into '/var/folders/cj/qqyqrmbd2xz5_756mxxz8kdm0000gn/T/d20211210-7423-s432yt'...
error: RPC failed; curl 56 LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 54
fatal: the remote end hung up unexpectedly
fatal: protocol error: bad pack header
于是 来个这玩意
git config --global pack.windowMemory "100m"
一切就都OK啦
你用到了的话,可不可来个赞呀
|