ios - How to change attribute type in xcdatamodel? -
i'm newbie assigned gigantic project. have found minor bug needs fixing don't know how.
ok here is. issuenumber
attribute in xcode's core data model set integer 64
. need change string
, bug fixed, when change attribute type integer 64
string
, app crashes gigantic output starts this:
coredata: error: -addpersistentstorewithtype:sqlite configuration:(null) url:file:///users/apple/library/developer/coresimulator/devices/67d17d00-2af8-4bc4-abb7-091c95d02f35/data/containers/data/application/b94b1310-4a63-4f91-ae7b-5f625697b3e2/library/imagdocument.sqlite options:{ nsinfermappingmodelautomaticallyoption = 1; nsmigratepersistentstoresautomaticallyoption = 1; nssqlitepragmasoption = { synchronous = off; }; } ... returned error error domain=nscocoaerrordomain code=134130 "the operation couldn’t completed. (cocoa error 134130.)" userinfo=0x7f405ef0 {url=file:///users/apple/library/developer/coresimulator/devices/67d17d00-2af8-4bc4-abb7-091c95d02f35/data/containers/data/application/b94b1310-4a63-4f91-ae7b-5f625697b3e2/library/imagdocument.sqlite, metadata={ nspersistenceframeworkversion = 519; nsstoremodelversionhashes = {
and goes , goes... here do: change type in data model integer 64 string:
ok doing wrong? there must i'm missing, app crashes every time change attribute type.