core data - Xcode - error in simulator on iPad (but not iPhone) accessing CoreData -


my app fails datacore error 9999 when simulate ipad not when simulate iphone. when run app on ipad there no error.

the simulator using same database on desktop , have rebuilt several times.

is bug in simulator?

here error code:

2015-08-16 12:07:19.750 crew emergency preparedness[1195:59803] coredata: error: -addpersistentstorewithtype:sqlite configuration:(null) url:file:///users/patriciawarwick/library/developer/coresimulator/devices/a1f21642-da91-4510-9517-fc2a2756ff26/data/containers/data/application/65b75062-9c98-42aa-954f-25eec7caa8bc/documents/crewdata.sqlite options:(null) ... returned error error domain=nscocoaerrordomain code=134100 "the operation couldn’t completed. (cocoa error 134100.)" userinfo=0x7c4cb030 {metadata={ nspersistenceframeworkversion = 519; nsstoremodelversionhashes =     {     notes = <cdf25e0b 15955be0 b8714aa0 675ddcb3 caa5de75 7f257d1a ca6a64e3 97791f2a>;     section = <78490b89 a642322e 42bbdceb 4bb3f099 6331bf84 7db3c909 cfd99469 3f3954b5>;     switch = <3fff52c1 6964f42e 7c8d7298 13c8cc76 8f676a2b 32a6b00f 872effa1 fb12c1bc>;     tips = <1946e123 3376ba49 c56b4d8d 01d1b5a7 fdec6cc0 0f632339 0f60618b 4eee6851>;     view = <c1c09b2c 4d0cbeca 4c4b347e 5df34739 8c88d1a2 c84f1e97 f7ae7fea 5c777ab9>; }; nsstoremodelversionhashesversion = 3; nsstoremodelversionidentifiers =     (     "" ); nsstoretype = sqlite; nsstoreuuid = "d4450e7a-343a-4dba-9a45-71201155e63e"; "_nsautovacuumlevel" = 2; }, reason=the model used open store incompatible 1 used create store} userinfo dictionary { metadata =     {     nspersistenceframeworkversion = 519;     nsstoremodelversionhashes =         {         notes = <cdf25e0b 15955be0 b8714aa0 675ddcb3 caa5de75 7f257d1a ca6a64e3 97791f2a>;         section = <78490b89 a642322e 42bbdceb 4bb3f099 6331bf84 7db3c909 cfd99469 3f3954b5>;         switch = <3fff52c1 6964f42e 7c8d7298 13c8cc76 8f676a2b 32a6b00f 872effa1 fb12c1bc>;         tips = <1946e123 3376ba49 c56b4d8d 01d1b5a7 fdec6cc0 0f632339 0f60618b 4eee6851>;         view = <c1c09b2c 4d0cbeca 4c4b347e 5df34739 8c88d1a2 c84f1e97 f7ae7fea 5c777ab9>;     };     nsstoremodelversionhashesversion = 3;     nsstoremodelversionidentifiers =         (         ""     );     nsstoretype = sqlite;     nsstoreuuid = "d4450e7a-343a-4dba-9a45-71201155e63e";     "_nsautovacuumlevel" = 2; }; reason = "the model used open store incompatible 1 used create store";  }  2015-08-16 12:07:19.751 crew emergency preparedness[1195:59803] unresolved error optional(error domain=your_error_domain code=9999 "failed initialize application's saved data" userinfo=0x7c17c300 {nslocalizeddescription=failed initialize application's saved data, nsunderlyingerror=0x7c4cb050 "the operation couldn’t completed. (cocoa error 134100.)", nslocalizedfailurereason=there error creating or loading application's saved data.}), optional([nslocalizeddescription: failed initialize application's saved data, nsunderlyingerror: error domain=nscocoaerrordomain code=134100 "the operation couldn’t completed. (cocoa error 134100.)" userinfo=0x7c4cb030 {metadata={ nspersistenceframeworkversion = 519; nsstoremodelversionhashes =     {     notes = <cdf25e0b 15955be0 b8714aa0 675ddcb3 caa5de75 7f257d1a ca6a64e3 97791f2a>;     section = <78490b89 a642322e 42bbdceb 4bb3f099 6331bf84 7db3c909 cfd99469 3f3954b5>;     switch = <3fff52c1 6964f42e 7c8d7298 13c8cc76 8f676a2b 32a6b00f 872effa1 fb12c1bc>;     tips = <1946e123 3376ba49 c56b4d8d 01d1b5a7 fdec6cc0 0f632339 0f60618b 4eee6851>;     view = <c1c09b2c 4d0cbeca 4c4b347e 5df34739 8c88d1a2 c84f1e97 f7ae7fea 5c777ab9>; }; nsstoremodelversionhashesversion = 3; nsstoremodelversionidentifiers =     (     "" ); nsstoretype = sqlite; nsstoreuuid = "d4450e7a-343a-4dba-9a45-71201155e63e"; "_nsautovacuumlevel" = 2; }, reason=the model used open store incompatible 1 used create store}, nslocalizedfailurereason: there error creating or loading application's saved data.])  

delete app ipad simulator or reset simulator. takes care of such problems during development workflow.


Comments

Popular posts from this blog

dns - How To Use Custom Nameserver On Free Cloudflare? -

python - Pygame screen.blit not working -

c# - Web API response xml language -