`A few days ago, everything was fine, but suddenly something went wrong, and I've been struggling with this error for a while now. I've tried a couple of things to fix it:
** First solution
- sudo gem uninstall cocoapods
- brew install cocoapods
- brew link --overwrite cocoapods
**Second solutiongit config --global http.postBuffer 100000M
**Error
pod install
Analyzing dependenciescloud_firestore: Using Firebase SDK version '10.18.0' defined in 'firebase_core'firebase_auth: Using Firebase SDK version '10.18.0' defined in 'firebase_core'firebase_core: Using Firebase SDK version '10.18.0' defined in 'firebase_core'Downloading dependenciesInstalling BoringSSL-GRPC (0.0.32)
[!] Error installing BoringSSL-GRPC[!] /usr/local/bin/git clone https://github.com/google/boringssl.git /var/folders/d9/1q2jj3m16dx14tylt4t75xc40000gn/T/d20240412-70989-7r9chj --template=
Cloning into '/var/folders/d9/1q2jj3m16dx14tylt4t75xc40000gn/T/d20240412-70989-7r9chj'...error: RPC failed; curl 92 HTTP/2 stream 3 was not closed cleanly: CANCEL (err 8)fetch-pack: unexpected disconnect while reading sideband packetfatal: early EOFfatal: fetch-pack: invalid index-pack output
Cocoapods Version : 1.5.2
**My firebase depedencies :
firebase_core: ^2.8.0cloud_firestore: ^4.4.5firebase_auth: ^4.3.0
**My Pod file[Pod file code](https://i.stack.imgur.com/KwmEo.png)
`