问题
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
回答1:
...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.
回答2:
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.
回答3:
Sorry for the late answer:
But this may happen when there are errors in the domain.
Be sure you are using https not the http and the apple-app-site-association must be exactly in the root of the directory and should not contain any extension. There should not be any redirection to the page.
Validate the domain with apple here
来源:https://stackoverflow.com/questions/40087119/no-apps-with-domain-entitlements