CloudKit is really cool... until it doesn't do what you expect and you have absolutely no idea why, there's no way to find out, and the relevant documentation is non-existant.