我在我的应用程序 1.1 的应用程序商店版本中发布。然后我更改了我的数据库并发布了 app 1.2 版本。更新后应用程序在启动时崩溃。你能帮助我吗?我有这个错误:
Unresolved error Error Domain=NSCocoaErrorDomain Code=134130 "The operation couldn’t be completed. (Cocoa error 134130.)" UserInfo=0x1e182af0 {URL=file://localhost/var/mobile/Applications/CE08D1B7-3457-4654-B1DA-86AAC25CC6D8/Documents/DataModel.sqlite, metadata={
NSPersistenceFrameworkVersion = 419;
NSStoreModelVersionHashes = {
AppUser = <72f4a69b 62ebdb70 4cc9cc62 a5e256e5 25959da5 6cfad758 9f6b269d 43e1ecf1>;
Comment = <788972fe 80274647 72ec8208 4140ff92 0ab98923 880e70e8 d9867f51 e7b847e9>;
Friend = <67c863fe e2f6e86f fc419fd9 13d6a86f 9e53eddf 59be2c66 2c48972c a52aad08>;
Gallery = <f6760bb4 67312c33 a40c7807 57550cce a2a4d699 9b2aab0b 5758cbb2 febdbb1e>;
Image = <09c8a368 7da0eda2 f3cbd57b 90fc19e3 572b0456 61f7721b 29b329f3 edd27cd1>;
Post = <14b4277b c8870cc9 a2b42894 ac549a9f 51fa899d 6270cf9a 542c29f1 433ae232>;
PostBody = <86d4998a f19d61cc 98804a95 17b0c32a b7d0100a 57f0ee64 307a51cf ca087fd4>;
Region = <96801c5d bfb5af34 bb83c7d7 c41ef4df 267efc18 6c6f46b1 07715f4d 8dff0ead>;
SocialNet = <71290cd1 ac2dd061 49fb9766 f0019440 6d59f930 755f8c06 bbc9cc84 baaf04e2>;
Tag = <a506a246 97683534 dfb6a120 c440ac0e 3075d305 2d22bd69 d27c33c8 0c5db8f5>;
Theme = <9412b895 04891719 8c9342ba 7616ee61 3df27a2c 57efa3ac a7b97d0c 4d0d8dd6>;
ThemeAll = <95d80c80 18755ade 6ca83731 222a95c6 2575c83c 3e266ef3 667ef48c 850ed742>;
ThemeDisplayable = <ece3436f d55e61a0 a3b2c0b1 0179a52e 16842058 28614280 37c9092f e5cab28f>;
User = <49e38bf1 225eed1f f5cd771a 6e7707b4 1a2f0629 79aad8bc d220eaf6 5395a97f>;
};
NSStoreModelVersionHashesVersion = 3;
NSStoreModelVersionIdentifiers = (
""
);
NSStoreType = SQLite;
NSStoreUUID = "218F9A44-2939-49AB-A9F3-3A90E2205F26";
"_NSAutoVacuumLevel" = 2;
}, reason=Can't find model for source store}, {
URL = "file://localhost/var/mobile/Applications/CE08D1B7-3457-4654-B1DA-86AAC25CC6D8/Documents/DataModel.sqlite";
metadata = {
NSPersistenceFrameworkVersion = 419;
NSStoreModelVersionHashes = {
AppUser = <72f4a69b 62ebdb70 4cc9cc62 a5e256e5 25959da5 6cfad758 9f6b269d 43e1ecf1>;
Comment = <788972fe 80274647 72ec8208 4140ff92 0ab98923 880e70e8 d9867f51 e7b847e9>;
Friend = <67c863fe e2f6e86f fc419fd9 13d6a86f 9e53eddf 59be2c66 2c48972c a52aad08>;
Gallery = <f6760bb4 67312c33 a40c7807 57550cce a2a4d699 9b2aab0b 5758cbb2 febdbb1e>;
Image = <09c8a368 7da0eda2 f3cbd57b 90fc19e3 572b0456 61f7721b 29b329f3 edd27cd1>;
Post = <14b4277b c8870cc9 a2b42894 ac549a9f 51fa899d 6270cf9a 542c29f1 433ae232>;
PostBody = <86d4998a f19d61cc 98804a95 17b0c32a b7d0100a 57f0ee64 307a51cf ca087fd4>;
Region = <96801c5d bfb5af34 bb83c7d7 c41ef4df 267efc18 6c6f46b1 07715f4d 8dff0ead>;
SocialNet = <71290cd1 ac2dd061 49fb9766 f0019440 6d59f930 755f8c06 bbc9cc84 baaf04e2>;
Tag = <a506a246 97683534 dfb6a120 c440ac0e 3075d305 2d22bd69 d27c33c8 0c5db8f5>;
Theme = <9412b895 04891719 8c9342ba 7616ee61 3df27a2c 57efa3ac a7b97d0c 4d0d8dd6>;
ThemeAll = <95d80c80 18755ade 6ca83731 222a95c6 2575c83c 3e266ef3 667ef48c 850ed742>;
ThemeDisplayable = <ece3436f d55e61a0 a3b2c0b1 0179a52e 16842058 28614280 37c9092f e5cab28f>;
User = <49e38bf1 225eed1f f5cd771a 6e7707b4 1a2f0629 79aad8bc d220eaf6 5395a97f>;
};
NSStoreModelVersionHashesVersion = 3;
NSStoreModelVersionIdentifiers = (
""
);
NSStoreType = SQLite;
NSStoreUUID = "218F9A44-2939-49AB-A9F3-3A90E2205F26";
"_NSAutoVacuumLevel" = 2;
};
reason = "Can't find model for source store";
}