How to Add an Associated Domain in Xcode

How to Add an Associated Domain in Xcode

To enable your iOS app to support Universal Links or other domain-based features, you need to configure associated domains within your Xcode project. Follow these steps to set it up:

  1. Launch Xcode and open your application project.
  2. From the Project Navigator, click on your project’s name to access its configuration.
  3. Choose your app target under the Targets section.
  4. Go to the Signing & Capabilities tab.
  5. Click + Capability and select Associated Domains from the list.
  6. Once added, click the + button under Associated Domains.
  7. Insert your domain in the format: applinks:{YOUR_SUBDOMAIN}.sddl.me

Tip: Make sure to add subdomains from your SDDL dashboard.

Verifying Your Setup

  1. Build and install your app on a physical iOS device.
  2. Test Universal Link behavior by opening a valid link in Safari that corresponds with your configured domain.