My app crashes on launch with the following error:
Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key storyboardName.'
My app crashes on launch with the following error:
Terminating app due to uncaught exception 'NSUnknownKeyException', reason: '[ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key storyboardName.'
Copyright © 2021 Jogjafile Inc.
This normally happens when you previously had an
IBOutlet
connection from your storyboard scene to it's correspondingviewController
and at some point you removed the outlet from the scene orviewController
and did not remove the connection. Hence the error.Either reconnect it or remove the connection completely (in code and on the storyboard )