Having problems with Core Data?

When I add new entities, they dissappear after a while from the .xcdatamodeld file. Further, Xcode sometimes generate a third file when creating the NSManagedObject Subclass, containing some kind of macro that crashes the build. It looks like it is a template issue gone bad.

I have submitted rdar://2681978

Having problems with Core Data?
 
 
Q