Apple universal links not working on Testflight

I can’t get universal links to work on Testflight, even though the Apple forums suggest it should.

Here is my AASA file:

{
  "applinks": {
    "apps": [],
    "details": [
      {
        "appID":"XXXXX.co.my.app",
        "paths":["*"]
      }
    ]
  }
}

I’ve validated this using this validator.
I’ve also used this validator, which returns this error message:

Action required
Could not extract required information for Universal Links. Learn how to implement the recommended Universal Links.
Error no apps with domain entitlements The entitlement data used to verify deep link dual authentication is from the current released version of your app. This data may take 48 hours to update.

Here is the relevant app.json configuration (under ios):

 "associatedDomains": ["applinks:mysite.co", "applinks:www.mysite.co"]

The entitlements have been set on the developer portal and I started over with a new provisioning profile (and certificate and key). I built the IPA with -c option.

I used this guide to check the entitlements on the IPA. The info.plist includes this:

	<key>com.apple.developer.associated-domains</key>
	<array>
		<string>applinks:mysite.co</string>
		<string>applinks:www.mysite.co</string>
	</array>

And the provisioning profile contains this:

	<key>Entitlements</key>
	<dict>
		<key>beta-reports-active</key>
		<true/>
						<key>com.apple.developer.associated-domains</key>
		<string>*</string>
						<key>aps-environment</key>
		<string>production</string>
        <...other stuff here>
	</dict>

I’ve verified that when installing from Testflight, it never makes a call to my website to retrieve the AASA file, so I assume something is amiss with the IPA.

The device logs keep showing this when I install the app

Get info for service 'NULL', app ID 'XXXXX.co.my.app', domain '(null)...'
Trying add of app ID 'XXXXX.co.my.app' for get info|
### Add service 'NULL', app ID 'XXXXX.co.my.app', domain 'NULL' failed: -6727/0xFFFFE5B9 kNotFoundErr|

What am I missing?!?! For the life of me, I can’t figure out why this isn’t working.

2 Likes

Found the solution, for those experiencing something similar. This is actually an IOS bug and happens intermittently when installing an app. To fix, try uninstalling, then power cycling the phone, then re-installing. I tried multiple times to simply uninstall and then re-install, to no avail. You need to power cycle the phone.

3 Likes

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.