Donald Burr
Donald Burr

Reputation: 2281

(iOS) App runs fine on iPhone but immediately crashes in simulator, no diagnostic messages shown

My iOS app runs just fine on an actual device (even after hours of testing by multiple testers); however when attempting to run it on the simulator, it crashes immediately (doesn't even seem to get as far as main()). It just shows my app's launch screen then immediately dies. Absolutely no information whatsoever is printed or logged (I checked the debug window, the Console app, etc.). Does anyone have any ideas/suggestions as to how I would go about getting to the bottom of this? Thanks!

Upvotes: 1

Views: 258

Answers (1)

Jes
Jes

Reputation: 88

Try to Reset the iOS Simulator if not working Try enabling NSZombieEnabled

You can do by clicking on 'Product' in the Xcode top bar. Press the option key and click on run. Under environment variables click + Added NSZombieEnabled and set its value to YES

You may find some error..

Upvotes: 1

Related Questions