Right here is the error
/decide/homebrew/Cellar/cocoapods/1.14.3_1/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer/pod_source_installer.rb:117:in `download_source' /decide/homebrew/Cellar/cocoapods/1.14.3_1/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer/pod_source_installer.rb:67:in `set up!' /decide/homebrew/Cellar/cocoapods/1.14.3_1/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:621:in `install_source_of_pod' /decide/homebrew/Cellar/cocoapods/1.14.3_1/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:539:in `block (2 ranges) in install_pod_sources' /decide/homebrew/Cellar/cocoapods/1.14.3_1/libexec/gems/cocoapods-1.14.3/lib/cocoapods/user_interface.rb:86:in `titled_section' /decide/homebrew/Cellar/cocoapods/1.14.3_1/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:538:in `block in install_pod_sources' /decide/homebrew/Cellar/cocoapods/1.14.3_1/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:535:in `every' /decide/homebrew/Cellar/cocoapods/1.14.3_1/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:535:in `install_pod_sources' /decide/homebrew/Cellar/cocoapods/1.14.3_1/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:258:in `block in download_dependencies' /decide/homebrew/Cellar/cocoapods/1.14.3_1/libexec/gems/cocoapods-1.14.3/lib/cocoapods/user_interface.rb:64:in `part' /decide/homebrew/Cellar/cocoapods/1.14.3_1/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:257:in `download_dependencies' /decide/homebrew/Cellar/cocoapods/1.14.3_1/libexec/gems/cocoapods-1.14.3/lib/cocoapods/installer.rb:163:in `set up!' /decide/homebrew/Cellar/cocoapods/1.14.3_1/libexec/gems/cocoapods-1.14.3/lib/cocoapods/command/set up.rb:52:in `run' /decide/homebrew/Cellar/cocoapods/1.14.3_1/libexec/gems/claide-1.1.0/lib/claide/command.rb:334:in `run' /decide/homebrew/Cellar/cocoapods/1.14.3_1/libexec/gems/cocoapods-1.14.3/lib/cocoapods/command.rb:52:in `run' /decide/homebrew/Cellar/cocoapods/1.14.3_1/libexec/gems/cocoapods-1.14.3/bin/pod:55:in `' /decide/homebrew/Cellar/cocoapods/1.14.3_1/libexec/bin/pod:25:in `load' /decide/homebrew/Cellar/cocoapods/1.14.3_1/libexec/bin/pod:25:in `' Error output from CocoaPods: ↳ Cloning into '/var/folders/rf/5bxv_hj101g5t_lglvj7hpp80000gn/T/d20240925-71774-oegv9a'... error: RPC failed; curl 18 switch closed with excellent learn information remaining error: 53 bytes of physique are nonetheless anticipated fetch-pack: sudden 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 Professional Max.
# Uncomment this line to outline a world platform in your undertaking platform :ios, '14.0' # CocoaPods analytics sends community stats synchronously affecting flutter construct latency. ENV['COCOAPODS_DISABLE_STATS'] = 'true' undertaking 'Runner', { 'Debug' => :debug, 'Profile' => :launch, 'Launch' => :launch, } def flutter_root generated_xcode_build_settings_path = File.expand_path(File.be a part of('..', 'Flutter', 'Generated.xcconfig'), __FILE__) except File.exist?(generated_xcode_build_settings_path) elevate "#{generated_xcode_build_settings_path} should exist. For those who're working pod set up manually, make sure that flutter pub get is executed first" finish File.foreach(generated_xcode_build_settings_path) do |line| matches = line.match(/FLUTTER_ROOT=(.*)/) return matches[1].strip if matches finish elevate "FLUTTER_ROOT not present in #{generated_xcode_build_settings_path}. Attempt deleting Generated.xcconfig, then run flutter pub get" finish require File.expand_path(File.be a part of('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root) flutter_ios_podfile_setup goal 'Runner' do use_frameworks! use_modular_headers! flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__)) goal 'RunnerTests' do inherit! :search_paths finish finish post_install do |installer| installer.pods_project.targets.every do |goal| flutter_additional_ios_build_settings(goal) finish finish