Search code examples
xcodecore-datamogenerator

Mogenerator error: skipping entity MyObjectName (NSManagedObject) because it doesn't use a custom subclass.


Why am I seeing the following error when running mogenerator to generator class files for my Core Data model objects?

skipping entity MyObjectName (NSManagedObject) because it doesn't use a custom subclass.

Solution

  • Solve this problem by making sure you fill in both the Name and Class fields on the Data Model inspector:

    Data Model inspector