White screen of dead with --prod --release


Hi guys! :slight_smile: I have a problem with ionic build…

If I build with ionic cordova build ios everything works fine on device! But when I´m using flags --prod --release the app freezes on the white screen of dead. :slight_smile: Why? :smiley: I´m building with the old build system (-UseModernBuildSystem=0)

This is the log from xCode:

2018-10-28 10:40:22.826145+0200 MinistryJW[6924:574557] Apache Cordova native platform version 4.5.5 is starting.
2018-10-28 10:40:22.826918+0200 MinistryJW[6924:574557] Multi-tasking -> Device: YES, App: YES
2018-10-28 10:40:22.831866+0200 MinistryJW[6924:574557] 

Started backup to iCloud! Please be careful.
Your application might be rejected by Apple if you store too much data.
For more information please read "iOS Data Storage Guidelines" at:
To disable web storage backup to iCloud, set the BackupWebStorage preference to "local" in the Cordova config.xml file
2018-10-28 10:40:22.836139+0200 MinistryJW[6924:574557] CDVWKWebViewEngine: trying to inject XHR polyfill
2018-10-28 10:40:22.893862+0200 MinistryJW[6924:574557] CDVWKWebViewEngine will reload WKWebView if required on resume
2018-10-28 10:40:22.893905+0200 MinistryJW[6924:574557] Using Ionic WKWebView
2018-10-28 10:40:22.894161+0200 MinistryJW[6924:574557] [CDVTimer][console] 0.050068ms
2018-10-28 10:40:22.894254+0200 MinistryJW[6924:574557] [CDVTimer][handleopenurl] 0.061035ms
2018-10-28 10:40:22.895406+0200 MinistryJW[6924:574557] Unlimited access to network resources
2018-10-28 10:40:22.895446+0200 MinistryJW[6924:574557] [CDVTimer][intentandnavigationfilter] 1.169920ms
2018-10-28 10:40:22.895503+0200 MinistryJW[6924:574557] [CDVTimer][gesturehandler] 0.038028ms
2018-10-28 10:40:22.897228+0200 MinistryJW[6924:574557] [CDVTimer][file] 1.698017ms
2018-10-28 10:40:22.901060+0200 MinistryJW[6924:574557] [CDVTimer][splashscreen] 3.808022ms
2018-10-28 10:40:22.905349+0200 MinistryJW[6924:574557] [CDVTimer][statusbar] 4.253983ms
2018-10-28 10:40:22.905723+0200 MinistryJW[6924:574557] [CDVTimer][socialsharing] 0.349045ms
2018-10-28 10:40:22.906736+0200 MinistryJW[6924:574557] [CDVTimer][keyboard] 0.964046ms
2018-10-28 10:40:22.906775+0200 MinistryJW[6924:574557] [CDVTimer][TotalPluginStartup] 12.676001ms
2018-10-28 10:40:23.368641+0200 MinistryJW[6924:574557] Ionic Native: deviceready event fired after 175 ms
2018-10-28 10:40:23.368723+0200 MinistryJW[6924:574557] DEVICE READY FIRED AFTER 115 ms

PS: Only --release works… Do I need the --prod flag for submitting the app?

“Cannot read property toLowerCase of undefined” on ionic build ios

Same problem here. Have you found a solution yet?