Dan Navarez
Dan Navarez

Reputation: 1

Objective c AFNetworking rejected on apple because of UIWebView

Objective c AFNetworking rejected on apple because of UIWebView. Tried all suggestion. Can't upgrade the library due to it's old app. Latest version can install for AFNetworking is like 3.2.1 something like that.

Has anyone had a remedy and is working?

Upvotes: 0

Views: 736

Answers (1)

Anjula Serasinghe
Anjula Serasinghe

Reputation: 827

If you integrate AFNetworking with Cocoapods and you don't need AFNetworking/UIKit subspec, you could define your podfile like this: pod 'AFNetworking', '~> 2.0', :subspecs => ['Reachability', 'Serialization', 'Security', 'NSURLSession', 'NSURLConnection'] Define your version number properly and depends on your dependences you could remove NSURLConnection.

This is the only option you have given that you do not want to upgrade and im hoping you dont want to use the UIWebView either.

Refer to this https://github.com/AFNetworking/AFNetworking/issues/4428

Upvotes: 1

Related Questions