Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

How to migrate iCloud CoreData without lightweight migration?

Hey guys,


I have a problem with iCloud CoreData in my first app.


In version 1.0 I added support for iCloud to my app. Now in version 2.0 I changed the database to an extend that doesn't allow to migrate it with lightweight migration. The migration itself is not the problem, I created a new mapping model and the database migrates without any problems.


The problem I have though is that iCloud still uses the old model and I cannot find any way to delete the old data for every user in their iCloud.

I already tried to change the iCloud container depending on which version the users uses, but that doesn't seem to solve the problem.


All in all, the local CoreData storage migrates without problems, it also correctly displays the data until it synchronizes with iCloud.


How can I solve my problem?

iPhone 6, iOS 9

Posted on Oct 9, 2015 5:03 AM

Reply

There are no replies.

How to migrate iCloud CoreData without lightweight migration?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.