Ionic WkWebView Failed to load webpage: Unsupported URL

Hello,

I have iOS app that uses WKWebView plugin to render pages. Got rejected from Apple Store with the older UIWebView and had to upgrade to the lates. I am using Xcode 16.2 to build and test app and corresponding Simulator.
However, I am unable to come up with the proper combination of parameters in config.xml.
Getting persistent error from:
Plugins/cordova-plugin-ionic-webview/CDVWKWebViewEngine.m
Failed to load webpage: Unsupported URL.

When added bit of debug found out that URL of the page that fails starts with ionic://localhost/…

Here is part of config.xml file:


    <content src="index.html" />
    <access origin="*" />
    <allow-intent href="http://*/*" />
    <allow-intent href="ionic://*/*" />
    <allow-navigation href="*" />
    <allow-navigation href="*://*" />
    <allow-navigation href="ionic://localhost/*" />
    <allow-navigation href="http://localhost/*" />
    <preference name="deployment-target" value="14.0" />
    <feature name="IonicWebView">
        <param name="ios-package" value="CDVWKWebViewEngine" />
    </feature>
    <preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
    <preference name="WKWebViewOnly" value="true" />
    <preference name="DisallowOverscroll" value="true" />
    <preference name="BackupWebStorage" value="none" />
    <preference name="SplashScreen" value="screen" />
    <preference name="SplashScreenDelay" value="3000" />
    <preference name="WKPort" value="8080" />
    <preference name="UseScheme" value="false" />
    <preference name="ScrollEnabled" value="true" />
    <preference name="WKSuspendInBackground" value="false" />
    <preference name="KeyboardAppearanceDark" value="false" />

The other environment config are:
Ionic:

Ionic CLI : 5.4.11 (/usr/local/lib/node_modules/ionic)
Ionic Framework : ionic1 1.2.1
@ionic/v1-toolkit : 2.0.18

Cordova:

Cordova CLI : 7.1.0
Cordova Platforms : ios 5.1.1
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 5.0.0, (and 6 other plugins)

Utility:

cordova-res : not installed
native-run : not installed

System:

ios-sim : 8.0.2
NodeJS : v9.11.2 (/usr/local/bin/node)
npm : 5.6.0
OS : macOS
Xcode : Xcode 16.2 Build version 16C5032a

Did anybody get similar issue and any help would be very appreciated.