[FIXED] Issue where newly tabs ionic starter project simply crashes on ios simulator and ios device. But works if used ionic serve


I installed a starter ionic tab project on mac. After building the app and running "ionic cordova run ios" command the app crashes on ios simulator and ios device. I guess its crashes as it just opens for a second and closes itselft. Not sure whats causing this to happen. The same app works if I use "ionic serve". Can someone please help us in resolving this issue?


Ionic CLI : 5.4.16
Ionic Framework : @ionic/angular 5.5.4
@angular-devkit/build-angular : 0.1101.4
@angular-devkit/schematics : 11.1.4
@angular/cli : 11.1.4
@ionic/angular-toolkit : 3.1.0


Cordova CLI : 10.0.0
Cordova Platforms : none
Cordova Plugins : cordova-plugin-ionic-keyboard 2.2.0, cordova-plugin-ionic-webview 4.2.1, (and 4 other plugins)


cordova-res (update available: 0.15.3) : 0.15.1
native-run (update available: 1.3.0) : 0.3.0


Android SDK Tools : 24.4.1 (/Users/WashConnect/Library/Android/sdk)
ios-deploy : 1.9.2
NodeJS : v13.7.0 (/usr/local/Cellar/node/13.7.0/bin/node)
npm : 7.5.4
OS : macOS Mojave
Xcode : Xcode 11.3.1 Build version 11C504


As per the Ionic instructions for iOS Development, you should first open the project in Xcode and run from there (rather than using the CLI). This will allow you to fix any signing issues, add a development team to your app, etc.

You will find the project within the platforms/ios folder – the file will have the extension .xcodeproj. Once you have completed this process through Xcode, it should work from the command line in future.

Answered By – ashatte

Answer Checked By – Marilyn (FixeMe Volunteer)

Leave a Reply

Your email address will not be published. Required fields are marked *