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 trial
Andrei K
7,601 PointsApp crashing upon run, no errors otherwise in code
Here's my error I get when running the app, after the crash:
Algorhythm[2203:354503] Unknown class PlaylistMasterViewController in Interface Builder file. 2015-10-25 23:44:49.875 Algorhythm[2203:354503] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<UIViewController 0x7f9cb3e39010> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key aButton.'
I believe all of my code as the examples, since I was following along fine and have no errors. Any help?
1 Answer
Sam Chaudry
25,519 PointsCheck your outlets connection in your storyboard. It could be that you have an UI object which is not connected to your code and it is crashing at run time. Then go Product > Clean in the Xcode menu and it should work.