Duplicate symbol error when adding NSManagedObject subclass, duplicate link

后端 未结 6 1554
情深已故
情深已故 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:55

    You need to remove the CoreData related sub class generated by yourself, and you can keep the #import line with those classes, now all those files will be generated automatically when build the project.

提交回复
热议问题