# White screen of dead with --prod --release

**URL:** <https://forum.ionicframework.com/t/white-screen-of-dead-with-prod-release/145953>\
**Category:** ionic-v3\
**Created:** [October 28, 2018, 8:57am UTC](https://forum.ionicframework.com/t/white-screen-of-dead-with-prod-release/145953 "2018-10-28T08:57:38Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![danielederosa](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/danielederosa/32/114909_2.png) [@danielederosa](https://forum.ionicframework.com/u/danielederosa)\
**Post date:** [October 28, 2018, 8:57am UTC](https://forum.ionicframework.com/t/white-screen-of-dead-with-prod-release/145953/1 "2018-10-28T08:57:38Z")

</div>

Hi guys! 🙂 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. 🙂 Why? 😃 I´m building with the old build system (-UseModernBuildSystem=0)

This is the log from xCode:

```auto
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:
https://developer.apple.com/icloud/documentation/data-storage/
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?

---

<div class="post-metadata">

**Author:** ![justed](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@justed](https://forum.ionicframework.com/u/justed)\
**Post date:** [December 14, 2018, 11:47am UTC](https://forum.ionicframework.com/t/white-screen-of-dead-with-prod-release/145953/2 "2018-12-14T11:47:05Z")

</div>

Same problem here. Have you found a solution yet?

---

<div class="post-metadata">

**Author:** ![Thomily](https://avatars.discourse-cdn.com/v4/letter/t/2acd7d/32.png) [@Thomily](https://forum.ionicframework.com/u/Thomily)\
**Post date:** [May 16, 2019, 5:31pm UTC](https://forum.ionicframework.com/t/white-screen-of-dead-with-prod-release/145953/3 "2019-05-16T17:31:46Z")

</div>

Same! Can someone help?

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:12pm UTC](https://forum.ionicframework.com/t/white-screen-of-dead-with-prod-release/145953/4 "2021-07-19T21:12:05Z")

</div>

Closed on July 19, 2021, 9:12pm UTC


