In order to test conflicts, I've been saving two different versions of the same document on two devices. On both devices I would then be able to look at the currentVersionOfItemAtURL
to see the 'winning' version - which was the same on both devices - and the otherVersionsOfItemAtURL
or removeOtherVersionsOfItemAtURL
to see the others.
However I now seem to have got a document in a weird state, where currentVersionOfItemAtURL
is different on the two devices, and there are no otherVersionsOfItemAtURL
or removeOtherVersionsOfItemAtURL
. Using getResourceValue:forKey:
with NSURLUbiquitousItemHasUnresolvedConflictsKey
reports that the URL has unresolved conflicts, but I've no way of seeing them.
What does it mean when a URL reports true for NSURLUbiquitousItemHasUnresolvedConflictsKey but there are no other versions of the URL? Is this a case I need to handle in a production app?