I have been following these instructions to help integrate iCloud support with CoreData and I am getting some errors.
I have this in my AppDelegate:
I saw this error during testing when I spun up some temporary NSManagedObjectContexts without hanging on to them anywhere - the context would get deallocated out from under me at random by ARC.
What wound up working was to hold a reference to the MOC on the tests and reset it for each test.
Not sure how relevant this is to non-test circumstances, but particularly if you're using child/sibling contexts, it's worth making sure they're actually still there. :P