"Unknown class in nib file"

Member
Posts: 148
Joined: 2003.03
Post: #1
Every so often, after I compile a build in XCode, I get this error:

"Unknown class 'XXX' in nib file. using 'NSObject' instead."

Where 'XXX' could be any one of the classes which my nib file uses. The error appears seemingly at random, and forces me to Clean All Targets. No biggie - I'm just wondering why this happens. It's kind of annoying to have to completely recompile my entire project, especially when in the middle of intense debugging (like right now).
Quote this message in a reply
presterjohn
Unregistered
 
Post: #2
Well I just ran into this problem, and lots of others have on the web.

The cause for me was the mystery "Class file not compiling" problem. Specifically, check your XCode project to see if the file checkbox is checked for the correct target.

Failure to compile the class file used in the nib may result in the symptoms described above.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Accessing c++ class from Obj-C .h file dsedov 3 3,942 Jul 1, 2009 11:07 PM
Last Post: dsedov
  XCode 2.1 and ZeroLink: unknown symbol NYGhost 1 3,540 Aug 24, 2005 09:10 AM
Last Post: NYGhost