error: invalid initializer
error: statically allocated instance of Objective-C class 'NSArray'
error: statically allocated instance of Objective-C class 'NSArray'
Well, this was written in Mail at 6:04am after about 4 hours of poor
sleep...
managedObjectModel = [[NSManagedObjectModel mergedModelFromBundles:
[NSArray arrayWithObject:[NSBundle mainBundle]]] retain];
I don't get compilation errors, but I get the same "The model
configuration used to open the store is incompatible with the one
that was used to create the store".
How did you create the original store?
If you created the store with another model (that included a model
from perhaps another framework) then you won't be able to open it with
a new model...
mmalc
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com