Search code examples
iphoneterminate

How to debug iPhone app errors that occur before the first line


I have a fairly simple app. It compiles fine. Unfortunately, when I Build and Go, it fails before even the first line of code, thus making it impossible for me to even debug it.

Where do I start? I do have the stack track though.alt text


Solution

  • From the stack trace, it seems your Outlet connections seem messed up in your main XIB file - you could start looking there.

    Other than that, you won't be able to debug much, because there's no source code for the iPhone built-in mechanisms, which seem to be failing here (most probably because of something you did in the interface designer/XIBs).