Search code examples
iphoneios-simulatorhome-button

My simulator crashes when I try to terminate my app from the recent-apps bar


My simulator crashes when I try to terminate my app from the recent-apps bar.

When I hit the home button and then my app, the app goes back to where it was, just like it should.

But when i hit the home button, and then the home button twice, and then holding my app and press the (-). The simulator goes in the background and xcode says it crashes. When I hit my app on the simulator now, the simulators screen goes black and won't load anything, and xcode is coming up with a crash message again.. and the simulator is frozen on the black screen...

What do you think is wrong?


Solution

  • It's nothing to worry about. This is a normal feature of XCode debugging session.

    Make sure you stop the debugging session in XCode (hitting the stop - black square - button) and run your application again directly from simulator (not from XCode). It should work now.