com.apple.developer.associated-domains issue when validating iOS app
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:
Under 'Certificates, Identifiers & Profiles' in the Developer Member Center, choose your App ID under 'Identifiers', 'App IDs' in the left hand column.
Choose 'Edit' and then 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.
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.
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.
and it worked for me
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.
Comments
-
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 keycom.apple.developer.associated-domains
inPayload/MyApp.app/MyApp
is not supported.I cannot find any relevant answer from google. Hope someone can help me?
-
Fire Fist over 9 yearsHi , I am facing that problem too. What i need to add for associated domain. Please show with examples. Thanks.
-
Acey almost 9 yearsWhy don't you accept your answer. This is the correct solution.
-
Dan Rosenstark almost 9 yearsIn most cases you can just update the affected provisioning profiles and then refresh in Xcode.
-
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 almost 9 yearsI 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 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 over 7 yearsThanks @Vivo. It works. The important point is that, will have to regenerate any provisioning files associated with this ID.
-
Tum almost 5 yearsThis should be appended to the accepted answer. Both scenario's could be valid: requiring associated domains or removing them.
-
Tum almost 5 yearsJibeex's answer would be a useful addition to this answer for those wanting to repair associated domains, instead of removing them.
-
Gaurang Chokhariya almost 4 yearsAfter enable service of Associate Domain, is it necessary to regenerate provisioning Profile?
-
Steven Love over 2 yearsin 2021, this is no longer associated with iTunes but instead on developer.apple.com. The screenshots are still accurate though.