0
votes

I would like to use the old codegen capabilities (before Xcode 8) for core data: Therefor I am setting the Tools Versions at the File Inspector to Xcode 7.3 but no success. Using "Editor -> CreateNSManagedObject Subclass" still generates files Recipe+CoreDataClass.h/m and Recipe+CoreDataProperties.h/m in my example and not as expected Recipe.h/m

It makes no different if I am choosing "Class Definition" or "Category/Extension" at Class -> Codegen at the Data Model inspector.

enter image description here

1
It's just a different file name, so what difference does it make? Rename the file if you don't like the name. - Tom Harrington
With the generated code I am getting a "duplicate symbols for architecture armv7" error. - Ing. Ron

1 Answers

0
votes

To use the manual triggered NSManagedObjectsubclass code generation like used to in older Xcode versions (<= Xcode7), set Codegen to none.

You can find details in this answer.