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

35,810

Solution 1

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.'

Solution 2

Finally, I find that associated domains is only available in Xcode6 under Capabilities tab. It seems that the validator is not happy if I leave this section empty. After adding an item of my domain to that section, I managed to pass the validation process.. See this link for more info about associated domains.

https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/AddingCapabilities/AddingCapabilities.html

I am using Xcode 6 GM.

Thanks for the suggestion of @Sabo. I added a screenshot of my associated-domains setting. You probably need just click on the plus button and replace "example.com" with yours.

enter image description here

Solution 3

I had the same issue.

Here is the resolution for anyone else having this problem.

  • Log into iOS Dev Center and go to Certificates, Identifiers & Profiles.

  • Go to Identifiers/App IDs.

  • Choose the appropriate ID for your app.

  • Click on the Edit button at the bottom.

  • Uncheck Associated Domains and click Done.

You will have to regenerate any provisioning files associated with this ID.

I had never selected this for the app last time I submitted my app to the app store.

I am guessing that the update to iOS/Dev Center may have added it.

But I am not exactly sure. All I know is that I am now able to validate my package and submit to the app store.

Solution 4

For me it was "Provisioning profile "profile_name" doesn't support the Associated Domains capability."

and I had to Enable Domain capability in iTunes Account's Profile this

Just update App ID configuration and profile and install in Xcode by double click on it.

enter image description here

and it worked for me

enter image description here

Solution 5

Just turn off Associated Domains in your App ID (at developer.apple.com), and create a new distribution provisioning profile (if you not create profiles manually, then delete the previous at least).

It turned out to me that the value stuck into the profile even if you turn off the service. If you open the entitlements details just before you submit your app, you can see that com.apple.developer.associated-domains entitlement (until it is removed).

Having this, you don't need the fake entitlement entry.

Share:
35,810
Jibeex
Author by

Jibeex

Coding for fun.

Updated on May 29, 2020

Comments

  • Jibeex
    Jibeex almost 4 years

    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?

  • Fire Fist
    Fire Fist over 9 years
    Hi , I am facing that problem too. What i need to add for associated domain. Please show with examples. Thanks.
  • Acey
    Acey almost 9 years
    Why don't you accept your answer. This is the correct solution.
  • Dan Rosenstark
    Dan Rosenstark almost 9 years
    In most cases you can just update the affected provisioning profiles and then refresh in Xcode.
  • Dan Rosenstark
    Dan Rosenstark almost 9 years
    @Acey not really: if you don't need associated domains, you should remove them from the App ID on the developer portal.
  • user2002649
    user2002649 almost 9 years
    I found I couldn't get rid of this entitlement by just turning it off. What worked to enable Associated Domains on iTunes connect and then create a fake entry in XCode under Capabilites - Associated Domains. Once I had done this, I could then turn everything off again.
  • Geri Borbás
    Geri Borbás almost 9 years
    @user2002649 True, if you do not recreate provisioning profile, you'll have to hack a fake entry, if you are ok with that. I just don't like that way.
  • Meet Doshi
    Meet Doshi over 7 years
    Thanks @Vivo. It works. The important point is that, will have to regenerate any provisioning files associated with this ID.
  • Tum
    Tum almost 5 years
    This should be appended to the accepted answer. Both scenario's could be valid: requiring associated domains or removing them.
  • Tum
    Tum almost 5 years
    Jibeex's answer would be a useful addition to this answer for those wanting to repair associated domains, instead of removing them.
  • Gaurang Chokhariya
    Gaurang Chokhariya almost 4 years
    After enable service of Associate Domain, is it necessary to regenerate provisioning Profile?
  • Steven Love
    Steven Love over 2 years
    in 2021, this is no longer associated with iTunes but instead on developer.apple.com. The screenshots are still accurate though.