airbnb / lottie-ios

An iOS library to natively render After Effects vector animations
http://airbnb.io/lottie/
Apache License 2.0
25.76k stars 3.75k forks source link

can't clone Lottie iOS on cocoa pods #2325

Closed sassiwalid closed 8 months ago

sassiwalid commented 8 months ago

Which Version of Lottie are you using?

Lottie 4.4.0 Xcode 15.2 Cocoa pods 1.15.2

Expected Behavior

I can load pod

Actual Behavior

I can't load pod and I get this error from the terminal `[!] Error installing lottie-ios [!] /opt/homebrew/bin/git clone https://github.com/airbnb/lottie-ios.git /var/folders/fn/jcf4lzms6d337_zyrnys_3j40000gn/T/d20240222-33444-6osupx --template= --single-branch --depth 1 --branch 3.4.3

Clonage dans '/var/folders/fn/jcf4lzms6d337_zyrnys_3j40000gn/T/d20240222-33444-6osupx'... erreur : échec RPC ; curl 18 transfer closed with outstanding read data remaining erreur : 7837 octets de corps sont encore attendus fetch-pack: unexpected disconnect while reading sideband packet fatal : fin de fichier prématurée fatal : fetch-pack : sortie d'index de pack invalide`

I tried many solution on my Mac for example

Changing http.postBuffer didn't work for me (on M2 Mac), but disabling HTTP/2 and using HTTP/1.1 did:

git config --global http.version HTTP/1.1

maybe it's a problem of poor network?

sassiwalid commented 8 months ago

issue resolved by updating the pod repo

sassiwalid commented 8 months ago

resolved