If you didn't change anything, this could just simply be related to the iOS 6 beta as it currently stands.
However, for those googling upon this error, here are some general suggestions:
1) It could be the simulator you've chosen to build the same code for :
If you haven't changed any source code, check to make sure your scheme is still pointing to the same simulator that it last worked on. (For example, trying to present a modal view controller (presentModalViewController:
), but forgetting to conditionally use a popover for iPad, could cause this.)
2) If the stack trace and console are unhelpful :
Sometimes, the only things in the stack are main
and UIApplicationMain
, which makes it difficult to trace what went wrong in your own source. This is likely a sign that something is failing in a native framework method that you're calling or causing to be called.
If no method or specific object is listed in the console and the stack trace does not point to any methods from your own classes, try to narrow down the execution as close as you can to the point at which the exception is thrown. When picking breakpoints in the dark, I tend to use a binary search approach, picking a pivot point and moving up and down the execution order and picking a new "halfway" point as necessary.
main
andUIApplicationMain
. Makes it difficult to trace. – Torsi