The following requirements could not be met: AFNetworking dependency was found, but they required a higher minimum deployment target

I use cocoapods to import AFNetworking, I get the following error after trying pod install

[!] The following requirements cannot be met:

  • AFNetworking (~> 3.0) Podfile

Specifications were found to satisfy AFNetworking (~> 3.0) dependencies AFNetworking (~> 3.0) , but they required a higher minimum deployment target.

I am using pod version 0.39.0 and the project deployment target is 8.0

Here is my content in the subfile:

 source 'https://github.com/CocoaPods/Specs.git' platform :ios, '8.0' pod 'AFNetworking','~>3.0' 

Same as AFNetworking request from https://github.com/AFNetworking/AFNetworking

Can I have an idea about the error?

+5
source share

Source: https://habr.com/ru/post/1247920/


All Articles