Fatal Authentication Error when i try 'Pod Install' command - ios

I am trying to implement my framework library into my project using Cocoa Pods.
I found similar questions but their error messages were different from mine. Hence i am posting this question.
I successfully created pod file using pod init command and opened pod file in TextEditor and saved my code
The following is my Pod File Content
#platform :ios, '8.0'
source 'git#git.assembla.com:ioslibs.podspecs.git'
source 'https://github.com/CocoaPods/Specs.git'
target 'WatchList' do
pod 'matrix'
pod 'lego'
end
When i try pod install command at my Project's Directory, it is showing the following error.
Note
I gave Valid Username and Password.
But it gave me the same error even
if i give (Wantedly) incorrect Username and Password.
I hope there is no problem to do with the username and password, but i can't find what's the real problem is.
Thanks for the time.. (:
UPDATE
When i try pod install --verbose
GaneshBabu:WatchList ganeshbabu$ pod install --verbose
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin14/rbconfig.rb:213: warning: Insecure world writable dir /usr in PATH, mode 040777
Preparing
Analyzing dependencies
Inspecting targets to integrate
Using `ARCHS` setting to build architectures of target `Pods-WatchList`: (``)
Resolving dependencies of `Podfile`
Comparing resolved specification to the sandbox manifest
A lego
A matrix
Downloading dependencies
-> Installing lego (1.0.0)
> Git download
> Git download
$ /usr/bin/git clone https://git.assembla.com/ioslibs.lego.git
/var/folders/fw/88lq9hbs5s9f4gdw1gtkbh780000gq/T/d20160831-1150-r0nsrb
--template= --single-branch --depth 1 --branch 1.0.0
Cloning into '/var/folders/fw/88lq9hbs5s9f4gdw1gtkbh780000gq/T/d20160831-1150-r0nsrb'...
Username for 'https://git.assembla.com': ganeshbabu.m977981
Password for 'https://ganeshbabu.m977981#git.assembla.com':
fatal: Authentication failed for 'https://git.assembla.com/ioslibs.lego.git/'
[!] Error installing lego
[!] /usr/bin/git clone https://git.assembla.com/ioslibs.lego.git /var/folders/fw/88lq9hbs5s9f4gdw1gtkbh780000gq/T/d20160831-1150-r0nsrb --template= --single-branch --depth 1 --branch 1.0.0
Cloning into '/var/folders/fw/88lq9hbs5s9f4gdw1gtkbh780000gq/T/d20160831-1150-r0nsrb'...
fatal: Authentication failed for 'https://git.assembla.com/ioslibs.lego.git/'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/downloader.rb:122:in `rescue in execute_command'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/downloader.rb:120:in `execute_command'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-downloader-1.0.0/lib/cocoapods-downloader/base.rb:154:in `block in executable'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-downloader-1.0.0/lib/cocoapods-downloader/git.rb:64:in `block in clone'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/downloader.rb:153:in `block in ui_sub_action'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/user_interface.rb:63:in `section'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/downloader.rb:152:in `ui_sub_action'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-downloader-1.0.0/lib/cocoapods-downloader/git.rb:62:in `clone'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-downloader-1.0.0/lib/cocoapods-downloader/git.rb:30:in `download!'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-downloader-1.0.0/lib/cocoapods-downloader/base.rb:82:in `block in download'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/downloader.rb:137:in `block in ui_action'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/user_interface.rb:63:in `section'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/downloader.rb:136:in `ui_action'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-downloader-1.0.0/lib/cocoapods-downloader/base.rb:80:in `download'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/downloader.rb:103:in `download_source'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/downloader.rb:70:in `download_request'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/downloader/cache.rb:170:in `download'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/downloader/cache.rb:153:in `block in uncached_pod'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/downloader/cache.rb:180:in `call'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/downloader/cache.rb:180:in `in_tmpdir'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/downloader/cache.rb:152:in `uncached_pod'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/downloader/cache.rb:33:in `download_pod'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/downloader.rb:39:in `download'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/installer/pod_source_installer.rb:120:in `download_source'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/installer/pod_source_installer.rb:60:in `install!'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/installer.rb:346:in `install_source_of_pod'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/installer.rb:313:in `block (2 levels) in install_pod_sources'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/user_interface.rb:84:in `titled_section'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/installer.rb:312:in `block in install_pod_sources'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/installer.rb:304:in `each'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/installer.rb:304:in `install_pod_sources'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/installer.rb:160:in `block in download_dependencies'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/user_interface.rb:63:in `section'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/installer.rb:158:in `download_dependencies'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/installer.rb:115:in `install!'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/command/install.rb:37:in `run'
/Library/Ruby/Gems/2.0.0/gems/claide-1.0.0/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/lib/cocoapods/command.rb:50:in `run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-1.0.1/bin/pod:55:in `<top (required)>'
/usr/bin/pod:23:in `load'
/usr/bin/pod:23:in `<main>'

This is what my pod file looks like:
May be you can cross verify with this:
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, "8.0"
use_frameworks!
target 'WatchList' do
pod 'matrix'
pod 'lego'
end
Also you can cross verify the directory in which you are installing pods

Related

suddenly Jenkins doesn't do pod install anymore

Pod install was working until it suddenly stopped with the error ArgumentError - invalid byte sequence in US-ASCII Jenkins.
I tried adding export LC_ALL="en_US.UTF-8" to my bash_profile and sourcing from it in terminal but that did not help. I cannot find the ~/.bashrc or ~/.zshrc files. Pod install also works in terminal but not Jenkins
pod install --verbose
[33mWARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
Consider adding the following to ~/.profile:
export LANG=en_US.UTF-8
[0m
Ignoring ffi-1.14.2 because its extensions are not built. Try: gem pristine ffi --version 1.14.2
Preparing
Analyzing dependencies
Inspecting targets to integrate
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/net/http.rb:1109: warning: The environment variable HTTP_PROXY is discouraged. Use http_proxy.
――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
Command
/usr/local/Cellar/cocoapods/1.10.1/libexec/bin/pod install --verbose
Report
What did you do?
What did you expect to happen?
What happened instead?
Stack
CocoaPods : 1.10.1
Ruby : ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin20]
RubyGems : 3.0.3
Host : macOS 11.4 (20F71)
Xcode : 12.5 (12E262)
Git : git version 2.30.1 (Apple Git-130)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib
Repositories : cocoapods - git - https://github.com/CocoaPods/Specs.git # e6eac0770b8860823225a364d6e56c215581d90b
Plugins
cocoapods-deintegrate : 1.0.4
cocoapods-plugins : 1.0.0
cocoapods-search : 1.0.0
cocoapods-trunk : 1.5.0
cocoapods-try : 1.2.0
Podfile
project 'FPExperience.xcodeproj'
# ignore all warnings from all pods
inhibit_all_warnings!
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '10.0'
post_install do |installer_representation|
installer_representation.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['CLANG_ENABLE_CODE_COVERAGE'] = 'NO'
end
end
end
Error
ArgumentError - invalid byte sequence in US-ASCII
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/xcodeproj-1.19.0/lib/xcodeproj/config.rb:277:in `split'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/xcodeproj-1.19.0/lib/xcodeproj/config.rb:277:in `hash_from_file_content'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/xcodeproj-1.19.0/lib/xcodeproj/config.rb:259:in `extract_hash'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/xcodeproj-1.19.0/lib/xcodeproj/config.rb:64:in `initialize'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/xcodeproj-1.19.0/lib/xcodeproj/project/object/build_configuration.rb:241:in `new'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/xcodeproj-1.19.0/lib/xcodeproj/project/object/build_configuration.rb:241:in `config'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/xcodeproj-1.19.0/lib/xcodeproj/project/object/build_configuration.rb:97:in `resolve_build_setting'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/xcodeproj-1.19.0/lib/xcodeproj/project/object/build_configuration.rb:102:in `resolve_build_setting'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/xcodeproj-1.19.0/lib/xcodeproj/project/object/configuration_list.rb:78:in `block in get_setting'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/xcodeproj-1.19.0/lib/xcodeproj/project/object/configuration_list.rb:77:in `each'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/xcodeproj-1.19.0/lib/xcodeproj/project/object/configuration_list.rb:77:in `get_setting'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/xcodeproj-1.19.0/lib/xcodeproj/project/object/native_target.rb:55:in `resolved_build_setting'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer/target_inspector.rb:226:in `block in compute_swift_version_from_targets'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer/target_inspector.rb:220:in `each'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer/target_inspector.rb:220:in `inject'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer/target_inspector.rb:220:in `compute_swift_version_from_targets'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer/target_inspector.rb:45:in `compute_results'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:1189:in `block (3 levels) in inspect_targets_to_integrate'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:1187:in `each'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:1187:in `block (2 levels) in inspect_targets_to_integrate'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:1185:in `each'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:1185:in `block in inspect_targets_to_integrate'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:64:in `section'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:1180:in `inspect_targets_to_integrate'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer/analyzer.rb:106:in `analyze'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:414:in `analyze'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:239:in `block in resolve_dependencies'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/user_interface.rb:64:in `section'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:238:in `resolve_dependencies'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/installer.rb:160:in `install!'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/command/install.rb:52:in `run'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/cocoapods-1.10.1/lib/cocoapods/command.rb:52:in `run'
/usr/local/Cellar/cocoapods/1.10.1/libexec/gems/cocoapods-1.10.1/bin/pod:55:in `<top (required)>'
/usr/local/Cellar/cocoapods/1.10.1/libexec/bin/pod:23:in `load'
/usr/local/Cellar/cocoapods/1.10.1/libexec/bin/pod:23:in `<main>'
――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
[!] Oh no, an error occurred.
Search for existing GitHub issues similar to yours:
https://github.com/CocoaPods/CocoaPods/search?q=invalid+byte+sequence+in+US-ASCII&type=Issues
If none exists, create a ticket, with the template displayed above, on:
https://github.com/CocoaPods/CocoaPods/issues/new
Be sure to first read the contributing guide for details on how to properly submit a ticket:
https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md
Don't forget to anonymize any private data!
Looking for related issues on cocoapods/cocoapods...
Missing install instructions for linux (install deps)
https://github.com/CocoaPods/CocoaPods/issues/9956 [open] [2 comments]
05 Mar 2021
invalid byte sequence in US-ASCII
https://github.com/CocoaPods/CocoaPods/issues/1036 [closed] [10 comments]
22 Apr 2021
CocoaPods requires your terminal to be using UTF-8 encoding and it aborts to run pod
https://github.com/CocoaPods/CocoaPods/issues/6333 [closed] [9 comments]
7 weeks ago
and 21 more at:
https://github.com/cocoapods/cocoapods/search?q=invalid%20byte%20sequence%20in%20US-ASCII&type=Issues&utf8=✓
Solution was to add following to section titled environment {
in pipeline
LANG="en_US.UTF-8"
LANGUAGE="en_US.UTF-8"
LC_ALL="en_US.UTF-8"

Flutter BoringSSL-GRPC unable to install

I am trying to install the package: cloud_firestore and am getting an error when running the pod install when installing the dependency BoringSSL-GRPC.
Is it possible for me to install the dependency another way and reference it/is there another issue that I am missing. Thank you in advance to anyone who can help!
Downloading dependencies
-> Installing BoringSSL-GRPC (0.0.3)
> Git download
> Git download
$ /usr/bin/git clone https://github.com/google/boringssl.git /var/folders/2g/mfqr5f5148nd_w6g9f1g72p80000gn/T/d20200505-3960-17lhqyp --template=
[!] Error installing BoringSSL-GRPC
[!] /usr/bin/git clone https://github.com/google/boringssl.git /var/folders/2g/mfqr5f5148nd_w6g9f1g72p80000gn/T/d20200505-3960-17lhqyp --template=
Cloning into '/var/folders/2g/mfqr5f5148nd_w6g9f1g72p80000gn/T/d20200505-3960-17lhqyp'...
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader.rb:142:in `rescue in execute_command'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader.rb:139:in `execute_command'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-downloader-1.3.0/lib/cocoapods-downloader/base.rb:154:in `block in executable'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-downloader-1.3.0/lib/cocoapods-downloader/git.rb:79:in `block in clone'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader.rb:173:in `block in ui_sub_action'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader.rb:172:in `ui_sub_action'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-downloader-1.3.0/lib/cocoapods-downloader/git.rb:77:in `clone'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-downloader-1.3.0/lib/cocoapods-downloader/git.rb:45:in `download!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-downloader-1.3.0/lib/cocoapods-downloader/base.rb:82:in `block in download'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader.rb:157:in `block in ui_action'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader.rb:156:in `ui_action'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-downloader-1.3.0/lib/cocoapods-downloader/base.rb:80:in `download'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader.rb:108:in `download_source'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader.rb:75:in `download_request'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader/cache.rb:171:in `download'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader/cache.rb:154:in `block in uncached_pod'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader/cache.rb:181:in `in_tmpdir'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader/cache.rb:153:in `uncached_pod'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader/cache.rb:33:in `download_pod'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/downloader.rb:42:in `download'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer/pod_source_installer.rb:117:in `download_source'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer/pod_source_installer.rb:69:in `install!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:557:in `install_source_of_pod'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:508:in `block (2 levels) in install_pod_sources'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/user_interface.rb:86:in `titled_section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:507:in `block in install_pod_sources'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:490:in `each'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:490:in `install_pod_sources'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:249:in `block in download_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/user_interface.rb:64:in `section'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:248:in `download_dependencies'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/installer.rb:157:in `install!'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/command/install.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/lib/cocoapods/command.rb:52:in `run'
/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.1/bin/pod:55:in `<top (required)>'
/usr/local/bin/pod:23:in `load'
/usr/local/bin/pod:23:in `<main>'
Error output from CocoaPods:
↳
Cloning into '/var/folders/2g/mfqr5f5148nd_w6g9f1g72p80000gn/T/d20200505-3960-17lhqyp'...
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Error running pod install
Error launching application on iPhone 11.
Change all firebase dependencies I use to this versions solve my problem
firebase_messaging: ^10.0.2
firebase_auth: ^1.4.1
cloud_firestore: ^2.2.1
firebase_storage: ^8.1.3
firebase_core: ^1.3.0
I tried all many ways and none of them work. Then, I reboot my machine. And it works. Don't understand the reason !
I had a very similar problem. Leaving solution here for anyone who it might help.
This is hard to believe. I root caused this issue to a wired ethernet adapter I was using. wifi and two other wired ethernet adapters worked.
Note that ethernet adapter seemed to work fine otherwise. The git clone worked fine from the command line, the issue only surfaced when ruby Process.spawn executed it!
This method has worked for me.
Restart your terminal/code editor by killing and closing it then relaunch.
cd your-project-dir
cd ios
run
pod install
This will download all the dependencies. It might take some bit of time so ensure to wait.
NB: Ensure to have stable internet.
I solved it by simply by doing:
Remove all the pods and add BoringSSL-GRPC:
Podfile
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'
target 'XXXXX' do
# Comment the next line if you don't want to use dynamic frameworks
use_frameworks!
pod 'BoringSSL-GRPC'
end
Execute (bash) pod install --repo-update
Remove the pod 'BoringSSL-GRPC' and add again the other libraries
Podfile
...
pod 'Firebase/Analytics'
pod 'Firebase/Auth'
pod 'Firebase/Storage'
pod 'Firebase/Functions'
pod 'Firebase/RemoteConfig'
pod 'FirebaseFirestoreSwift', '~> 7.9-beta'
...
Here is what I did to solve the issue:
flutter clean
removed pod lock file
removed pubspec.lock
flutter pub get
pod install
Download the latest version of flutter since most of the packages has switched to flutter3. Try deleting Podfile.lock, Pods directory, .symlinks directory and runner.xcworkspace file. Next run cd ios and then from the ios path run pod install --repo-update. If that doesn't work, try invalidating cache and restarting IDE. If that fails too try flutter pub cache clean. Please note that it will delete all your pub cache so you may have to run pub get on all projects.
I got a slightly different error. I also got gunzip: (stdin): unexpected end of file but I saw a few hundred lines of base64 data above it.
I'm on OSX and it turns out that I have gnu coreutils installed which has a base64 version wasn't compatible to what was downloaded. I solved it by:
brew uninstall coreutils
Note: I opened a bounty on this question to no avail, and then I found this answer.

FLUTTER [!] No podspec found for `helloworld` in `Pods/.symlinks/plugins/helloworld/ios`

I've been using flutter for a while now. And one time when I went to compile I just got this error. doesn't seem to be anything with my code. I've attempted to reinstall my cocoapods, but that didn't change anything. Anyone have any ideas?
Launching lib/main.dart on iPhone X in debug mode...
Skipping compilation. Fingerprint match.
Running pod install...
CocoaPods' output:
↳
Preparing
Analyzing dependencies
Inspecting targets to integrate
Using `ARCHS` setting to build architectures of target `Pods-Runner`: (`arm64`)
Finding Podfile changes
A helloworld
- Flutter
- camera
Fetching external sources
-> Fetching podspec for `Flutter` from `Pods/.symlinks/flutter/ios`
-> Fetching podspec for `camera` from `Pods/.symlinks/plugins/camera-0.1.2/ios`
-> Fetching podspec for `helloworld ` from `Pods/.symlinks/plugins/helloworld/ios`
[!] No podspec found for `helloworld ` in `Pods/.symlinks/plugins/helloworld/ios`
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/external_sources/path_source.rb:14:in `block in fetch'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/user_interface.rb:85:in `titled_section'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/external_sources/path_source.rb:11:in `fetch'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer/analyzer.rb:685:in `fetch_external_source'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer/analyzer.rb:661:in `block (2 levels) in fetch_external_sources'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer/analyzer.rb:660:in `each'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer/analyzer.rb:660:in `block in fetch_external_sources'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/user_interface.rb:64:in `section'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer/analyzer.rb:659:in `fetch_external_sources'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer/analyzer.rb:82:in `analyze'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer.rb:243:in `analyze'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer.rb:154:in `block in resolve_dependencies'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/user_interface.rb:64:in `section'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer.rb:153:in `resolve_dependencies'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/installer.rb:116:in `install!'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/command/install.rb:41:in `run'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/claide-1.0.2/lib/claide/command.rb:334:in `run'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/lib/cocoapods/command.rb:52:in `run'
/usr/local/Cellar/cocoapods/1.4.0/libexec/gems/cocoapods-1.4.0/bin/pod:55:in `<top (required)>'
/usr/local/Cellar/cocoapods/1.4.0/libexec/bin/pod:22:in `load'
/usr/local/Cellar/cocoapods/1.4.0/libexec/bin/pod:22:in `<main>'
Error running pod install
Error launching application on iPhone X.
This issue has happened to me because I had to rename the plugin I was developing. The package name got taken (for example, plugin_oldname) after I started developing the plugin but before I was able to upload.
The solution for me was:
Fix the .podspec name:
mv ios/plugin_oldname.podspec ios/plugin_newname.podspec
Fix the s.name parameter's value in the podspec file and replace the plugin_oldname with plugin_newname.
Pod::Spec.new do |s|
# Changed to plugin_newname from plugin_oldname
s.name = 'plugin_newname'
Turns out I was missing a dependency in my .yaml file.
It's all working now :) I'll leave this here in case anybody goes looking for the same kind of error

Pod repo update doesn't work

[!] CocoaPods was not able to update the master repo. If this is an unexpected issue and persists you can inspect it running pod repo update --verbose
Re-installing cocoapods doesn't fix the issue..
Verbose output:
/Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/cocoapods-1.2.1/lib/cocoapods/sources_manager.rb:112:in `rescue in update_git_repo'
/Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/cocoapods-1.2.1/lib/cocoapods/sources_manager.rb:106:in `update_git_repo'
/Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/cocoapods-1.2.1/lib/cocoapods/sources_manager.rb:126:in `update_git_repo'
/Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/cocoapods-core-1.2.1/lib/cocoapods-core/source.rb:334:in `update'
/Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/cocoapods-core-1.2.1/lib/cocoapods-core/master_source.rb:15:in `update'
/Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/cocoapods-1.2.1/lib/cocoapods/sources_manager.rb:88:in `block (2 levels) in update'
/Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/cocoapods-1.2.1/lib/cocoapods/user_interface.rb:64:in `section'
/Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/cocoapods-1.2.1/lib/cocoapods/sources_manager.rb:87:in `block in update'
/Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/cocoapods-1.2.1/lib/cocoapods/sources_manager.rb:86:in `each'
/Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/cocoapods-1.2.1/lib/cocoapods/sources_manager.rb:86:in `update'
/Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/cocoapods-1.2.1/lib/cocoapods/command/repo/update.rb:23:in `run'
/Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/claide-1.0.1/lib/claide/command.rb:334:in `run'
/Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/cocoapods-1.2.1/lib/cocoapods/command.rb:52:in `run'
/Users/wojtek/.rbenv/versions/2.2.4/lib/ruby/gems/2.2.0/gems/cocoapods-1.2.1/bin/pod:55:in `<top (required)>'
/Users/wojtek/.rbenv/versions/2.2.4/bin/pod:23:in `load'
/Users/wojtek/.rbenv/versions/2.2.4/bin/pod:23:in `<main>'
Wojtek-Juramy-Macbook-Pro:433 wojtek$
Using pod install --repo-update instead of using pod repo update seems to fix the issue

Why am I unable to run "pod update"?

Whenever I try to run pod update in my project folder, I get the following error:
### Stack
```
CocoaPods : 0.29.0
Ruby : ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13]
RubyGems : 2.0.3
Host : Mac OS X 10.9.1 (13B3116)
Xcode : 5.0.2 (5A3005)
Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib
Repositories : master - https://github.com/CocoaPods/Specs.git # 56f3f79d03ef66e11abefc7c634b3bcdd6426577
```
### Podfile
```ruby
platform :ios, '7.0'
pod 'RedditKit', '~> 1.0'
pod 'UIView+AutoLayout'
pod 'GPUImage'
```
### Error
```
TypeError - Plist contains a hash value object type unsupported by Xcodeproj.
/Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.14.1/lib/xcodeproj/project.rb:172:in `read_plist'
/Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.14.1/lib/xcodeproj/project.rb:172:in `initialize_from_file'
/Library/Ruby/Gems/2.0.0/gems/xcodeproj-0.14.1/lib/xcodeproj/project.rb:93:in `open'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.29.0/lib/cocoapods/installer/analyzer.rb:489:in `block in compute_target_platforms'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.29.0/lib/cocoapods/installer/analyzer.rb:486:in `each'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.29.0/lib/cocoapods/installer/analyzer.rb:486:in `compute_target_platforms'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.29.0/lib/cocoapods/installer/analyzer.rb:55:in `analyze'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.29.0/lib/cocoapods/installer.rb:171:in `analyze'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.29.0/lib/cocoapods/installer.rb:94:in `block in resolve_dependencies'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.29.0/lib/cocoapods/user_interface.rb:52:in `section'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.29.0/lib/cocoapods/installer.rb:93:in `resolve_dependencies'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.29.0/lib/cocoapods/installer.rb:86:in `install!'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.29.0/lib/cocoapods/command/project.rb:38:in `run_install_with_update'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.29.0/lib/cocoapods/command/project.rb:82:in `run'
/Library/Ruby/Gems/2.0.0/gems/claide-0.4.0/lib/claide/command.rb:213:in `run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.29.0/lib/cocoapods/command.rb:51:in `run'
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.29.0/bin/pod:24:in `<top (required)>'
/usr/bin/pod:23:in `load'
/usr/bin/pod:23:in `<main>'
```
How exactly would I go about remedying this? To my knowledge I haven't touched anything Cocoapods related except changing my podfile to include another library.
I tried this: https://github.com/CocoaPods/Xcodeproj/issues/119 and it did not work. I duplicated it, removed the original then renamed the duplicate and it still failed.
In the first line it gives it mentions a file and here's the line it references:
172 plist = Xcodeproj.read_plist(pbxproj_path.to_s)
Try going to Build Settings and changing Build Active Architecture Only to NO. I had a similar problem and this worked for me.
If your project requires Build Active Architecture Only to be set to YES, it also works if you change the value to NO, clean and build, then set it back to YES.
I'm not sure but i hope to fixed it by moving your ProjectName/ProjectName-Info.plist file to ProjectName/ProjectName-Info.plist.bac , then running pod install.
After restored the ProjectName-Info.plist. Everything seems to work as expected.

Resources