Unable to complete associated domain check

Hi,

When attempting to perform a credential registration, I constantly get the error

Application with identifier <...> is not associated with domain <domain>

I've verified the following:

  1. The file is present on the required URL path

https://123.com/.well-known/apple-app-site-association

{
    "webcredentials": {
      "apps": [ "<PREFIX>.bundleID" ]
    }
}

  1. Added the Capabilities to my domain
  2. Confirmed that the CA is valid and there are no redirects.

Am I missing something? My device is able to properly access the file

Deleting the app and a proper Xcode clean solved this..

Hi @mervyn.ong,

If I am not mistaken, for security reasons, the file is not accessed or validated by the device, but Apple backend infrastructure (CDN) as such the file must be accessible via the internet. There is a way to temporarily tweak this behaviour by using query parameter ?mode= during development, it's nicely explained in the documentation https://developer.apple.com/documentation/xcode/supporting-associated-domains.

I am facing similar issue now. XCode clean and deleting app is not helping. Did you find the solution?

Unable to complete associated domain check
 
 
Q