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

 

相关文章:

  • 2021-06-01
  • 2021-11-09
  • 2021-07-03
  • 2021-06-01
  • 2021-12-12
  • 2022-12-23
  • 2021-08-02
  • 2022-12-23
猜你喜欢
  • 2018-11-30
  • 2022-03-02
  • 2022-12-23
  • 2021-06-25
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案