Search code examples
iosxcodeionic3cordova-3

Ionic emulate runtime error, but no details


Ionic serve works fine, no errors. But when running ionic cordova emulate ios -lc, an error message appears without any stack trace or detail. Nothing shows up in the console, either.

The error message in the emulator window is simply:

Error: Runtime error

How do I go about debugging this error?


Solution

  • Open the ionic generated Xcode project in Xcode from that path :

    Your_ionic_project/platforms/ios/

    Now build your Project and see the logs in Xcode console.