Hi all,
I created a brand new .xcmappingmodel for version x to y of my xcdatamodel. I
don't change anything in the mapping GUI. I clean. I build. I write some
test code:
NSURL* url = ...App.app/Contents/Resources/VersionXToY.cdm
mappingModel = [[NSMappingModel alloc] initWithContentsOfURL:url]
for (NSEntityMapping* em in [mappingModel entityMappings])
{
id dn = [em destinationEntityName];
id dh = [em destinationEntityVersionHash];
NSLog(@"%@ = %@", dn, dh);
}
I then open up the VersionInfo.plist file within my .app and compare the entity
hashes.
For most, the VersionInfo.plist matches the hashes extracted from the .cdm, but
for 2 entities they do not.
How can this be?! As I said, the xcmappingmodel is freshly created!
Thanks,
--
____________________________________________________________
Sean McBride, B. Eng [email protected]
Rogue Research www.rogue-research.com
Mac Software Developer Montréal, Québec, Canada
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]