Associated Domains Entitlement
The associated domains for specific services, such as shared web credentials, universal links, and App Clips.
Discussion
This key specifies a list of domains for each enabled service. Add an associated domain to the list in the following format:
<service>:<fully qualified domain>Services include:
webcredentialsUse this service for shared web credentials.
applinksUse this service for universal links.
activitycontinuationUse this service for Handoff.
appclipsUse this service for an App Clip.
If you use a private web server, which is unreachable from the public internet, while developing your app, enable the alternate mode feature to bypass the CDN and connect directly to your server. To do this, add a query string to your associated domains entitlement, as shown in the following example:
<service>:<fully qualified domain>?mode=<alternate mode>Where alternate mode is one of the following:
developerSpecifies that only devices in developer mode can access the domain. In this mode, you can use any valid SSL certificate on your web server, including a certificate that the system doesn’t trust. Make sure you don’t expose your users to security issues, such as machine-in-the-middle attacks. As an additional precaution, only apps that you sign with a development profile can use developer mode, and users must opt-in on any device they use.
managedSpecifies that only devices using a mobile device management (MDM) profile can access the domain. This mode requires consent from the MDM administrator.
developer+managedSpecifies that only devices that are in both
developerandmanagedmodes can access the domain.
To enable associated domains, add the Associated Domains capability to your target in Xcode. For more information, see Adding capabilities to your app.
See Also
Related Documentation
Networking
Network Extensions EntitlementPersonal VPN Entitlementcom.apple.developer.networking.multicastcom.apple.developer.associated-domains.applinks.read-writecom.apple.developer.networking.manage-thread-network-credentials5G Network Slicing App Category5G Network Slicing Traffic Categorycom.apple.developer.networking.vmnetConfiguring your app for ultra-constrained networkscom.apple.developer.networking.carrier-constrained.appcategorycom.apple.developer.networking.carrier-constrained.app-optimized