Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to register Associated Domains with Xcode 11?

I've been trying to add Associated Domains capability to my App but can't find it using Xcode 11. Has this feature disabled upon version 11? enter image description here

like image 714
ademarizu Avatar asked Oct 03 '19 16:10

ademarizu


People also ask

How do I enable associated domains?

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.

How do I add capabilities in Xcode 11?

Alternatively, click + Capability to the left of the build configurations, or choose Editor > Add Capability. The Capabilities library displays only the capabilities available to the target platform and your program membership. Select a capability in the list to view its description on the right.

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.

How do I set up associated domains in Xcode?

Add the Associated Domains Entitlement to Your App To set up the entitlement in your app, open the target’s Signing & Capabilities tab in Xcode and add the Associated Domains capability. If they’re not already present, this step adds the Associated Domains Entitlement to your app and the associated domains feature to your app ID.

How to enable alternate mode on a specific domain in Xcode?

Follow these steps to enable alternate mode on a specific associated domain: Select your project in Xcode’s Project navigator. Select the app’s target in the Targets list. Click the Signing & Capabilities tab in the project editor. Find the Associated Domains capability. Double-click the associated domain in the Domains list to edit it.

How do I add a developer account to Xcode?

Add your developer account to Xcode: There are no accounts registered with Xcode. No signing certificate “Mac Development” found: No “Mac Development” signing certificate matching team ID “ [omitted]” with a private key was found. XCode needs to sign in with my Apple ID. You can see listed accounts under XCode > Preferences > Accounts.

How do I Register my Xcode project for Universal Links?

In order to register your Xcode project for Universal Links, you need to create an App ID in the Apple developer portal and enable the proper entitlements. This is very similar to the configuration required for in-app purchases. You cannot use a wildcard app identifier for Universal Links. First, head to developer.apple.com and log in.


Video Answer


3 Answers

The problem was with my Developer Account, it wasn't fully approved by Apple. So, as soon it was approved, Associate Domains (and also Notifications) appeared in my Capabilities list. Don't know why they would limit development due to account status but they did.

like image 200
ademarizu Avatar answered Oct 09 '22 21:10

ademarizu


If you don't have a paid Apple developer account, remove "✓" from Automatically manage signing. Then "Associated domain" will be available.

worked for me in Xcode 12 !

enter image description here

like image 41
Yodagama Avatar answered Oct 09 '22 23:10

Yodagama


  1. In xcode go to Editor > Add capability

Add capability

  1. Just double click on "associated" domains in the window that opens

enter image description here

  1. Add your domain

enter image description here

like image 7
Wesley Overdijk Avatar answered Oct 09 '22 23:10

Wesley Overdijk