0

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

shallowThought
  • 19,212
  • 9
  • 65
  • 112
Ing. Ron
  • 2,005
  • 2
  • 17
  • 33

1 Answers1

0

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.

Community
  • 1
  • 1
shallowThought
  • 19,212
  • 9
  • 65
  • 112
  • That is what I am doing but no success I will now download the older version of Xcode (7.3) and build the classes there. – Ing. Ron Nov 17 '16 at 11:47
  • I recommend against it. How I understand your comment, you are setting Codegen to none and get duplicate symbols. Follow the linked answer. If you have a issue afterwards, please describe the actual issue. – shallowThought Nov 17 '16 at 11:49