I have an Xcode 4 project (iOS 4.3 iPad app) and suddenly I got a NSUnknownKeyException
.
I've looked on the internet for the details of this error and almost anyone tells it has to do with references in the xib which are not correct anymore etc. I've checked everything and cannot find the problem anywhere.
This is the error I get:
* Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key view.'
I get the error as soon as I run the app. If I set a breakpoint in the App Delegate in didFinishLaunchingWithOptions
it doesn't trigger...
Where does it go wrong? Anyone an idea how to solve this issue? I've tried anything without any luck.
Also, I added a xib
with .h
and .m
files. I've got the same issue then but then it told me what the exception was causing (an property was not set correctly). I removed those .h
, .m
, and xib
files but then I got the error which I've described above.
Thanks in advance!