Cross origin requests are only supported for HTTP... when running my Cordova for Xcode simulator


when running Xcode simulator in the Cordova folder using the latest f7 version that I installed via f7 CLI the links to the pages show from file:///… not using the www local directory to find the pages…

using the Xcode simulator
the error I get in the console for instance if I click to go to the action-sheet page or any page it is the same:

Cross origin requests are only supported for HTTP.
file:///Users/xxx/Library/Developer/CoreSimulator/Devices/D0D1A945-DA4C-4C87-BD67-9972A689295E/data/Containers/Bundle/Application/CDE9AAE5-608F-4226-AE7B-A92F67BEB508/ due to access control checks.

I have installed also inside my config.xml in my Cordova project these:

    <plugin name="cordova-plugin-wkwebview-file-xhr" spec="^2.1.1" />
    <preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
    <feature name="CDVWKWebViewEngine">
        <param name="ios-package" value="CDVWKWebViewEngine" />
    <preference name="InterceptRemoteRequests" value="none" />
    <preference name="AllowUntrustedCerts" value="on" />

anyone has the same issue and has resolve it some way?
thanks for any tips!