IONIC/ ITMS-90809: Deprecated API Usage

Dear Ionic team,

I’m facing this problem when upload to IOS store. Pls guide me to pass it

ITMS-90809: Deprecated API Usage - New apps that use UIWebView are no longer accepted. Instead, use WKWebView for improved security and reliability. Learn more (https://developer.apple.com/documentation/uikit/uiwebview).

Maybe you should google 2 Minutes before asking:

yeah. i have tried follow this guide already. But still fail

You need to understand why this happens. This happens because somewhere in your App the old “UiWebView” is included. Are you using Capacitor or Cordova-ios@5.1.1 with the WKWebViewOnly flag? Then the Framework isn’t the Problem. But the WebView can be used from Plugins too, so try the following:

After the iOS Build, open the xCode Project and search for Text Occurrences of UiWebView.

Hi [EinfachHans]

I’m using Cordova 9.0.0 (cordova-lib@9.0.1).
And i have search Text UiWebView. Found 128 references.
Could u provide some solutions?

Are you using Cordova-ios Version >=5.1.x ? Have you included <preference name="WKWebViewOnly" value="true" /> in your config.xml?

Yep. i’m using “cordova-ios”: “^5.1.1”,
And inculed <preference name="WKWebViewOnly" value="true" /> in config.xml already

But still got this problem

Where are the References at? In which Plugin Files?