When I run pod install or pod update in my flutter project, it fails at Installing BoringSSL-GRPC (0.0.24). And it prints this error message,
[!] Error installing BoringSSL-GRPC[!] /usr/bin/git clone https://github.com/google/boringssl.git /var/folders/mv/09sm2s1j0dd8dswfdcjg7vz00000gn/T/d20240208-44161-pig7ei --template=
Cloning into '/var/folders/mv/09sm2s1j0dd8dswfdcjg7vz00000gn/T/d20240208-44161-pig7ei'...error: RPC failed; curl 18 transfer closed with outstanding read data remainingerror: 4882 bytes of body are still expectedfetch-pack: unexpected disconnect while reading sideband packetfatal: early EOFfatal: fetch-pack: invalid index-pack output
Any help on how to resolve this?
This are the solutions I applied but all fails
- git config --global http.postBuffer 524288000
- git config --global core.compression 0
- git config --global http.version HTTP/1.1