I created the NSManagedObject class for an entity in Xcode 8 using the edition-> create NSManagedObject subcategory. It creates 2 files with the extension +CoreDataProperties , and another with the extension +CoreDataClass .
After adding these files, I get an error Failed to execute the Linker command and display duplicate files ... I checked if the file is added twice to the search engine, as well as to Xcode
If I delete the CoreDataClass.m file from compilation sources, the error disappears, but the application crashes. I cannot access the properties of an entity class. How to solve this problem?
user7372676
source share