Sign-in Errors

I am getting the following errors. The app used to work and now does not, even without any code changes. Any thoughts on resolving this issue?

Authorization failed: Error Domain=AKAuthenticationError Code=-7026 "(null)" Us erInfo={AKClientBundleID=<bundleid>}

LaunchServices: store (null) or url (null) was nil: Error Domain=NSOSStatusErrorDomain Code=-54 "process may not map database" Us erInfo={NSDebugDescription=process may not map database, _LSLine=72, _LSFunction=_LSServer_GetServerStoreForConnectionWithCompletionHandler}

Attempt to map database failed: permission was denied. This attempt will not be retried.

Failed to initialize client context with error Error Domain=NSOSStatusErrorDomain Code=-54 "process may not map database" Us erInfo={NSDebugDescription=process may not map database, _LSLine=72, _LSFunction=_LSServer_GetServerStoreForConnectionWithCompletionHandler}
Failed to get application extension record: Error Domain=NSOSStatusErrorDomain Code=-54 "(null)"

ASAuthorizationController credential request failed with error: Error Domain=com.apple.AuthenticationServices.AuthorizationError Code=1000 "(null)"
Accepted Answer

I tried revoking certificates and removing profiles. That did not seem to work. Not sure it mattered since I was using Automatically manage signing. I made sure the capability for Sign-in with apple was on Release, Debug etc.

In the end, I changed my build setting in Unity from Run in XCode as Release to Run in XCode as Debug and it worked. Doesn't make much sense, but it is working. Maybe it was some combination fo the above.

Sign-in Errors
 
 
Q