App crashing immediately on start up, on device only

前端 未结 2 378
暖寄归人
暖寄归人 2021-01-20 01:17

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

相关标签:
2条回答
  • 2021-01-20 01:23

    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...

    0 讨论(0)
  • 2021-01-20 01:39

    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.

    0 讨论(0)
提交回复
热议问题