setValue:forUndefinedKey: this class is not key value coding-compliant for the key [duplicate]

Such inexplicable exceptions are often a result of an unclean xib file.
Open the xib in xcode, select File’s Owner and click on the “Connection Inspector” (upper right arrow), to see all outlets at once.
Look for !s which indicates a missing outlet.

Leave a Comment