Ios CocoaPods找不到pod的兼容版本;AFNetworking";:
我想将我的AFNetworking更新为版本pod'AFNetworking',“~>4.0”,但出现以下错误Ios CocoaPods找不到pod的兼容版本;AFNetworking";:,ios,iphone,cocoapods,afnetworking,xcode11,Ios,Iphone,Cocoapods,Afnetworking,Xcode11,我想将我的AFNetworking更新为版本pod'AFNetworking',“~>4.0”,但出现以下错误 [!] CocoaPods could not find compatible versions for pod "AFNetworking": In Podfile: AFNetworking (~> 4.0) AFOAuth2Manager was resolved to 2.0.0, which depends on AFNetworkin
[!] CocoaPods could not find compatible versions for pod "AFNetworking":
In Podfile:
AFNetworking (~> 4.0)
AFOAuth2Manager was resolved to 2.0.0, which depends on
AFNetworking (~> 2.2)
CocoaPods could not find compatible versions for pod "AFNetworking/NSURLConnection":
In Podfile:
AFOAuth2Manager was resolved to 2.2.0, which depends on
AFNetworking/NSURLConnection (~> 2.2)
None of your spec sources contain a spec satisfying the dependency: `AFNetworking/NSURLConnection (~> 2.2)`.
我在xcode11.3.1中使用pod版本1.8.4和macOS 10.15.3。
你能帮我解决这个问题吗有一个类似的问题,改成
pod 'AFNetworking', '~> 4.0.1'
以及删除过时的依赖项
# pod 'AFNetworking+RetryPolicy', '~>1.0.3'
足以解决此问题也有类似的问题,更改为
pod 'AFNetworking', '~> 4.0.1'
以及删除过时的依赖项
# pod 'AFNetworking+RetryPolicy', '~>1.0.3'
已经足够解决这个问题了在AFNetworking contributor的帮助下,我已经解决了这个问题 请通过以下链接 我更新了我的播客文件,如下所示:
pod 'AFNetworking', :source => 'https://github.com/ElfSundae/CocoaPods-Specs.git'
pod 'AFOAuth2Manager','~> 3.0'
我已在AFNetworking contributor的帮助下修复了此问题 请通过以下链接 我更新了我的播客文件,如下所示:
pod 'AFNetworking', :source => 'https://github.com/ElfSundae/CocoaPods-Specs.git'
pod 'AFOAuth2Manager','~> 3.0'
您找到解决方案了吗???@AjithKumar.请检查我的答案您找到解决方案了吗???@AjithKumar.请检查我的答案您是否对现有代码进行了任何更改以使API正常工作。。。在对pod文件做了上述更改之后,我得到了所有实现的API请求的超时!任何能让它工作的东西都会很有帮助。你有没有对现有的代码做过任何修改来让API工作。。。在对pod文件做了上述更改之后,我得到了所有实现的API请求的超时!任何能让它起作用的东西都会有帮助。