Re: Unable to read symbols for...
Re: Unable to read symbols for...
- Subject: Re: Unable to read symbols for...
- From: Brian Stern <email@hidden>
- Date: Wed, 20 Aug 2008 14:40:59 -0400
On Aug 20, 2008, at 2:05 PM, john muchow wrote:
Thanks Brian.
I am not using IB for this project. I wrote the UI through the code
only.
OK, do you have property named 'window'? Is the accessor set up
correctly?
Look at the documentation for [NSObject setValue:forUndefinedKey]
You could override it in your BirdBookAppDelegate, set a breakpoint
there, and see who is calling it.
Any other ideas?
John
On Wed, Aug 20, 2008 at 8:52 AM, Brian Stern
<email@hidden> wrote:
The 'Unable to read symbols from' comment from GDB is a red herring.
Your problem is here:
2008-08-20 06:36:47.716 BirdBook[317:20b] *** Terminating app due to
uncaught exception 'NSUnknownKeyException', reason:
'[<BirdBookAppDelegate 0x44f6e0> setValue:forUndefinedKey:]: this
class is not key value coding-compliant for the key window.'
-----------------
You probably have an IBOutlet named 'window' in your
BirdBookAppDelegate
class and maybe a property for it. Something is wrong with that
accessor or
outlet.
Look at your IBOutlet, @property, and @synthesize lines to find out
what's
wrong. If by chance you have written window and setWindow
accessors look at
those also. Possibly also there could be a disconnect between a
setting in
IB related to this App Delegate class and your code for that
IBOutlet.
Probably a typo somewhere.
This seems to have occurred after I added the CoreGraphics framework
to my project.
Also a red herring.
--
Brian Stern
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden