Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAsko Krimann
19,367 PointsGetting error when launching app
Hey,
I have a problem and no idea how to fix it. So, when I launch the app, it just gives me white screen and in the Debug area I get error like this:
2016-02-21 21:09:11.134 Stormy2[1626:62654] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<Stormy2.ViewController 0x7feefae24fa0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key CurrentTemperature.'
Have tried to change almost everything, but still no luck.
1 Answer
Reed Carson
8,306 Pointsmake sure all your outlets are properly named and linked. if there is a missing link, or you deleted an outlet and put it back in youll need to delete the old link and make a new one. look for stuff like that. and make sure your view controllers are named properly and have the correct identifiers
Asko Krimann
19,367 PointsAsko Krimann
19,367 PointsThanks for pointing that out. I had somehow two outlets ant that caused the error. Now it's all working again. Stupid me. Many thanks.