Saving a CKRecord in the simulator gives me the following error:
CKRecord
[publicDatabase saveRecord:cloudRouteEntity completionHandler:^(CKRecord *record, NS
I'm seeing the same error. According to the discussion linked below the cause might be two-factor authentication.
https://discussions.apple.com/thread/6588883