I can't understand why this error appears when I'm trying to save my record to the iCloud.
Optional(<CKError 0x15c6faae0: "Invalid Arguments" (12/1007); "Invalid list of records: Cycle detected in record graph">)
Can anyone help me with what is likely causing this error?