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
Chris Stahl
235 PointsSignal SIGABRT error - help
2015-12-31 15:53:22.227 Memory Jar[18530:15189798] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<LoginViewController 0x7fea21634bd0> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key password.' *** First throw call stack
Can anyone let m know what this is referenceing?
2 Answers
Heath Robertson
Courses Plus Student 2,757 PointsOkay I've seen this error and its an Xcode (Project) error, so I'm assuming this is for an app? If so, you have probably created IBOutlet or Action such as a Label or Button, then decided you didn't need it, deleted, it, but then probably forgot to right click on the outlet and then remove it manually, not just through deleting the code. I suggest you go to open the utilities tab, then select each Label, Switch, Button etc. and while they are selected, open the Utilities tab, then go into the Connections Inspector (The one on the right end; it has a little arrow surrounded by a circle as the icon), then check for any outlet names that you don't have in your code, and then remove it. for a better understanding, the "Exception Breakpoints" video lesson of the Debugging part of "Build A Simple iPhone App With Swift" course contains this error exactly, and shows you how to find it using those vague error messages and then fix/kill the bug.
Hope that helps :)
Chris Stahl
235 PointsThank you for the help! I really appreciate it!