“pod install”期间cocoapods 0.37.2错误

时间:2015-05-30 23:05:45

标签: xcode terminal cocoapods osx-yosemite

我正在尝试sinch sdk。我想用它来使用cocoapods。我继续将podfile添加到我原始项目所在的目录中。当我运行“pod install”时,我收到以下错误。

MIGUELs-MacBook-Pro:messaging miguel$ pod install
/Library/Ruby/Gems/2.0.0/gems/cocoapods-core-0.37.2/lib/cocoapods-core/standard_error.rb:88:in `message': incompatible character encodings: ASCII-8BIT and UTF-8 (Encoding::CompatibilityError)
from /Library/Ruby/Gems/2.0.0/gems/claide-0.8.1/lib/claide/command.rb:367:in `handle_exception'
from /Library/Ruby/Gems/2.0.0/gems/claide-0.8.1/lib/claide/command.rb:315:in `rescue in run'
from /Library/Ruby/Gems/2.0.0/gems/claide-0.8.1/lib/claide/command.rb:303:in `run'
from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.37.2/lib/cocoapods/command.rb:46:in `run'
from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.37.2/bin/pod:44:in `<top (required)>'
from /usr/bin/pod:23:in `load'
from /usr/bin/pod:23:in `<main>'

如果我尝试“pod update”

,也会发生同样的情况

我可能做错了什么?

非常感谢任何帮助或指示

1 个答案:

答案 0 :(得分:15)

好吧,所以我分析了我的“podfile并注意到(')是错误的。如果有人遇到这个问题,请确保按下(控制和”),在每个库的前面和末尾添加正确的。

它可以帮助那里的任何人