CloudKit Internal Error: "Signature Required"

I have an app that queries the public database for my custom container. It used to work fine till I just made some changes and ran it with the debugger, but now I can't stop getting this error about Internal Error: "Signature required"


This is what I see when I print the error's userInfo:


CKErrorDescription = "Signature required";

NSDebugDescription = "CKInternalErrorDomain: 2005";

NSLocalizedDescription = "Signature required";

NSUnderlyingError = "<CKError 0x2800c47b0: \"Internal Error\" (2005); \"Signature required\">";



I'm using this on an iOS12 device (not simulator) with a valid iCloud account (same one I've always used).


I've tried:

- rebooting phone and Mac

- logging into CloudKit dashboard, from the Mac, which works fine

- checked Xcode - target -> App Capabilites ... everything looks fine



Can anyone point out what else I can try? Or where I can look for diagnosing the issue?

Replies

I filed one already: 45177806

Just checked, and things appear to be working again for both my Production and Development databases. Hope I am not speaking too soon.

Working now for me too. Thanks for reporting this today!

To me also returned to work. I did not make any change in my code, and now it is working. When such error happened yesterday, it was a similar situation, i.e., even without any change in code, the error had appeared. Good that now it is normal. Thank you guys.