firebase / firebase-ios-sdk

Firebase SDK for Apple App Development
https://firebase.google.com
Apache License 2.0
5.55k stars 1.45k forks source link

Error installing Firebase #13681

Open Jerry8135 opened 2 hours ago

Jerry8135 commented 2 hours ago

Description

when install firebase from pod it always show error,when use swift package manager,it always show can not download it

Reproducing the issue

after do pod install,it still show the issue error: RPC failed; curl 18 transfer closed with outstanding read data remaining error: xxxxx bytes of body are still expected

Firebase SDK Version

11.2.0

Xcode Version

16.0

Installation Method

CocoaPods

Firebase Product(s)

Messaging

Targeted Platforms

iOS

Relevant Log Output

pod install --repo-update
Updating local specs repositories
Analyzing dependencies
Downloading dependencies
Installing Firebase (11.2.0)

[!] Error installing Firebase
[!] /usr/bin/git clone https://github.com/firebase/firebase-ios-sdk.git /var/folders/55/xntm2cmx56d3fpnv4vyqf6jh0000gn/T/d20240920-43350-1wq1o3 --template= --single-branch --depth 1 --branch CocoaPods-11.2.0

Cloning into '/var/folders/55/xntm2cmx56d3fpnv4vyqf6jh0000gn/T/d20240920-43350-1wq1o3'...
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
error: 8178 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output

If using Swift Package Manager, the project's Package.resolved

Expand Package.resolved snippet
```json Replace this line with the contents of your Package.resolved. ```

If using CocoaPods, the project's Podfile.lock

target 'App' do capacitor_pods

Add your Pods here

pod 'Firebase/Core' pod 'Firebase/Messaging' end

google-oss-bot commented 2 hours ago

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.