I am getting this error message

I am an aspiring developer and would like some help with this issue, that is super annoying.
Any Idea why I am getting this message?

Thread 1: "[<UIViewController 0x7ff3bdc08a80> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key leadingHome."

I have tried:
  1. Deleting home and re-adding it

  2. reconnecting all the points on the home controller

  3. Deleting the class and re-adding it

  4. Making a new class and changing Home over to it

  5. Setting the constraints and menu button itself to the class


You can download my project at: https://www.icloud.com/iclouddrive/0vC-WfbeKKjLa6V05ofqhyayw#Riddle_Wednesday

Thanks so much in advance!
Answered by OOPer in 655886022

Here is a link to it on google drive.

Thanks for showing the link.

And as far as I checked your Main.storyboard, almost all the Custom Class settings are broken.
For example, your Home Scene:
Code Block
Class [Home ]
Module [None ] //<- This should not be `None` for Swift classes
[ ] Inherit Module From Target

Module of Swift classes need to be set to your AppModuleName. Usually when you check on Inherit Module From Target, Xcode will do it.

Code Block
Class [Home ]
Module [Riddle_Wednesday ]
[v] Inherit Module From Target


You may need to re-check the Custom Class settings of all the view controllers (and all other components using custom Swift class).
The error message [<UIViewController 0x7ff3bdc08a80> setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key leadingHome. means the type of the view controller was UIViewController where it should be some class implementing leadingHome.

Check the Custom Class setting of the view controller which should have leadingHome.
(I cannot see your project and not sure if it really is the home controller.)

Once your storyboard is broken, you may need to dispose the storyboard and re-create a new one.
Ok, thanks!

Here is a link to it on google drive. Can you please take a look?

bit.ly/riddle-project (I was having trouble hyperlinking, so just copy and paste into your browser.)
Accepted Answer

Here is a link to it on google drive.

Thanks for showing the link.

And as far as I checked your Main.storyboard, almost all the Custom Class settings are broken.
For example, your Home Scene:
Code Block
Class [Home ]
Module [None ] //<- This should not be `None` for Swift classes
[ ] Inherit Module From Target

Module of Swift classes need to be set to your AppModuleName. Usually when you check on Inherit Module From Target, Xcode will do it.

Code Block
Class [Home ]
Module [Riddle_Wednesday ]
[v] Inherit Module From Target


You may need to re-check the Custom Class settings of all the view controllers (and all other components using custom Swift class).
Yay, it worked! Thanks
I am getting this error message
 
 
Q