的XCode 4.3无法加载持久存储UserDictionary.sqlite(XCode 4.3

2019-06-25 12:02发布

我一直在做iOS应用一段时间后,突然间,我每次我运行了iOS 5.1模拟器的应用时,得到下面的崩溃。

该应用程序不使用核心数据,我不知道该怎么把这个约。

我已经删除了从模拟器的应用程序,做清洁和重建,但似乎没有任何帮助。

Unable to load persistent store at URL 'file://localhost/Users/jcottrell/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";
})

Answer 1:

我有固定的问题。 我点击“iPhone模拟器” - >重置内容和设置



Answer 2:

删除你所提到的文件: /Users/jcottrell/Library/Application%20Support/iPhone%20Simulator/5.1/Library/Keyboard/UserDictionary.sqlite和伴随plist 。 这是唯一的模拟器的问题,所以你可以忽略它。



文章来源: XCode 4.3 Unable to load persistent store UserDictionary.sqlite