The model used to open the store is incompatible with the one used to create the store错误
2012-07-24 10:37
726 查看
错误信息:
2012-07-24 10:35:19.449 appname[5892:16f0b] Unable to load persistent store at URL 'file://localhost/Users/username/Library/Application%20Support/iPhone%20Simulator/5.1/Library/Keyboard/UserDictionary.sqlite' ({
metadata = {
NSPersistenceFrameworkVersion = 407;
NSStoreModelVersionHashes = {
UserDictionaryEntry = <f0c9025b 602122f9 37a4e274 bdaacec1 b9a66f83 fca5c43b bed5e80a 6baee338>;
};
NSStoreModelVersionHashesVersion = 3;
NSStoreModelVersionIdentifiers = (
""
);
NSStoreType = SQLite;
NSStoreUUID = "82DA18BC-0E80-412F-BDC4-77BA04FFDAF9";
"_NSAutoVacuumLevel" = 2;
};
reason = "The model used to open the store is incompatible with the one used to create the store";
})
查看crash thread,显示在nsentitydescription entityforname: inmangageobjectcontent方法上,推断写sqlite数据库错误,而后在工程里的所有[[NSUserDefaults standardUserDefaults] synchronize];地方打断点顺利找到原因。
2012-07-24 10:35:19.449 appname[5892:16f0b] Unable to load persistent store at URL 'file://localhost/Users/username/Library/Application%20Support/iPhone%20Simulator/5.1/Library/Keyboard/UserDictionary.sqlite' ({
metadata = {
NSPersistenceFrameworkVersion = 407;
NSStoreModelVersionHashes = {
UserDictionaryEntry = <f0c9025b 602122f9 37a4e274 bdaacec1 b9a66f83 fca5c43b bed5e80a 6baee338>;
};
NSStoreModelVersionHashesVersion = 3;
NSStoreModelVersionIdentifiers = (
""
);
NSStoreType = SQLite;
NSStoreUUID = "82DA18BC-0E80-412F-BDC4-77BA04FFDAF9";
"_NSAutoVacuumLevel" = 2;
};
reason = "The model used to open the store is incompatible with the one used to create the store";
})
查看crash thread,显示在nsentitydescription entityforname: inmangageobjectcontent方法上,推断写sqlite数据库错误,而后在工程里的所有[[NSUserDefaults standardUserDefaults] synchronize];地方打断点顺利找到原因。
相关文章推荐
- The model used to open the store is incompatible with the one used to create the store
- CoreData修改了数据模型报错 The model used to open the store is incompatible with the one used to create the store
- CoreData报错:The model used to open the store is incompatible with the one used to create the store
- coreData-reason = "The model used to open the store is incompatible with the one used to create the
- The model used to open the store is incompatible with the one used to create the store
- The model used to open the store is incompatible with the one used to create the store
- coreData报错:The model used to open the store is incompatible with the one used to create the store
- CoreDataErrorThe model used to open the store is incompatible with the one used to create the store
- The model used to open the store is incompatible with the one used to create the store
- Core Data异常: model used to open the store is incompatible with the one used to create the store
- CoreDataErrorThe model used to open the store is incompatible with the one used to create the store
- The model used to open the store is incompatible with the one used to create the store
- AS出现的错误: This version of Android Studio is incompatible with the Gradle Plugin used.
- AS错误-Error running app: This version of Android Studio is incompatible with the Gradle Plugin used.
- 提交时提示错误This Bundle is invalid.New apps and app updates submitted to the App Store must be built with
- 错误:created a ThreadLocal with key of type ……but failed to remove it when the web application was stopped. This is very likely to create a memory leak.
- 编译错误This version of Android Studio is incompatible with the Gradle Plugin used
- iOS常见错误6-The identity used to sign the executable is no longer valid.
- This version of android studio is incompatible with the gradle version used.解决办法
- Studio运行出现:This version of Android Studio is incompatible with the Gradle Plugin used. Try disablin