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
CKReferenceshave aCKReferenceActionofdeleteSelf.In the CloudKit Web Services Reference*, Apple lists the following limit:
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.