I’m new to iPhone development and have run in to a problem.
This is what I do;
Create a new project (any type, unchecking Use storyboards).
Running it.
This is the error I get;
Terminating app due to uncaught exception 'NSUnknownKeyException',
reason: '[<UIApplication 0x6a35470> setValue:forUndefinedKey:]:
this class is not key value coding-compliant for the key view.'
I haven’t added any code at all yet, so this suprises me a bit.
Should I not be able to run an ’empty’ app?
When I use storyboards I can run the project, add all the objects and code I want and run it just fine.
It just feels like I’m missing something really simple.
Thanks in advance!
Yes, you’re missing something really simple.
Select your project on top left, select your target and check where it says:
Main Storyboard:
Main Interface:
You have to have a window to start up with….