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
Dusan Juranovic
3,284 PointsSelf-Destructing App
Hi,
I get an error when running the app after inserting IBAction implementation for Signup button in SignupViewController.m Actually, I get the same error if I delete all the code from IBAction implementation, which leads me to believe theres nothing wrong with the code itself, but something else behind the scenes.
It gives me this error: 2013-12-10 00:53:34.767 Ribbit[21639:70b] *** Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[<SignupViewController 0x9e65c80> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key userNameField.' *** First throw call stack:
//lots of frameworks listed here (most probably all of them)
libc++abi.dylib: terminating with uncaught exception of type NSException (lldb)
How to fix this?
2 Answers
Dusan Juranovic
3,284 PointsI figured it out :)
Previously I replaced userNameField with usernameField without erasing all the traces of previous connections so I had lingering connection that caused the error.
Im getting better at this :)
Fernando Boza
25,384 PointsNever mind found it in the connections inspector, but this lead me towards the answer, thanks
Ben Jakuben
Treehouse TeacherBen Jakuben
Treehouse TeacherEven frustrating errors like that help you become a better developer! Glad you got it figured out. :)
Fernando Boza
25,384 PointsFernando Boza
25,384 PointsHi Dusan i'am literally having the same problem, how would i erase all previous traces?