Reputation: 534
After I set up Core Data Stack, I generated the NSManagedObject Subclass automatically.
However, I received the error in xcode 8, which is very annoying.
Upvotes: 1
Views: 639
Reputation: 488
So I also ran in this issue. You have to disable automatical code generation if you want to create the NSManagedObjects by yourself. So there are different ways. First way is go to your model and changed the Toolversion to xCode 7.3.
In every entity you can set the Codegen to Manual/None like in the Screenshot.
Clean your project, and try again!
I hope this was helpful.
Upvotes: 3