Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

com.apple.developer.associated-domains issue when validating iOS app

When I was validating my project with Organizer in Xcode, I got the following error

Invalid code signing entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS.

Specifically, value *for key com.apple.developer.associated-domains in Payload/MyApp.app/MyApp is not supported.

I cannot find any relevant answer from google. Hope someone can help me?

like image 909
Jibeex Avatar asked Sep 11 '14 10:09

Jibeex


People also ask

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.

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 check my apple application association file?

Validate at http://branch.io/resources/aasa-validator/. If the file is valid then all checks would be green. a. Go to developer.apple.com and enable Associated Domains to your app ID.


Video Answer


1 Answers

I had a similar problem with Xcode 5.1.1, and couldn't solve it using any of the solutions I found online. However, this worked for me:

  1. Under 'Certificates, Identifiers & Profiles' in the Developer Member Center, choose your App ID under 'Identifiers', 'App IDs' in the left hand column.

  2. Choose 'Edit' and then disable 'Associated Domains.'

App Identifiers

Disable 'Associated Domains.'

like image 152
markashworth Avatar answered Sep 20 '22 19:09

markashworth