pod项目安装Alamofire、ObjectMapper、AlamofireObjectMapper

  1. 在Pods目录下的Podfile配置如下:
platform :ios, '10.13'

target 'cloudGym' do
  # Comment the next line if you're not using Swift and don't want to use dynamic frameworks
  use_frameworks!

  pod 'Alamofire', '~> 4.8.1'
  pod 'ObjectMapper', '~> 3.4'
  pod 'AlamofireObjectMapper', '~> 5.2'

end
  1. 然后进入该项目下的命令行,执行pod install

你可能感兴趣的:(pod项目安装Alamofire、ObjectMapper、AlamofireObjectMapper)