I am trying to integrate deep linking through universal links. Everything is settled up nicely on developer account. Associated domains are also enable on the app id.
On server side myapp.com/apple-app-site-association is available. But apple search validator always throws this error.
I am not sure what it means exactly..?
If any one can help me that would be really great.
Thanks
Add the associated domains entitlement to your app For watchOS apps, you must add the Associated Domains capability to the WatchKit Extension target. To add your domain to the entitlement, click Add (+) at the bottom of the Domains table to add a placeholder domain.
Log into your Apple developer account and go to the app's ID page. Enable the Associated Domains app service. Take note of your Prefix (bundle ID) and your ID (team ID) - you will need them later. Add the "Associated Domain" capability to your app in Xcode, and add your web servers' domain as an associated domain.
As of iOS 9 developer seed 2, you no longer need to sign the apple-app-site-association file for Universal links.
...and it possibly always will. I actually don't know exactly what that tool is checking for, because domains that definitely work with Universal Links (https://google.com, https://jet.com, for example) still throw errors on Apple's validator. Officially, it is comparing your website's apple-app-site-association
file to your app's listing on the App Store, so if the version of your app that is publicly available does not yet have Universal Links entitlements, that could be contributing to an error. However, Universal Links will still work fine with local builds.
If your links are correctly opening your app, there is probably no need to worry.
UPDATE: you might also consider using a free deep linking service like Branch.io (full disclosure: I'm on the Branch team) because then you don't need to worry about these technical implementation details. Also, there are many situations where Universal Links don't actually work (in the Facebook app, for example) and you'll need to add edge case handling that Branch already has built in.
I was getting the same error but universal link is working for me as I corrected my TeamId. In my case the apple-app-site-assocition file TeamId was wrong. I used my Certificate TeamId which you can see in Xcode/keychain access
You should use your TeamID of the account not your TeamId of your certificate.
To get your TeamID Login to developer account Click on Account > Membership.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With