Seems like this pops up occasionally when searching for podspecs:
└ % pod search TBXML
-> TBXML (1.5)
/Users/ksmiley/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/cocoapods-0.16.4/lib/cocoapods/command/error_report.rb:13:in `report': incompatible character encodings: UTF-8 and ASCII-8BIT (Encoding::CompatibilityError)
from /Users/ksmiley/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/cocoapods-0.16.4/lib/cocoapods/command.rb:87:in `rescue in run'
from /Users/ksmiley/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/cocoapods-0.16.4/lib/cocoapods/command.rb:71:in `run'
from /Users/ksmiley/.rbenv/versions/2.0.0-p0/lib/ruby/gems/2.0.0/gems/cocoapods-0.16.4/bin/pod:16:in `<top (required)>'
from /Users/ksmiley/.rbenv/versions/2.0.0-p0/bin/pod:23:in `load'
from /Users/ksmiley/.rbenv/versions/2.0.0-p0/bin/pod:23:in `<main>'
I've never experienced it. I've never used Ruby 2.0 with CocoaPods 0.16 and I can't reproduce it on 0.17. Not sure if the issues is solved or just doesn't appear with my setup.
No worries 😄
This error is usually related to an improperly configured environment. Setting the LANG=en_US.UTF-8 flag should solve the issue.
I have the same issue, i have tried LANG=en_US.UTF-8 and LANG=sv_SE.UTF-8
The problem was the use of incorrect quotes around the iOS version. Make sure all your quotes are ' and not ‘ or ’.