If I run the app for the first time and try to create some notes how suggested in the tutorial, it crashes with the reason:
2016-05-15 13:40:03.791 UnCloudNotes[1635:200517] CoreData: error: -addPersistentStoreWithType:SQLite configuration:(null) URL:file:///Users/antondederer1/Library/Developer/CoreSimulator/Devices/3D7E07F0-4F95-428B-9867-6DF5BCAEF387/data/Containers/Data/Application/0F73886C-74ED-4441-A89F-94A0A74637E0/Library/Application%20Support/UnCloudNotes.sqlite options:(null) ... returned error Error Domain=NSCocoaErrorDomain Code=134100 "(null)" UserInfo={metadata={
NSPersistenceFrameworkVersion = 637;
NSStoreModelVersionHashes = {
Note = <c393d6c8 d5e65f5a bb5e4394 eb6ce54c a99e724d bdb64072 ed2e99dd 99e77ba0>;
};
NSStoreModelVersionHashesVersion = 3;
NSStoreModelVersionIdentifiers = (
""
);
NSStoreType = SQLite;
NSStoreUUID = "A29DF4F2-B523-49D4-80FA-09AD120BD943";
"_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 = 637;
NSStoreModelVersionHashes = {
Note = <c393d6c8 d5e65f5a bb5e4394 eb6ce54c a99e724d bdb64072 ed2e99dd 99e77ba0>;
};
NSStoreModelVersionHashesVersion = 3;
NSStoreModelVersionIdentifiers = (
""
);
NSStoreType = SQLite;
NSStoreUUID = "A29DF4F2-B523-49D4-80FA-09AD120BD943";
"_NSAutoVacuumLevel" = 2;
};
reason = "The model used to open the store is incompatible with the one used to create the store";
}
Store Error: Error Domain=NSCocoaErrorDomain Code=134100 "(null)" UserInfo={metadata={
NSPersistenceFrameworkVersion = 637;
NSStoreModelVersionHashes = {
Note = <c393d6c8 d5e65f5a bb5e4394 eb6ce54c a99e724d bdb64072 ed2e99dd 99e77ba0>;
};
NSStoreModelVersionHashesVersion = 3;
NSStoreModelVersionIdentifiers = (
""
);
NSStoreType = SQLite;
NSStoreUUID = "A29DF4F2-B523-49D4-80FA-09AD120BD943";
"_NSAutoVacuumLevel" = 2;
}, reason=The model used to open the store is incompatible with the one used to create the store}
2016-05-15 13:40:12.031 UnCloudNotes[1635:200517] Unwinding to Notes List
2016-05-15 13:40:12.063 UnCloudNotes[1635:200517] CoreData: error: Illegal attempt to save to a file that was never opened. "This NSPersistentStoreCoordinator has no persistent stores (schema mismatch or migration failure). It cannot perform a save operation.". Last recorded error = Error Domain=NSCocoaErrorDomain Code=134100 "(null)" UserInfo={NSFilePath=/Users/antondederer1/Library/Developer/CoreSimulator/Devices/3D7E07F0-4F95-428B-9867-6DF5BCAEF387/data/Containers/Data/Application/0F73886C-74ED-4441-A89F-94A0A74637E0/Library/Application Support/UnCloudNotes.sqlite} / {
NSFilePath = "/Users/antondederer1/Library/Developer/CoreSimulator/Devices/3D7E07F0-4F95-428B-9867-6DF5BCAEF387/data/Containers/Data/Application/0F73886C-74ED-4441-A89F-94A0A74637E0/Library/Application Support/UnCloudNotes.sqlite";
}
2016-05-15 13:40:12.069 UnCloudNotes[1635:200517] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'This NSPersistentStoreCoordinator has no persistent stores (schema mismatch or migration failure). It cannot perform a save operation.'