Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save sudhirkhanger/5553bdf9fa987be1c2ebe59514fcf5a5 to your computer and use it in GitHub Desktop.
Save sudhirkhanger/5553bdf9fa987be1c2ebe59514fcf5a5 to your computer and use it in GitHub Desktop.
'pod install' command failed with code 1.
Full command: pod install
Error message:
WARNING: CocoaPods requires your terminal to be using UTF-8 encoding.
Consider adding the following to ~/.profile:
export LANG=en_US.UTF-8

/usr/local/Cellar/ruby@3.0/3.0.6/lib/ruby/3.0.0/unicode_normalize/normalize.rb:141:in `normalize': Unicode Normalization not appropriate for ASCII-8BIT (Encoding::CompatibilityError)
from /usr/local/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/config.rb:166:in `unicode_normalize'
from /usr/local/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/config.rb:166:in `installation_root'
from /usr/local/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/config.rb:226:in `podfile_path'
from /usr/local/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/user_interface/error_report.rb:105:in `markdown_podfile'
from /usr/local/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/user_interface/error_report.rb:30:in `report'
from /usr/local/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/command.rb:66:in `report_error'
from /usr/local/lib/ruby/gems/3.0.0/gems/claide-1.1.0/lib/claide/command.rb:396:in `handle_exception'
from /usr/local/lib/ruby/gems/3.0.0/gems/claide-1.1.0/lib/claide/command.rb:337:in `rescue in run'
from /usr/local/lib/ruby/gems/3.0.0/gems/claide-1.1.0/lib/claide/command.rb:324:in `run'
from /usr/local/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/command.rb:52:in `run'
from /usr/local/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/bin/pod:55:in `<top (required)>'
from /usr/local/bin/pod:25:in `load'
from /usr/local/bin/pod:25:in `<main>'
/usr/local/Cellar/ruby@3.0/3.0.6/lib/ruby/3.0.0/unicode_normalize/normalize.rb:141:in `normalize': Unicode Normalization not appropriate for ASCII-8BIT (Encoding::CompatibilityError)
from /usr/local/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/config.rb:166:in `unicode_normalize'
from /usr/local/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/config.rb:166:in `installation_root'
from /usr/local/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/config.rb:226:in `podfile_path'
from /usr/local/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/config.rb:205:in `podfile'
from /usr/local/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/command.rb:160:in `verify_podfile_exists!'
from /usr/local/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/command/install.rb:46:in `run'
from /usr/local/lib/ruby/gems/3.0.0/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
from /usr/local/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/lib/cocoapods/command.rb:52:in `run'
from /usr/local/lib/ruby/gems/3.0.0/gems/cocoapods-1.12.1/bin/pod:55:in `<top (required)>'
from /usr/local/bin/pod:25:in `load'
from /usr/local/bin/pod:25:in `<main>'
Please, check that podfile contains following lines in header:
source 'https://cdn.cocoapods.org'
Please, check that each target depended on shared contains following dependencies:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment