Problem of coreData update on the store

Hi everyone,


I take my responsabilities and come here to try to understand a problem.

My app is released on AppStore and we are at the 10th ( at least ) version and ther is a problem is the last update i did.

Here is the log i got from a friend of mine:


Jan 17 17:13:13 iPhone-de-Arthur symptomsd(SymptomEvaluator)[116] <Info>: [0.006]  220 Twil            com.dantes.Twil        SYMPTOM_LIBNETCORE_DATA_STALL            libne 00000008 000000dc -------- -------- [4 <7477696c 2e636f3a 34343300>] [3 <5477696c 00>] [2 <98716d44 716c3711 bd8bdbad 12dcb0d0>]
Jan 17 17:13:13 iPhone-de-Arthur symptomsd(SymptomEvaluator)[116] <Notice>: NDFSM: auto bug capture is administratively OFF, ignoring symptom with key: 421890
Jan 17 17:13:13 iPhone-de-Arthur Twil(libsystem_trace.dylib)[220] <Notice>: subsystem: com.apple.coredata, category: error, enable_level: 0, persist_level: 0, default_ttl: 14, info_ttl: 1, debug_ttl: 0, generate_symptoms: 0, enable_oversize: 1, privacy_setting: 2, enable_private_data: 0
Jan 17 17:13:13 iPhone-de-Arthur Twil(CoreData)[220] <Error>: error: -addPersistentStoreWithType:SQLite configuration:(null) URL:file:///var/mobile/Containers/Data/Application/27BDA29F-24D7-4F5B-9AFE-98FBD50C5B12/Documents/Twil.sqlite options:(null) ... returned error Error Domain=NSCocoaErrorDomain Code=134100 "La version de mod\M-C\M-(le d\M-b\M^@\M^Yobjet g\M-C\M-)r\M-C\M-) utilis\M-C\M-)e pour ouvrir le magasin persistant est incompatible avec celle utilis\M-C\M-)e lors de sa cr\M-C\M-)ation." UserInfo={metadata={
    NSPersistenceFrameworkVersion = 641;
    NSStoreModelVersionHashes =    {
        Adress = <2abb52f8 8ffa755e 5bfbc5e7 c0229a06 a671aad6 09bfca60 aadd6f2b d925ec2c>;
        Basket = <0bb93553 fdae9f4e 37d58ed7 b01ebb0f 187449af f655177c bc195ce8 29a82753>;
        Command = <998f2d39 d68b28ed 858632ed aa1a4490 e6910dcb 87374cd9 bc1c1f9a ecf100d4>;
        Like = <362d2fe9 1e64f6da 99e9bcec 0490b622 900115a3 f079e5e0 6ffad3e0 078f6cac>;
        Token = <08247512 a3aef419 ceedc9b7 6b0387c6 72e6b204 86198c72 791c6b32 2eea0de4>;
        Twil = <fda74884 250ccc27 566c57bf 3c0709c2 9ae9723c 88582a07 d1370498 3925bf2f>;
        UserAccount = <4bdb3e3a 8bca16ff 5a8629e3 871f158a d135f32c c5cf190d 28166c5c 69f5646b>;
    };
    NSStoreModelVersionHashesVersion = 3;
    NSStoreModelVersionIdentifiers =    (
        ""
    );
    NSStoreType = SQLite;
    NSStoreUUID = "4FFD57A7-BA2E-4281-9E75-81DFC36E5C61";
    "_NSAutoVacuumLevel" = 2;
}, reason=The model used to open the store is incompatible with the one used to create the store} with userInfo dictionary {
    metadata =    {
        NSPersistenceFrameworkVersion = 641;
        NSStoreModelVersionHashes =        {
            Adress = <2abb52f8 8ffa755e 5bfbc5e7 c0229a06 a671aad6 09bfca60 aadd6f2b d925ec2c>;
            Basket = <0bb93553 fdae9f4e 37d58ed7 b01ebb0f 187449af f655177c bc195ce8 29a82753>;
            Command = <998f2d39 d68b28ed 858632ed aa1a4490 e6910dcb 87374cd9 bc1c1f9a ecf100d4>;
            Like = <362d2fe9 1e64f6da 99e9bcec 0490b622 900115a3 f079e5e0 6ffad3e0 078f6cac>;
            Token = <08247512 a3aef419 ceedc9b7 6b0387c6 72e6b204 86198c72 791c6b32 2eea0de4>;
            Twil = <fda74884 250ccc27 566c57bf 3c0709c2 9ae9723c 88582a07 d1370498 3925bf2f>;
            UserAccount = <4bdb3e3a 8bca16ff 5a8629e3 871f158a d135f32c c5cf190d 28166c5c 69f5646b>;
        };
        NSStoreModelVersionHashesVersion = 3;
        NSStoreModelVersionIdentifiers =        (
            ""
        );
        NSStoreType = SQLite;
        NSStoreUUID = "4FFD57A7-BA2E-4281-9E75-81DFC36E5C61";
        "_NSAutoVacuumLevel" = 2;
    };
    reason = "The model used to open the store is incompatible with the one used to create the store";
}


I understand this problem is link to core data( i already have this one during my test on using coreData). the problem is not every user get it. It seems to me that this issue should appear on every user's iphone who is using my app. But this isn't the case. Only around 10% of my users get this crash. I check if it was between 2 versions type other that 2.2 --> 2.3 but it wans't the case and i can't reproduce it. Could it be something else ?


If you have some insight, i really appreciate.


Best Regards


Marco

Problem of coreData update on the store
 
 
Q