Invalid redeclaration on CoreData classes

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:

  • Delete what ever classes you already made for core data.
  • Set class.Module as Current Product module
    enter image description here

  • Set Class.codegen as Manual/None

enter image description here

  • Now select your entity and create NSmanagedobject subclass
    enter image description here

  • You are all set

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)