You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
iOS apps which have a double initialization of application crash with no error.
When you inspect the system log for the device (in my case the iOS Simulator), you see Oct 30 17:27:00 KOEVSKAMAC.local jasmine[25320]: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'There can only be one UIApplication instance.'
However, in such cases, some kind of error should be shown in the console of the CLI or on the device, or both.
In my case this occurred while I was playing with unit testing. I had a second require for app.js inside my tests and when I tried running the unit tests on app, the app kept crashing with no meaningful error.
The text was updated successfully, but these errors were encountered:
iOS apps which have a double initialization of application crash with no error.
When you inspect the system log for the device (in my case the iOS Simulator), you see
Oct 30 17:27:00 KOEVSKAMAC.local jasmine[25320]: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'There can only be one UIApplication instance.'
However, in such cases, some kind of error should be shown in the console of the CLI or on the device, or both.
In my case this occurred while I was playing with unit testing. I had a second require for app.js inside my tests and when I tried running the unit tests on app, the app kept crashing with no meaningful error.
The text was updated successfully, but these errors were encountered: