'ionic 6 capacitor IOS app showing only white screen on app start

I am trying to build a blank iOS project using ionic v6 capacitor 3. However when I run the app, it shows me only a blank white screen on IOS. When I try to debug in Xcode, the output is given as ' KeyboardPlugin: resize mode - native ⚡️ Loading app at capacitor://localhost... ⚡️ WebView loaded'

I tried to debug on safari as well but the console is also empty. There is no issue on the android version. My capacitor.config.ts file also has webDIR as 'www'. Please help on this one.



Sources

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

Source: Stack Overflow

Solution Source