Docs

How to Add an Associated Domain

Configure associated domains in Xcode for Universal Links.

Associated domains enable Universal Links, allowing users to open your app directly from web links.

1

Open your project in Xcode

Launch Xcode and open your iOS project.

2

Select your app target

In the Project Navigator, click on your project file, then select your app target under Targets.

3

Go to Signing & Capabilities

Navigate to the Signing & Capabilities tab in the target settings.

4

Add the Associated Domains capability

Click the + Capability button. Search for Associated Domains and double-click it to add it to your project.

5

Add your domain

In the Associated Domains section, click the + button and add your domain in the following format:

applinks:yourdomain.com

Replace yourdomain.com with the domain shown in your Grovs dashboard. Repeat this step for each domain listed.

6

Build and test on a physical device

Build and run your app on a physical device. Universal Links do not work in the simulator. Test by clicking a Universal Link that matches your configured domain.

Add both domains from the Grovs dashboard to ensure proper functionality in test and production environments.