I updated my iOS app project recently to iOS 10. Now I\'m trying to change the Core Data Model of my app but the new NSManagedObject subclasses which Xcode generates are bro
You can try these steps
Is that work? If not
Make sure you all class has not the same name with Entities. You can find these class in Build Phases -> Compile Sources. Rename the class or Entities if they duplicated
Or
You can run this command to in your project folder to get more error info
xcodebuild -verbose
I got this message when i have this problem
duplicate symbol _OBJC_CLASS_$_RandomList in:
xxxx/RandomList.o
xxxx/RandomList+CoreDataClass.o
RandomList.h and RandomList+CoreDataClass.h have a same symbol when compiling
I think that why Xcode did not warn you, but Compiler will throw error
Hope this will help you