Your apple-app-site-association
file needs to include a list of appIDs
. These app IDs take the form of app-id-prefix.app-bundle-id
. You can get the App ID prefix in your Apple Developer account, in “Certificates, Identifiers, & Profiles”. Tap your app’s identifier and you’ll see “App ID Prefix” at the top of the screen.
If you’re setting up Universal Links, you can make debugging easier:
TN3155: Debugging universal links | Apple Developer Documentation
- Turn on Developer Mode in Settings.
- In Settings > Developer, scroll to the section labeled Universal Links and turn on Associated Domains Development.
- Open Diagnostics and type in your full URL. You will receive feedback on whether this link is valid for an installed app.
You can force your app to re-request your apple-app-site-association
file every run (or install?), so you don’t have to wait for Apple’s CDN to re-cache it. In your Associated Domains capability, replace your domain definition applinks:mycoolapp.com
with applinks:mycoolapp.com/?mode=developer
. Documentation: Associated Domains Entitlement