views:

418

answers:

5

When I start my iPhone application it boots up fine, shows the first settings screen and all after I have given input and pressed save, the debug window says; "Debugging Terminated" without any hint to why in the crash logs.

First I thought it was my programming, but then I went ahead and test the app on multiple 'real' iphones and it never crashed.

Anyone knows why the simulator keeps crashing?

A: 

Have you tried resetting the simulator? iPhone Simulator -> Reset Content and Settings

Then do a clean build of your project.

Mick Walker
Tried, didn't work :-(
MrThys
didn't work for me either. weird crashes always.
Shivan Raptor
A: 

Annoying :)

Put NSLog statements around where you think that it's crashing and look at the output. That shoud give you more of an idea where the crash is occurring.

If that doesn't help, post the lines causing the crash in the question and see if anyone can help then.

Sam

deanWombourne
+1  A: 

A common cause of crashes on the simulator but not the device and vice versa is using precompiled libraries that were compiled on the other hardware. Check if you've got something compile for ARM that is trying to run on the Intel.

TechZen
+1  A: 

In XCode try Build > Clean All Targets

PeanutPower