0

当我想通过选择 iOS 模拟器 5.0 在 Facebook 上分享帖子时,我的应用程序崩溃了我不知道如何解决这个问题这是我的日志消息

2012-12-28 14:55:19.175 SendQuote[2029:3603] Unable to load persistent store at URL 'file://localhost/Users/winsolutions/Library/Application%20Support/iPhone%20Simulator/5.0/Library/Keyboard/UserDictionary.sqlite' ({
    metadata =     {
        NSPersistenceFrameworkVersion = 419;
        NSStoreModelVersionHashes =         {
            UserDictionaryEntry = <f0c9025b 602122f9 37a4e274 bdaacec1 b9a66f83 fca5c43b bed5e80a 6baee338>;
        };
        NSStoreModelVersionHashesVersion = 3;
        NSStoreModelVersionIdentifiers =         (
            ""
        );
        NSStoreType = SQLite;
        NSStoreUUID = "5232202C-AF68-41AA-905F-5B023F1954D4";
        "_NSAutoVacuumLevel" = 2;
    };
    reason = "The model used to open the store is incompatible with the one used to create the store";
})

最后我得到这个日志消息

2012-12-28 14:55:33.822 SendQuote[2029:c07] -[CFXPreferencesSearchListSource tryLock]: unrecognized selector sent to instance 0x80f5960
2012-12-28 14:55:33.938 SendQuote[2029:c07] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[CFXPreferencesSearchListSource tryLock]: unrecognized selector sent to instance 0x80f5960'
*** First throw call stack:
(0x183d052 0x162cd0a 0x183eced 0x17a3f00 0x17a3ce2 0x79c1770 0x1150a39 0x1808885 0x18087a8 0x10951aa 0x7a2169 0x7aa8bd 0x7ab1f8 0x79eaa9 0x234bfa9 0x18111c5 0x1776022 0x177490a 0x1773db4 0x1773ccb 0x234a879 0x234a93e 0x79ca9b 0x2b5a 0x2a65)
terminate called throwing an exception(lldb) 
4

1 回答 1

6

只需从iOS Simulator 重置模拟器 => 重置内容和设置...

在这里您重置模拟器,以便从iPhone 模拟器目录中删除整个会话和缓存数据,因此重新输入,然后将应用程序用作例程..

于 2012-12-28T10:13:52.693 回答