Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No apps with domain entitlements

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

like image 595
Anil Kukadeja Avatar asked Oct 17 '16 13:10

Anil Kukadeja


People also ask

How do I add associated domains entitlement?

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.

How do I enable associated domains on my app identifier?

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.

Does Apple-App-site-Association need to be signed?

As of iOS 9 developer seed 2, you no longer need to sign the apple-app-site-association file for Universal links.


2 Answers

...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.

like image 60
Alex Bauer Avatar answered Sep 23 '22 17:09

Alex Bauer


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.

like image 30
Ranganatha G V Avatar answered Sep 23 '22 17:09

Ranganatha G V