I\'m trying to generate NSManagedModels from my datamodel. Generation works but after I got many errors :
error: filename \"Station+CoreDataProperties
This post greatly helped me solve this problem myself. Personally I look at this as an Xcode bug. Bug or not this is a huge chicken and egg situation.
I ran into this by:
NSManagedObject
subclass+extension (while codegen: ClassDefinition
)