安装pods objective C时出现CompatibilityError

时间:2015-08-10 11:57:19

标签: objective-c cocoapods

以下是我运行

时遇到的错误
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>'

以下是我的PodFile     平台:ios,'8.4'

target 'PodProject' do
pod 'AFNetworking', '2.2.1' 
end

target 'PodProjectTests' do
pod 'AFNetworking', '2.2.1'
end

我已尝试更新&#34; gem&#34;

0 个答案:

没有答案