I'm getting several errors, that are not blocking, in this piece of code:

    [psc lock];

    NSError *error = nil;
    if (![psc addPersistentStoreWithType:NSSQLiteStoreType
                           configuration:nil
                                     URL:localStore
                                 options:options
                                   error:&error]) {

        NSLog(@"Unresolved error %@, %@", error, [error userInfo]);
        abort();
    }

    [psc unlock];

Something like the following ( note: at the end of the process, the data seem correctly synchronized , no exception is thrown and error is nil, but however the synchronization takes some time); the error are of two kinds, at the beginning it seems a file ( or more ) is missing and then it says something about data integrity ( some foreign keys that are not satisfied ), maybe the two problems are related ?

Is this a normal situation ?

( btw, the app is in store, https://itunes.apple.com/app/id582749801 , it memorizes tracks from gps and make them available to other devices, tracks may contain much data, 2 records for second )

( sorry for the long log, i have cut it a bit, however it may be useful to understand what is happening )

2012-12-14 11:18:25.489 CloudGPSTracker[9303:907] -[PFUbiquityTransactionLog loadPlistAtLocation:withError:](485): CoreData: Ubiquity:  Error reading the log file at location: (null)
userInfo: (null), local error: Error Domain=NSCocoaErrorDomain Code=256 "The operation couldn’t be completed. (Cocoa error 256 - The item failed to download.)" UserInfo=0x1ddf3ee0 {NSURL=file://localhost/private/var/mobile/Library/Mobile%20Documents/3F7NTNZ29A~com~3bsoft~CloudGPSTracker/Logs/mobile.B9FC1B68-3090-52E4-905D-BBDC71020D14/3F7NTNZ29A.com.3bsoft.CloudGPSTracker/ViY1iUzbKktwTFRopnBhAMma63MPeM1zqnkmJnh39V4=/542E2269-592C-4CCA-AA4
Edit
Report