Hello Techies, one day i am trying to fix issue that i face in production build <Ionic App> in production build the app stuck at splash screen it is not showing further anything, then i get to know that on some component.ts file we are using *nIf instead of *ngIf and below code helps me to debug this issue 🙂
First I tried disabling Ivy in tsconfig.app.json, and its works fine. Which concludes that problem is with Ivy. Thanks to @user2846469
"angularCompilerOptions": {
"enableIvy": false
}
Github Issue Clearly describes the problem and solutions in later comments







![Cannot read property ‘toLowerCase’ of undefined [ERROR] An error occurred while running subprocess cordova.](https://blog.rahulbhutani.com/wp-content/uploads/2020/12/ionic-enable-xcode-permissions-banner-100x70.png)










