By subclassing CoreData NSManagedObject with Xcode 8 on the new model, I was surprised to find that the generated code did not even compile. The generated code contains some lines, such as
#import ".AnEntityClassName.h"
but at the same time the generated corresponding files are called
AnEntityClassName+CoreDataClass.h
Worse, when the model itself compiles, some intermediate files are generated, including those invalid import statements (it took me a while to figure this out).
Am I missing an option somewhere, or is this Xcode 8 defective? Any work around? (I'm so sick of filling up radars on Xcode 8 ...)
source share