我想更新 pod 'AFNetworking', '~> 4.0.1'
但我的终端显示以下错误,比如当 荚安装 命令运行
Specs satisfying the `AFNetworking/NSURLSession (= 4.0.1), AFNetworking/NSURLSession (~> 3.0)` dependency were found, but they required a higher minimum deployment target.
我的podfile如下
pod 'AFOAuth2Manager', '~> 3.0'
pod 'AFNetworking', '~> 4.0.1'
如何解决这个错误?
AFNetworking 4.x版本只能支持iOS 9及以上版本。你的项目的部署目标应该是iOS 9或以上。