I am working on an App update and this version is completely built from scratch and has completely new coreData model schema. I need to write coreData migration from the older model. I have been looking at resources to write coreData migration but all of them need old model file. Since this version is completely new, I don’t have the old model schema.
Is there any way I can write the migration such that it dumps the old model when user updates the app?
Thanks in advance
If you have the old App, then you can recreate the model from the compiled model file which is contained in the App bundle: