I\'m trying to figure out why an app I\'m developing has started crashing immediately when running it on my device (an iPhone 4 running iOS 6.1). I have been working on this
You need to give some more code or tell what does your app do on startup.
But its clear from the crash logs that the Thread0
that main UI thread has been killed. This could be because on device there is a process called watchdog
, it kills any processes which seem dubious. like take too much memory or take take too much time to show first screen on app startup & other things which "Apple" thinks would affect user experience. So...
As it turns out there was a problem with my device. I reset my device and the crash disappeared. In future I'll be sure to remember to try resetting my device when I run into this crash.