Re: Crash presenting modal built with Xcode 6 GM
Re: Crash presenting modal built with Xcode 6 GM
- Subject: Re: Crash presenting modal built with Xcode 6 GM
- From: Jens Alfke <email@hidden>
- Date: Tue, 09 Sep 2014 20:39:40 -0700
> On Sep 9, 2014, at 6:09 PM, Rick Mann <email@hidden> wrote:
>
> The debugger stops at the main entry point with this useless stack.
Come on; it's not "useless", you just have to look carefully. Cocoa APIs are so verbose that backtraces often read pretty easily.
> #2 0x023b2d5e in -[NSObject(NSKeyValueCoding) setValue:forUndefinedKey:] ()
Something is trying to use KVC to set a value for a key that the receiver doesn't support. (When this happens, the message logged with the exception will tell you exactly what the class of the receiver is and what the key is. Did you look at the log?)
> #6 0x032bf329 in -[UIRuntimeOutletConnection connect] ()
I'm not familiar with this class, but from the name I'll take a crazy wild guess that it has to do with … connecting outlets?!
> #10 0x030e20d4 in -[UIViewController _loadViewFromNibNamed:bundle:] ()
Looks like this is happening during nib loading, which makes sense because outlets get hooked up using KVC.
> #12 0x032de056 in -[UITableViewController loadView] ()
And from this we can deduce that it's a table view being loaded.
See? Not so useless.
—Jens
_______________________________________________
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