Steps to migrate Core Data databases for shipped iPhone apps
-
12-09-2019 - |
Question
What are the recommended steps to be done for migrating Core Data DB changes for updated iPhone apps already shipped?
Is there any prior step one need (should) have done before shipping a Core Data app?
Solution
Apple has published a guide with regards to this topic: Introduction to Core Data Model Versioning and Data Migration Programming Guide
If you find the guide hard to follow (and it can be), this SO post may come in handy too:
What do I have to do to get Core Data to automatically migrate models?
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow