Xcode — How to fix ‘NSUnknownKeyException’, reason: … this class is not key value coding-compliant for the key X” error?

Fredric Cliver
1 min readApr 16, 2020

--

The most common solution is double-checking the outlets.

But if that runtime error hasn’t solved, check the Identity Inspector

“Inherit Module From Target” has to be checked.

--

--

Fredric Cliver

Physics graduate with 13 years of diverse experience in the IT industry. Founded and managed a startup for 3 years.