An error indicating that the record was rejected because the version on the server is different.
Mac Catalyst 13.0+Beta
This error indicates that the server's version of the record is newer than the version the client tried to save. Your app is expected to handle this error, resolve any conflicts in the record, and attempt another save of the record, if needed.
CloudKit provides your app with three copies of the record in this error's userInfo dictionary to assist with comparing and merging the changes:
When a conflict occurs, your app should merge all changes onto the record under the CKRecordChangedErrorServerRecordKey key and attempt a new save using that record. Merging onto either of the other two copies of the record results in another conflict error because those records have the old record change tag.
An error indicating that the specified record zone does not exist on the server.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.