How do you change the filename of a Core Data managed object model?
I would like to change the filename for the Core Data managed object model in my Xcode project. I am not concerned about any migration issues.
I currently access the file in my code this way:
NSString *path = [[NSBundle bundleForClass:[self class]] pathForResource:@"Template" ofType:@"momd"];
I have not found a way to change the momd filename/package that does not result in Xcode failing to find the changed filename.
Pretty sure this is the cause: http://openradar.appspot.com/7500956