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.codegen as Manual/None