# APP stuck on splash screen when using --prod (IOS 10 or lower ONLY)

**URL:** <https://forum.ionicframework.com/t/app-stuck-on-splash-screen-when-using-prod-ios-10-or-lower-only/134303>\
**Category:** ionic-v3\
**Created:** [July 4, 2018, 4:31am UTC](https://forum.ionicframework.com/t/app-stuck-on-splash-screen-when-using-prod-ios-10-or-lower-only/134303 "2018-07-04T04:31:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bachlongkocanh](https://avatars.discourse-cdn.com/v4/letter/b/c77e96/32.png) [@bachlongkocanh](https://forum.ionicframework.com/u/bachlongkocanh)\
**Post date:** [July 4, 2018, 4:31am UTC](https://forum.ionicframework.com/t/app-stuck-on-splash-screen-when-using-prod-ios-10-or-lower-only/134303/1 "2018-07-04T04:31:02Z")

</div>

The app works fine in both android and ios (11.3 or hight), when I used to run the app using commands:  
**ionic cordova build ios**  
But as soon as I run the app using ‘–prod’ in front of them the app used to get stuck on my splash  
My ionic info prints this:

```auto
cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils : 1.19.2
    ionic (Ionic CLI) : 3.20.0

global packages:

    cordova (Cordova CLI) : 8.0.0 

local packages:

    @ionic/app-scripts : 3.1.8
    Cordova Platforms : ios 4.5.4
    Ionic Framework : ionic-angular 3.9.2

System:

    ios-deploy : 1.9.2 
    ios-sim : 6.1.2 
    Node : v8.10.0
    npm : 5.6.0 
    OS : macOS High Sierra
    Xcode : Xcode 9.3 Build version 9E145 

Environment Variables:

    ANDROID_HOME : not set

Misc:

    backend : pro

```

I got this in my safari debugger. Maybe this would help you out…!  
 ![a94788ba9875f1f3a569428be7584bd717bf46e3_1_690x149](https://global.discourse-cdn.com/ionicframework/original/3X/3/c/3c1c124cbb6823181ae442e142067685e8da80e7.png)  
I run on IOS 11.3 no problem, but with IOS 10 or lower and using flag “–prod” then error.

---

<div class="post-metadata">

**Author:** ![oporje](https://avatars.discourse-cdn.com/v4/letter/o/a9a28c/32.png) [@oporje](https://forum.ionicframework.com/u/oporje)\
**Post date:** [May 15, 2019, 1:41pm UTC](https://forum.ionicframework.com/t/app-stuck-on-splash-screen-when-using-prod-ios-10-or-lower-only/134303/2 "2019-05-15T13:41:36Z")

</div>

did you find the solution ?

> [@Ionic app is not working on IOS 10 and below](https://forum.ionicframework.com/t/ionic-app-is-not-working-on-ios-10-and-below/163957):
>
> Hi, We have upgraded to mojave and XCODE 10.2 And building our application using below command ionic cordova build ios – --buildFlag="-UseModernBuildSystem=0" App works well on the IOS 11 and 12 But it is not going past the splash screen in the ios 10 & 9

We are facing almost similar issue see above post

---

<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:30pm UTC](https://forum.ionicframework.com/t/app-stuck-on-splash-screen-when-using-prod-ios-10-or-lower-only/134303/3 "2021-07-19T21:30:27Z")

</div>

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


