I’m trying to implement web credentials sharing on macOS 11.0.
According to documentation:
1) added associated domain file to website and now it’s available at location https://my.website/.well-known/apple-app-site-association (my.website is just and example here)
2) added Associated Domains entitlement to my macOS app with value webcredentials:my.website
Problems: when using SecAddSharedWebCredential func get callback error:
Error Domain=NSOSStatusErrorDomain Code=-4 "SecAddSharedWebCredentialSync not supported on this platform" (kCFMessagePortTransportError / kCSIdentityDeletedErr / unimpErr: / / unimplemented core routine) UserInfo={numberOfErrorsDeep=0, NSDescription=SecAddSharedWebCredentialSync not supported on this platform})
when using SecRequestSharedWebCredential func get console error and callback error (the same for ASAuthorizationController with ASAuthorizationPasswordRequest request)
Authorization failed: Error Domain=AKAuthenticationError Code=-7089
Error Domain=com.apple.AuthenticationServices.AuthorizationError Code=1000
What I’m doing wrong?