[!] No `Podfile' found in the project directory.
1.cd ios/
2.vim Podfile(创建Podfile)且输入内容
source'https://github.com/CocoaPods/Specs.git'
platform:ios,'8.0'
inhibit_all_warnings!
target 'testDemo' do
pod 'AFNetworking', '~> 2.6.0'
end
3.按esc
4.再输入:wq(走完第三步后无需找位置输入:wq,输入就行)
5.pod install