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
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
本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。