Duplicate symbol error when adding NSManagedObject subclass, duplicate link

后端 未结 6 1529
情深已故
情深已故 2020-12-13 13:02

I was trying to create NSManagedObject subclasses (2 related entities) automatically in Xcode. They are generated like this:

6条回答
  •  囚心锁ツ
    2020-12-13 13:51

    If you do not generate managed object subclass automatically, then don't forget to check "Codegen" settings for an Entity in Data Model Inspector:

提交回复
热议问题