Ionic 4 error ios file:///private/var/containers/Bundle/Application/E5E616C0-4389-4848-80FC-6B7EFAF90D41/.../index.html

Hi everyone, I would appreciate it if you could help me solve this problem with the platform IOS,
when running the application show the splash screen and after the screen shows a white screenshot

this is the stack shown in the execution (xcode)

the application stays like this


   Ionic CLI                     : 5.4.16 (/usr/local/lib/node_modules/ionic)
   Ionic Framework               : @ionic/angular 4.11.10
   @angular-devkit/build-angular : 0.13.9
   @angular-devkit/schematics    : 7.3.9
   @angular/cli                  : 7.3.9
   @ionic/angular-toolkit        : 1.5.1


   Capacitor CLI   : not installed
   @capacitor/core : not installed


   Cordova CLI       : 9.0.0 (cordova-lib@9.0.1)
   Cordova Platforms : android 8.1.0, ios 4.5.5
   Cordova Plugins   : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.1.3, (and 15 other plugins)


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


   ios-sim : ios-sim/9.0.0 darwin-x64 node-v10.17.0
   NodeJS  : v10.17.0 (/usr/local/bin/node)
   npm     : 6.11.3
   OS      : macOS Catalina

Hi everyone, I find at a solution for this problem, follow the next step:

  1. close Xcode;

  2. Make sure localhost is allowed in config.xml:

<allow-navigation href="http://localhost:8080/*" />
<preference name="CordovaWebViewEngine" value="CDVUIWebViewEngine" />
<platform name="ios">


$ ionic cordova plugin remove cordova cordova-plugin-ionic-webview --save
$ rm -rf platforms/
$ rm -rf plugins/
$ ionic cordova build ios

inside of the tag platform ios

<feature name="CDVWKWebViewEngine">
  <param name="ios-package" value="CDVWKWebViewEngine" />
<preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />

finally run:

ionic cordova build ios