• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Crash at iOS App Startup - What Could Have Gone Wrong?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Crash at iOS App Startup - What Could Have Gone Wrong? (From: Michael Crawford <email@hidden>)
 >Re: Crash at iOS App Startup - What Could Have Gone Wrong? (From: Alex Zavatone <email@hidden>)
 >Re: Crash at iOS App Startup - What Could Have Gone Wrong? (From: Michael Crawford <email@hidden>)

  • Prev by Date: Re: Crash at iOS App Startup - What Could Have Gone Wrong?
  • Next by Date: Re: Crash at iOS App Startup - What Could Have Gone Wrong?
  • Previous by thread: Re: Crash at iOS App Startup - What Could Have Gone Wrong?
  • Next by thread: Converting to Window Coordinates
  • Index(es):
    • Date
    • Thread