I am working on an iPhone application that uses a subclass of UIManagedDocument and stores its documents in iCloud.
Everything worked fine until I changed my main model / data scheme (adding a new version of the model - as it has been several times over the past few weeks). I added a new property and changed the data type of one of the existing properties.
Now, when I run my application, I seem to be unable to load my documents using the UIManagedDocument -openWithCompletionHandler: I can create new documents and read and write them. If I change the version of the data model back to 1, then I can read existing documents, but not new ones.
From what I understand, I only do light migrations to the data model, and should UIManagedDocument handle this right?
Any advice would be greatly appreciated!
source share