I am trying to store groups of contacts in CloudKit, and I am getting an error back if I try to create a large group of records, CKReferenced to a single group record.
The limit appears to be around 700 or so records.
Has anyone else seen a similar result, or can confirm the existence (or non-existence) of a limit? I can't find anything in the docs, or through Google.
NOTE: I am already splitting the records I submit into batches of 400 or less, as that seems to be a hard limit.
Yes & no - it depends on whether the CKReferences
have a CKReferenceAction
of deleteSelf
.
In the CloudKit Web Services Reference*, Apple lists the following limit:
Maximum number of source references to a single target where the action is delete self = 750
This may explain why EVCloudKitDao was able to exceed this limit (in the comments above) - its CKReferences were previously created with a CKReferenceAction of None
.
Despite the only mention of this limit being in the CloudKit Web Services documentation, the Designing for CloudKit reference links to it, and it seems to be a server-side limit that applies regardless of which CloudKit API you are using.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With