OneSignal / OneSignal-Flutter-SDK

OneSignal is a free push notification service for mobile apps. This plugin makes it easy to integrate your flutter app with OneSignal
https://www.onesignal.com
Other
615 stars 213 forks source link

[Bug]: Pod install doesn't work #798

Closed dmgcoding closed 9 months ago

dmgcoding commented 9 months ago

What happened?

I'm using onesignal_flutter: ^3.5.1 when I tried pod install it doesn't work. It throws an error.

Steps to reproduce?

onesignal_flutter: ^3.5.1

did happen the same with the latest version(5.0.4) as well

user global .gitconfig file --
[user]
    name = shehan
    email = hello@gmail.com
[commit]
    template = .gitmessage
[http]
    postBuffer = 5242880000
    version = HTTP/1.1
[core]
    compression = 0
    packedGitLimit = 1024m 
    packedGitWindowSize = 1024m
[pack] 
    deltaCacheSize = 3096m 
    packSizeLimit = 3096m 
    windowMemory = 256m

What did you expect to happen?

I expect for pod install to work.

OneSignal Flutter SDK version

3.5.1

Which platform(s) are affected?

Relevant log output

...
Installing GoogleDataTransport (9.3.0)
Installing GoogleUtilities (7.12.0)
Installing OneSignalXCFramework (3.12.4)

[!] Error installing OneSignalXCFramework
[!] /usr/bin/git clone https://github.com/OneSignal/OneSignal-iOS-SDK.git /var/folders/5f/bnc72_gj7430tsnm5bm42dsh0000gn/T/d20231208-56071-fzux4d --template= --single-branch --depth 1 --branch 3.12.4

Cloning into '/var/folders/5f/bnc72_gj7430tsnm5bm42dsh0000gn/T/d20231208-56071-fzux4d'...
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
error: 3182 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

Code of Conduct

nan-li commented 9 months ago

Hi @dmgcoding thanks for reaching out.

This is not a OneSignal-related issue, please search your error to resolve. I found something similar at https://stackoverflow.com/questions/38618885/error-rpc-failed-curl-transfer-closed-with-outstanding-read-data-remaining