Why is iCloud Drive required to enabled for CloudKit to work

My app only users the Public Database; users can read/write to it - so why must I have my users enabled iCloud Drive in order for things to work correctly?


I understand if I was using the Private Database why it would be required.

I also understand there appears to be no way to tell the entitlements that I am not using any Private Database, but that does seem to be the crux of the problem here.

Replies

If you were only reading from the public database then you wouldn't need to have iCloud Drive enabled. In order to write, that's something that requires authentication and that is enabled by way of the iCloud Drive switch. I don't know the details behind why it's tied to that particular switch, but you could certainly file a bug report if you think that shouldn't be the case.

Post not yet marked as solved Up vote reply of pdm Down vote reply of pdm

How would this (or how much of this) would apply to iMessage apps? There's no iCloud Drive option for iMessage, for example.