pod install 失败
/Library/Ruby/Gems/2.0.0/gems/cocoapods-0.36.0/lib/cocoapods/user_interface/error_report.rb:13:in report': incompatible character encodings: UTF-8 and ASCII-8BIT (Encoding::CompatibilityError) from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.36.0/lib/cocoapods/command.rb:59:inreport_error'
from /Library/Ruby/Gems/2.0.0/gems/claide-0.8.1/lib/claide/command.rb:374:in handle_exception' from /Library/Ruby/Gems/2.0.0/gems/claide-0.8.1/lib/claide/command.rb:315:inrescue 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.36.0/lib/cocoapods/command.rb:46:inrun'
from /Library/Ruby/Gems/2.0.0/gems/cocoapods-0.36.0/bin/pod:44:in <top (required)>' from /usr/bin/pod:23:inload'
from /usr/bin/pod:23:in `
我这里使用 cocoapods 0.36 正常,重装下试试?
localhost:bizhi mac-root$ pod install Updating local specs repositories
CocoaPods 1.0.0.beta.5 is available.
To update use: gem install cocoapods --pre
[!] This is a test version we'd love you to try.
For more information see http://blog.cocoapods.org and the CHANGELOG for this version http://git.io/BaH8pQ.
Analyzing dependencies Downloading dependencies Installing AFNetworking (2.5.4)
[!] Error installing AFNetworking [!] /usr/bin/git clone https://github.com/AFNetworking/AFNetworking.git /var/folders/cx/1_x9pk0s4858mb2n4c3_mqtm0000gn/T/d20160322-3055-1kfllrd --single-branch --depth 1 --branch 2.5.4 --recursive
Cloning into '/var/folders/cx/1_x9pk0s4858mb2n4c3_mqtm0000gn/T/d20160322-3055-1kfllrd'... fatal: unable to access 'https://github.com/AFNetworking/AFNetworking.git/': Could not resolve host: github.com
[!] 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
localhost:bizhi mac-root$ pod --version
0.39.0
localhost:bizhi mac-root$
我把后面的版本号全部去掉,加上target就成功了 但是我运行的时候出现这个错误 ld: library not found for -lPods clang: error: linker command failed with exit code 1 (use -v to see invocation) 是还要依赖其他什么库吗? 我profile是这样的 platform :ios, '6.1' inhibit_all_warnings!
target 'bizhi' do
pod 'AFNetworking' pod 'SDWebImage' pod 'ReactiveCocoa' pod 'SVProgressHUD' pod 'SVPullToRefresh' pod 'ReactiveViewModel' pod 'CHTCollectionViewWaterfallLayout' pod 'JSONModel' pod 'AFNetworking-RACExtensions' pod 'Objection'
end
Just go to "Build Phases" -> "Compile Sources" and look for duplicate of classes. and remove it....worked for me

but permission is required to run it....would any body plz grant me permission to run it...i'm new to objective c and use it for learning purpose