Re: Crash at iOS App Startup - What Could Have Gone Wrong?
Re: Crash at iOS App Startup - What Could Have Gone Wrong?
- Subject: Re: Crash at iOS App Startup - What Could Have Gone Wrong?
- From: Roland King <email@hidden>
- Date: Tue, 21 Apr 2015 21:48:22 +0800
>
> Please do understand that I don't expect you to actually debug my code
> from my vague descriptions. I'm just looking for encouraging words as
> well as any kind of general principles like my own "use assertions
> before using debuggers".
If there’s an exception thrown in UIApplicationMain() there has to be *some* kind of stack trace. Just checking you do have the “hide all the bits of the stack trace which contain any useful information” slider all the way over to the right, right, so it shows everything and doesn’t try to guess what you want to see, usually incorrectly.
Have you set an exception breakpoint which fires at the time the exception is thrown, if there is an exception? That helps sometimes.
Clean build, in fact really clean build with the Cmd key to blow everything away. Old NIBs stick around and can be a sod to get rid of. Similarly resetting the simulator to wipe your app off it entirely gets you a known base state.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden