The system APIs should not silently delete important data when the apps haven't implemented the feature.
This is an iCloud bug, not an Xcode one.
This is an iCloud bug, not an Xcode one.
Obviously, deleting data is bad.
However, Dropbox's "(John Doe’s conflicted copy)" solution is also pretty awful UX. I can understand why Apple would want to use its uniquely integrated software ecosystem to come up with a better system. I believe they could do it—but they clearly have not.
A different approach would be to add a way to see files that have issues. Similar to how Dropbox shows files that fail to upload.
For Dropbox, I agree. Apple could do it though; that's the advantage of having such great control over your ecosystem.