Challenge:
I am making an attempt to put in Firebase (v11.2.0) for an iOS Flutter venture utilizing CocoaPods. Nevertheless, I am encountering an error in the course of the set up course of.
After working pod set up
, the next error seems:
Analyzing dependencies
firebase_core: Utilizing Firebase SDK model '11.2.0' outlined in 'firebase_core'
Downloading dependencies
Putting in Firebase (11.2.0)
[!] Error putting in Firebase
[!] /usr/bin/git clone https://github.com/firebase/firebase-ios-sdk.git /var/folders/... --template= --single-branch --depth 1 --branch CocoaPods-11.2.0
Cloning into '/var/folders/...'
error: RPC failed; curl 18 Transferred a partial file
error: bytes of physique are nonetheless anticipated
fetch-pack: surprising disconnect whereas studying sideband packet
deadly: early EOF
deadly: fetch-pack: invalid index-pack output
What I’ve tried up to now:
Elevated the http.postBuffer
dimension utilizing git config --global http.postBuffer 524288000
.
I’m from Turkmenistan, the place many websites are restricted, so I had to make use of a VPN to entry this platform. I’ve tried each with and with out the VPN to troubleshoot the problem.
Tried clearing the CocoaPods cache and re-running pod set up
.
Additionally right here is Debug Console:
Launching lib/predominant.dart on iPhone 16 in debug mode...
CocoaPods' output:
↳
Making ready
Analyzing dependencies
Inspecting targets to combine
Utilizing `ARCHS` setting to construct architectures of goal `Pods-Runner`: (``)
Utilizing `ARCHS` setting to construct architectures of goal `Pods-RunnerTests`: (``)
Fetching exterior sources
-> Fetching podspec for `Flutter` from `Flutter`
-> Fetching podspec for `firebase_core` from `.symlinks/plugins/firebase_core/ios`
firebase_core: Utilizing Firebase SDK model '11.2.0' outlined in 'firebase_core'
Resolving dependencies of `Podfile`
CDN: trunk Relative path: CocoaPods-version.yml exists! Returning native as a result of checking is just carried out in repo replace
CDN: trunk Relative path: all_pods_versions_0_3_5.txt exists! Returning native as a result of checking is just carried out in repo replace
CDN: trunk Relative path: Specs/0/3/5/Firebase/11.2.0/Firebase.podspec.json exists! Returning native as a result of checking is just carried out in repo replace
CDN: trunk Relative path: Specs/0/3/5/Firebase/11.2.0/Firebase.podspec.json exists! Returning native as a result of checking is just carried out in repo replace
CDN: trunk Relative path: all_pods_versions_8_b_d.txt exists! Returning native as a result of checking is just carried out in repo replace
CDN: trunk Relative path: Specs/8/b/d/FirebaseCore/11.2.0/FirebaseCore.podspec.json exists! Returning native as a result of checking is just carried out in repo replace
CDN: trunk Relative path: Specs/8/b/d/FirebaseCore/11.2.0/FirebaseCore.podspec.json exists! Returning native as a result of checking is just carried out in repo replace
CDN: trunk Relative path: all_pods_versions_0_8_4.txt exists! Returning native as a result of checking is just carried out in repo replace
CDN: trunk Relative path: Specs/0/8/4/GoogleUtilities/8.0.2/GoogleUtilities.podspec.json exists! Returning native as a result of checking is just carried out in repo replace
CDN: trunk Relative path: Specs/0/8/4/GoogleUtilities/8.0.0/GoogleUtilities.podspec.json exists! Returning native as a result of checking is just carried out in repo replace
CDN: trunk Relative path: Specs/0/8/4/GoogleUtilities/8.0.1/GoogleUtilities.podspec.json exists! Returning native as a result of checking is just carried out in repo replace
CDN: trunk Relative path: Specs/0/8/4/GoogleUtilities/8.0.2/GoogleUtilities.podspec.json exists! Returning native as a result of checking is just carried out in repo replace
CDN: trunk Relative path: Specs/0/8/4/GoogleUtilities/8.0.0/GoogleUtilities.podspec.json exists! Returning native as a result of checking is just carried out in repo replace
CDN: trunk Relative path: Specs/0/8/4/GoogleUtilities/8.0.1/GoogleUtilities.podspec.json exists! Returning native as a result of checking is just carried out in repo replace
CDN: trunk Relative path: Specs/0/8/4/GoogleUtilities/8.0.2/GoogleUtilities.podspec.json exists! Returning native as a result of checking is just carried out in repo replace
CDN: trunk Relative path: all_pods_versions_7_9_1.txt exists! Returning native as a result of checking is just carried out in repo replace
CDN: trunk Relative path: Specs/7/9/1/FirebaseCoreInternal/11.2.0/FirebaseCoreInternal.podspec.json exists! Returning native as a result of checking is just carried out in repo replace
CDN: trunk Relative path: Specs/0/8/4/GoogleUtilities/8.0.2/GoogleUtilities.podspec.json exists! Returning native as a result of checking is just carried out in repo replace
CDN: trunk Relative path: Specs/0/8/4/GoogleUtilities/8.0.2/GoogleUtilities.podspec.json exists! Returning native as a result of checking is just carried out in repo replace
CDN: trunk Relative path: Specs/7/9/1/FirebaseCoreInternal/11.2.0/FirebaseCoreInternal.podspec.json exists! Returning native as a result of checking is just carried out in repo replace
CDN: trunk Relative path: Specs/7/9/1/FirebaseCoreInternal/11.1.0/FirebaseCoreInternal.podspec.json exists! Returning native as a result of checking is just carried out in repo replace
CDN: trunk Relative path: Specs/7/9/1/FirebaseCoreInternal/11.0.0/FirebaseCoreInternal.podspec.json exists! Returning native as a result of checking is just carried out in repo replace
CDN: trunk Relative path: Specs/0/8/4/GoogleUtilities/8.0.0/GoogleUtilities.podspec.json exists! Returning native as a result of checking is just carried out in repo replace
CDN: trunk Relative path: Specs/0/8/4/GoogleUtilities/8.0.1/GoogleUtilities.podspec.json exists! Returning native as a result of checking is just carried out in repo replace
CDN: trunk Relative path: Specs/0/8/4/GoogleUtilities/8.0.2/GoogleUtilities.podspec.json exists! Returning native as a result of checking is just carried out in repo replace
Evaluating resolved specification to the sandbox manifest
A Firebase
A FirebaseCore
A FirebaseCoreInternal
A Flutter
A GoogleUtilities
A firebase_core
Downloading dependencies
-> Putting in Firebase (11.2.0)
> Git obtain
> Git obtain
$ /usr/bin/git clone https://github.com/firebase/firebase-ios-sdk.git /var/folders/vt/w4zbc71j1rv0v3fgm1q64srm0000gn/T/d20241022-7191-capw0y --template= --single-branch --depth 1 --branch CocoaPods-11.2.0
[!] Error putting in Firebase
[!] /usr/bin/git clone https://github.com/firebase/firebase-ios-sdk.git /var/folders/vt/w4zbc71j1rv0v3fgm1q64srm0000gn/T/d20241022-7191-capw0y --template= --single-branch --depth 1 --branch CocoaPods-11.2.0
Cloning into '/var/folders/vt/w4zbc71j1rv0v3fgm1q64srm0000gn/T/d20241022-7191-capw0y'...
error: RPC failed; curl 18 Transferred a partial file
error: 6866 bytes of physique are nonetheless anticipated
fetch-pack: surprising disconnect whereas studying sideband packet
deadly: early EOF
deadly: fetch-pack: invalid index-pack output
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/downloader.rb:144:in `rescue in execute_command'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/downloader.rb:141:in `execute_command'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-downloader-2.1/lib/cocoapods-downloader/base.rb:175:in `block in executable'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-downloader-2.1/lib/cocoapods-downloader/git.rb:107:in `block in clone'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/downloader.rb:175:in `block in ui_sub_action'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/user_interface.rb:64:in `part'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/downloader.rb:174:in `ui_sub_action'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-downloader-2.1/lib/cocoapods-downloader/git.rb:105:in `clone'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-downloader-2.1/lib/cocoapods-downloader/git.rb:73:in `obtain!'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-downloader-2.1/lib/cocoapods-downloader/base.rb:83:in `block in obtain'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/downloader.rb:159:in `block in ui_action'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/user_interface.rb:64:in `part'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/downloader.rb:158:in `ui_action'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-downloader-2.1/lib/cocoapods-downloader/base.rb:81:in `obtain'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/downloader.rb:110:in `download_source'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/downloader.rb:77:in `download_request'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/downloader/cache.rb:256:in `obtain'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/downloader/cache.rb:239:in `block in uncached_pod'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/downloader/cache.rb:266:in `in_tmpdir'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/downloader/cache.rb:238:in `uncached_pod'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/downloader/cache.rb:33:in `download_pod'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/downloader.rb:42:in `obtain'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/pod_source_downloader.rb:69:in `obtain!'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/pod_source_installer.rb:117:in `download_source'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/installer/pod_source_installer.rb:67:in `set up!'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:621:in `install_source_of_pod'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:539:in `block (2 ranges) in install_pod_sources'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/user_interface.rb:86:in `titled_section'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:538:in `block in install_pod_sources'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:535:in `every'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:535:in `install_pod_sources'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:258:in `block in download_dependencies'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/user_interface.rb:64:in `part'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:257:in `download_dependencies'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/installer.rb:163:in `set up!'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/command/set up.rb:52:in `run'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/lib/cocoapods/command.rb:52:in `run'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/lib/ruby/gems/3.1.0/gems/cocoapods-1.15.2/bin/pod:55:in `'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/bin/pod:25:in `load'
/Customers/rovshenhojayev/.rvm/rubies/ruby-3.1.0/bin/pod:25:in `'
/Customers/rovshenhojayev/.rvm/gems/ruby-3.1.0/bin/ruby_executable_hooks:22:in `eval'
/Customers/rovshenhojayev/.rvm/gems/ruby-3.1.0/bin/ruby_executable_hooks:22:in `'
Error output from CocoaPods:
↳
Cloning into '/var/folders/vt/w4zbc71j1rv0v3fgm1q64srm0000gn/T/d20241022-7191-capw0y'...
error: RPC failed; curl 18 Transferred a partial file
error: 6866 bytes of physique are nonetheless anticipated
fetch-pack: surprising disconnect whereas studying sideband packet
deadly: early EOF
deadly: fetch-pack: invalid index-pack output
Error working pod set up
Error launching software on iPhone 16.
Exited (1).
Right here is ss from terminal the way it’s appear like
Regardless of these makes an attempt, I am nonetheless dealing with the identical error. Has anybody encountered this subject earlier than, or have options on find out how to resolve it (Can also do different method if have any)?