I am working with CoreData, on an entity called "RoleName".
The problem is: I click on "Create NSManagedObject subclass" from within my model, and so it automatically creates the classes for my entity.
However, on the declaration of the class, I get this error:
Invalid redeclaration of "RoleName"
even though I don't have any other class with the same name.
This is because Xcode handles all that by itself. I felt it like a bit of trouble as the auto generated classes don't have all my properties.
So follow these steps to get this as it used to be:
Set class.Module as Current Product module
Set Class.codegen as Manual/None
Now select your entity and create NSmanagedobject subclass
You are all set
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With