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

Jon*_*anC 42 iphone xcode store persistent ios

我已经在iOS应用程序上工作了一段时间,我每次在iOS 5.1模拟器中运行应用程序时都会遇到以下崩溃.

该应用程序不使用核心数据,我不知道是什么带来了这个.

我已经从模拟器中删除了应用程序,完成了Clean,并进行了重建,但似乎没有任何帮助.

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";
})
Run Code Online (Sandbox Code Playgroud)

Jon*_*anC 91

我已经解决了这个问题.我点击了"iOS模拟器" - >重置内容和设置

  • 这是因为安装了预发行版xcode 4.5. (5认同)