http://jordy.easymorse.com/?p=882
最近xcode因版本的不同,造成了诸多的问题,所以统计一些常见的问题,及解决方法
这次问题,是在iOS 5.1 Simulator运行程序报错:
Unable to load persistent store at URL ‘file://localhost/Users/xxx/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";
})