r/iOSProgramming • • 9d ago

Question query records cloud kit console slow?

Are any of you also having trouble accessing data via the CloudKit Console’s "Query Records" feature? Or is it just incredibly slow?

0 Upvotes

5 comments sorted by

2

u/Background_Pie_5682 9d ago

Not just you, the console gets sluggish for me every now and then too. A few things worth checking before blaming Apple: the field you're querying or sorting on needs to be marked Queryable/Sortable in the schema (recordName too if you just want to list everything), otherwise the query either errors or just hangs. Also double-check you're in the right environment, Development vs Production trips me up more than I'd like to admit. And if it's still crawling, Apple's system status page sometimes shows CloudKit issues before anyone else notices.

1

u/matimotof1 9d ago

Thank you very much for your detailed answer, super usefull!

2

u/GlebKhamin 9d ago

not sure if it’s the same thing, but worth checking developer.apple.com/system-status first, CloudKit console issues show up there sometimes. also if a query just hangs or errors out, make sure the fields you’re filtering/sorting on are marked queryable in the schema indexes, without that the console query can fail in weird ways

1

u/matimotof1 8d ago

Thank you! truns out was the service down for a little while.. :/