2012-12-28 39 views
0

我的應用程序崩潰時我想選擇的iOS模擬器5.0我不知道這裏怎麼解決這個問題,分享Facebook上的帖子是我的日誌消息如何解決「無法加載持久性存儲在URL」錯誤?

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) 
+0

你在模擬器上得到這個錯誤? – CRDave

+0

只需從模擬器/設備刪除應用程序,然後再次運行它就可以工作。您必須更改核心數據的模式。 – spider1983

+0

是的,它的工作....但我登錄我的Facebook帳戶,但在權限頁面上它發回我登錄,,,現在該怎麼辦? – NullData

回答

6

剛剛從iPhone模擬器重置模擬器=>重置內容和設置 ...

,在這裏你重置模擬器使整個會話和CACH e數據從刪除iPhone模擬器目錄所以重新進入,然後使用該應用程序作爲例程..

相關問題