Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ITMS-90809: Deprecated API Usage -- Apple will stop accepting submissions of apps that use UIWebView APIs

Yesterday, I uploaded my App to TestFlight and after a while Apple sent me this warning:

ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . See https://developer.apple.com/documentation/uikit/uiwebview for more information.

The thing is that I don't use UIWebView in my app so I tried to update my pods but still the same thing.By the way this is my 3rd build on TestFlight and this is the first time apple sends me this. Any ideas?

Update

These are my pods:

pod 'Firebase/Core' pod 'Firebase/Firestore' pod 'Firebase/MLVision' pod 'Firebase/MLVisionTextModel' pod 'SVProgressHUD' pod 'SPPermission/Camera' pod 'SPPermission/PhotoLibrary' pod 'Mantis' pod 'SwiftKeychainWrapper' pod 'SwiftyOnboard' pod 'Fabric' pod 'Crashlytics' 

Update 2

Seems like I found the frameworks with the issue.

Binary file ./Pods/FirebaseMLCommon/Frameworks/FirebaseMLCommon.framework/FirebaseMLCommon matches Binary file ./Pods/Crashlytics/iOS/Crashlytics.framework/Crashlytics matches Binary file ./Pods/GoogleMobileVision/Detector/Frameworks/GoogleMobileVision.framework/GoogleMobileVision matches 

So now do I have to wait for google to fix them and update my pods?

like image 978
Nick Avatar asked Aug 30 '19 07:08

Nick


People also ask

Is UIWebView deprecated?

Apple is phasing out UIWebView, which is used by developers for integrating web content into an app in a quick and secure manner. Apple is replacing UIWebView (and WebView) with WKWebView, an updated version, as UIWebView has been deprecated.

What is deprecated API usage?

A deprecated API is one that you are no longer recommended to use, due to changes in the API. While deprecated classes, methods, and fields are still implemented, they may be removed in future implementations, so you should not use them in new code, and if possible rewrite old code not to use them.

What is UIWebView on Apple Iphone?

A view that embeds web content in your app.

Can I still use UIWebView?

UIWebView APIs are still supported in the upcoming iOS 13 release as well as macOS Catalina but are still going away in future releases.


1 Answers

Check if you use in your code the UIWebView class; if yes replace your implementation with WKWebView, else need check your Pods.

Go with terminal into your project folder and execute the command: grep -r "UIWebView" .

All matched pod must be updated. Now I'm stuck because I found UIWebView into Google AdMob (version 7.49.0) and I'm waiting a new version from Google.

like image 165
iNardex Avatar answered Nov 08 '22 00:11

iNardex