加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 百科 > 正文

Unable to load persistent store UserDictionary.sqlite

发布时间:2020-12-12 20:12:09 所属栏目:百科 来源:网络整理
导读:http://jordy.easymorse.com/?p=882 最近xcode因版本的不同,造成了诸多的问题,所以统计一些常见的问题,及解决方法 这次问题,是在iOS 5.1 Simulator运行程序报错: Unable to load persistent store at URL ‘file://localhost/Users/xxx/Library/Applica

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模拟器–》还原内容与设置 ,然后重新运行程序则不再显示这个报错提示

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读