I tried to migrate coreData to new version, I'm following this step:
Add a new Model Version (Select name.xcdatamodeld then Editor->Add model Version) before making any changes, if you have an app already submitted to App Store which is using the earlier model version.
Then, Add a new file from Core Data Tab, as Mapping Model Select, Source Model (Model Version which the submitted App is using) Destination Model (Model Version in which you have done the Changes)
But my data mostly are images and app crash because it takes a lot of memory. So I want to delete old data model and its datas and create empty new model data when user update their app. How to do this?