Using Xcode version 8.2 beta (8C30a), when I add or modify an object, I get the same error. In the data model inspector, change the Codegen parameter to Manual / None, as if I was going to create dynamic classes myself. Save and then go back to category / Extension, and it seemed to work. (I also tried cleaning the project with Option-Clean by restarting Xcode, but I could easily play it back.) I hope the beta beta beta beta 4.0 update will be fixed.
source share