Re: Anyone using CloudKit?

Alex Zavatone

I seem to recall that Axel Kee on Twitter completed a project that might be related to this.  He’s in Singapore and is at @soulchildpls on Twitter.

But you know Apple.  It would probably be best to make up a dev account that is only used for testing this.

GL.  I’ll warn/let Axel know that you might be asking him a question.

Alex Zavatone

On Sep 1, 2020, at 12:38 PM, Jens Alfke <jens@...> wrote:

Hey, is anyone here using CloudKit? I'm getting started with it and have issues. There's some content on Apple's dev forums, but frankly even the new improved forums have awful UX (why couldn't they have simply used Discourse?)

#1: My Apple developer account is not the same as my regular Apple ID. That means the records my app creates are associated with my regular ID, so when I go to the CloudKit Dashboard I can't look inside the private database because I'm signed in with a different ID.

#2: How the heck does one write tests for CloudKit? The server-side environment is super test-unfriendly since there's no way to programmatically set up a clean slate. The only way to get a fresh empty database is to go to the Dashboard and manually press a button to nuke the entire dev container. The only real solution I can imagine is to mock the entire CK API, which is feasible since it seems to be implemented in Obj-C, but that would be a big effort and you'd have to reproduce all the behaviors of the real system, which aren't documented.


PS: Cross-posted to the Apple cocoa-dev list; sorry for the duplication.

Join to automatically receive all group messages.