Compiling Core Data Mapping Model : Spurious Warning re 10.5 Deployment?
Compiling Core Data Mapping Model : Spurious Warning re 10.5 Deployment?
- Subject: Compiling Core Data Mapping Model : Spurious Warning re 10.5 Deployment?
- From: Jerry Krinock <email@hidden>
- Date: Tue, 7 Sep 2010 11:26:51 -0700
I'm getting an apparently spurious warning when compiling an mapping model (.xcmappingmodel) file:
Foo.xcmappingmodel: warning: Relationship Mapping "Starkoid_entityToStarkoid_entity".ixportLog -- NSMigrationManager method destinationInstancesForSourceRelationshipNamed:sourceInstances: not natively supported under 10.5 deployment (see release notes for workaround)
This app is compiled for 10.5 and 10.6 using the 10.5 SDK.
I call it spurious because:
1. There are not even any changes to the Starkoid_entity entity. It appears in the "Entity Mappings" table with NO asterisk in the "H" column. (I don't know what "H" stands for, but an asterisk appears in the "H" column only for those entities which DO have changes.)
2. The entity mapping Starkoid_entityToStarkoid_entity, including the relationship mapping for ixportLog, were automatically generated. The details look just like the details for other such unchanged relationships in other entities. The auto-generated value expression is:
FUNCTION($manager,
"destinationInstancesForSourceRelationshipNamed:sourceInstances:" ,
"ixportLog",
$source.ixportLog
)
3. When I build this app and run it on a Mac OS 10.5 PPC Mac, upon opening an old document, this migration executes with no problem.
4. I cannot find the workaround mentioned in the warning in Core Data's 10.6 Release Notes.
What might be going on?
Thanks,
Jerry Krinock_______________________________________________
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
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden