zoukankan      html  css  js  c++  java
  • XCode 4.3 Unable to load persistent store UserDictionary.sqlite 以及 ios simulator failed to install the application

    I have been working on an iOS app for some time, all of a sudden I am getting the following crash every time I run the app in the iOS 5.1 Simulator.

    The App does not use Core Data and I am not sure what brought this about.

    I have deleted the app from the simulator, done Clean, and a rebuild but nothing seems to help.

    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 602122f937a4e274 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";})
    这个错误的解决方法是:

    I have fixed the problem. I clicked 'iOS Simulator' -> Reset Content and Settings 开启模拟器,在对应选项中修改即可。

     
  • 相关阅读:
    git clone SSL error解决
    day11_文件读写
    python练习day0120
    day12_文件读写_return
    GIS开发常用算法原理分析
    SoapToolkit3.0分发技术
    平台符合性审查测试工具安装教程
    MapX编程详解(C++)MapX发布技术
    Google地图定位偏移矫正
    串口通信编程多线程异步方式
  • 原文地址:https://www.cnblogs.com/lisa090818/p/3398780.html
Copyright © 2011-2022 走看看