AKAuthenticationError Code=-7026

I want to add the "Sign In with Apple" feature to my iPadOS application. I've already done the following:

  1. Include com.apple.developer.applesignin in mobileprovision
  2. Include com.apple.developer.applesignin in entitlements

However, I'm getting the following errors:

`Authorization failed: Error Domain=AKAuthenticationError Code=-7026 "(null)" UserInfo={AKClientBundleID=xxxx}

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

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" UserInfo={_LSLine=72, _LSFunction=_LSServer_GetServerStoreForConnectionWithCompletionHandler, _LSFile=LSDReadService.mm, NSDebugDescription=process may not map database}

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)"
`

What is this problem? How can I solve it?

Hoping someone can help, thank you!

Hi @hhai,

I need more information from the system logs on your device to begin my investigation. Please follow the steps in the post below and reply here with the Feedback ID:

Gathering required information for troubleshooting Sign in with Apple authorization and token requests

https://developer.apple.com/forums/thread/801173

Cheers,

Paris X Pinkney |  WWDR | DTS Engineer

AKAuthenticationError Code=-7026
 
 
Q