Unable to load persistent store UserDictionary.sqlite

前端之家收集整理的这篇文章主要介绍了Unable to load persistent store UserDictionary.sqlite前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

http://jordy.easymorse.com/?p=882


最近xcode因版本的不同,造成了诸多的问题,所以统计一些常见的问题,及解决方法

这次问题,是在iOS 5.1 Simulator运行程序报错:

Unable to load persistent store at URL ‘file://localhost/Users/xxx/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 = "43DABF34-7F7E-4FE9-B78D-8AF64292A967";
"_NSAutoVacuumLevel" = 2;
};
reason = "The model used to open the store is incompatible with the one used to create the store";
})

这个错误解决方法就是,在ios模拟器–》还原内容与设置 ,然后重新运行程序则不再显示这个报错提示

原文链接:https://www.f2er.com/sqlite/201043.html

猜你在找的Sqlite相关文章