Pod安装显示错误,如需要更高的最小部署目标。

问题描述 投票:0回答:1

我想更新 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'

如何解决这个错误?

ios objective-c iphone xcode afnetworking
1个回答
0
投票

AFNetworking 4.x版本只能支持iOS 9及以上版本。你的项目的部署目标应该是iOS 9或以上。

© www.soinside.com 2019 - 2024. All rights reserved.