We are building an app that uses AFNetworking 3.2.1 as a pod dependency. As we tried to submit the app in App Store for review, Apple says:
" We identified one or more issues with a recent delivery for your app. Your delivery was successful, but you may wish to correct the following issues in your next delivery:
ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . "
AFNetworking has a dependency on UIWebView which is deprecated. Any plan to remove this dependency?
Thanks for this excellent library!
There is already an issue #4428 and a fix #4439.
It seems like #4439 will be merged in the new version: https://github.com/AFNetworking/AFNetworking/pull/4430#issuecomment-544321511
Any timing estimate on the new version that will remove the UIWebView dependency ?
When do we get the release?
Any updates?
Do we have an idea about when the new release might be out, please?
waitting release
When does the release come out?
any release?
any new release from AFNetworking which replaced UIWebView with WKWebView ? please let me know . thank you
Hi there,
is there any update for further release to resolve the issue "Deprecated UIWebview"
Thank you
I'm waiting also me to an update for "Deprecated UIWebview"..
Let us know..
Thanks..
Is the project dead?
Any updates?
You may like to try my fork: https://github.com/ElfSundae/AFNetworking/issues/1
I'm waiting any updates too...
i have to say this become urgent in my production release, any update guys???
I'm waiting for an update on "Deprecated UIWebview". When do we get the release?
I am waiting for this update too any news? do we have an ETA of when the fix will be released?
Same we are waiting for this update as well
Take a look at #4439
Updated, released. Can be closed.
CocoaPods could not find compatible versions for pod "AFNetworking":
In Podfile:AFNetworking (~> 4.0)
pod 'AFNetworking', '~> 4.0.0'
Also make sure your repo is up-to-date and ideally uses CocoaPods CDN.
If your problem persists, paste your podfile here.
I put in podfile:
pod 'AFNetworking', '~> 4.0.1'
But it fail:
````
[!] CocoaPods could not find compatible versions for pod "AFNetworking":
In snapshot (Podfile.lock):
AFNetworking (= 3.2.1, ~> 3.0)
In Podfile:
AFNetworking (~> 4.0.1)
Specs satisfying the AFNetworking (~> 4.0.1), AFNetworking (= 3.2.1, ~> 3.0) dependency were found, but they required a higher minimum deployment target.
````
How can i resolve this?
Do what the error says: up your minimum deployment target. It is now iOS 9 for AFNetworking.
In my project deployment target says: iOS 11, and in Pods iOS deployment target says: 10 .
What else can be?
Looks like you may have other dependencies using an older version of AFNetworking. You could also try pod update to ensure you're on the latest versions.
On top of my PodFile:
platform :ios, '10.0'
Looks like you may have other dependencies using an older version of AFNetworking. You could also try
pod updateto ensure you're on the latest versions.
Ok I will check and send a feedback...thanks
And yep....i use ImageSlideshow/AFURL wich use older version AFNetworking. So i remove ImageSlideshow/AFURL.
Now works just fine.... thanks! @jshier
After Updating pod 4.0.0 getting below error. please help
No visible @interface for 'AFHTTPSessionManager' declares the selector 'GET:parameters:progress:success:failure:'
After Updating pod 4.0.0 getting below error. please help
No visible @interface for 'AFHTTPSessionManager' declares the selector 'GET:parameters:progress:success:failure:'
@rasmita12
Please don't comment on closed issue with unrelated posts.
Use new API GET:parameters:headers:progress:success:failure:.
After Updating pod 4.0.0 getting below error. please help
No visible @interface for 'AFHTTPSessionManager' declares the selector 'GET:parameters:progress:success:failure:'@rasmita12
Please don't comment on closed issue with unrelated posts.
Use new APIGET:parameters:headers:progress:success:failure:.
Hey, I used this way - (NSURLSessionDataTask *)GET:(NSString *)URLString parameters:(id)param progress:(NECBProgress)progress success:(NECBSucess)success failure:(NECBFailure)failure {
return [self.manager GET:URLString parameters:param headers:nil progress:^(NSProgress *downloadProgress). Error went and everything is working fine excluding weather forecast.
Most helpful comment
Any timing estimate on the new version that will remove the UIWebView dependency ?