small medium large xlarge

Back to: All Forums  Core Data
Generic-user-small
14 Mar 2010, 13:14
Stefán Kristjánsson (1 post)

Hi,

Just downloaded the source code, three projects do not compile (xCode 3.1.4 system 10.5.8). These are ProgressiveMigration, SyncServices and Spotlight. In the two first ones the same two errors stand in the way. In v1_to_v2.xcmappingmodel the following changes must be done:

Add 2 Entity Mappings Source: RecipeIngredients Destination: Recipe, Property Mapping: name Value expression $source.name Source: RecipeIngredients Destination: unitOfMeasure, Property Mapping: name Value expression $source.name

Remove the offending lines in the property mapping in Entity mapping no 4.

These two errors also plague Spotlight in addition to an error in AppDelegate.m at line 259. There for(NSString *filename in updatedObjects) {

should be changed to

for (NSManagedObject *object in updatedObjects) {

then these project compile.

Avatarsmall_pragsmall
15 Mar 2010, 06:40
Marcus S. Zarra (284 posts)

Yes, I am aware there are some issues with those two sample projects as mentioned in another recent thread. They are going to be updated shortly.

You must be logged in to comment