'Ionic capacitor app shows only white blank screen in ios

I have an app developed in Ionic it is working fine in Web and Android it is even in Google Play Store right now but when I try to run it on simulator or device it just show a blank white screen not even splashscreen.



Solution 1:[1]

Try it: In capacitor.config.json file, we have an object, we need to change “webDir” default value is “src”

{
    …
    “webDir”: “src”
    …
}

//“webDir” value will be “www”.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Baba