Invalid code signing entitlements?

26,791

Solution 1

Check your certificate again. Are you sure you are using correct certificate? Production environment certificate?

Refer these links

ERROR ITMS-9000: "Missing Code Signing Entitlements. No entitlements found in bundle" - How to change app ID name

Getting ERROR ITMS-9000 when trying to upload an app using Application Loader

Solution 2

I resolved this issue because I had selected the "Associated Domains" entitlement (on the Apple Developer site) however in Xcode 6.1.1 seemed to not allow an app to be submitted if you have the Associated Domains switch as off in the capabilities Xcode tab.

You can therefore solve the Associated Domain issue by going to your app target in Xcode, Capabilities, Associated Domains and hitting the switch to ON if it's off. You don't have to add any info/domains but it seems to make Xcode happy!

See image below: enter image description here

Alternatively if you can (and don't mind) then you could remove the Associated Domain entitlement when configuring your app on the Apple Developer site and re-download the certs/profiles.

Solution 3

This issue suddenly attacked me. I upload builds frequently and nothing was changed. Just kept getting rejected from the app store for the code signing.

For me a different solution worked. In Xcode go to your App Target -> Build Settings -- check the code signing identity, on that drop down I selected my distribution code signing (I had developer selected). I changed that and it worked. Also the Provisioning Profile (still under code signing) was set to automatic which I think might play a role if this is an issue for someone.

Solution 4

For me I just have to turn off Associated Domians

enter image description here

Share:
26,791
Nasir Khan
Author by

Nasir Khan

Updated on July 09, 2022

Comments

  • Nasir Khan
    Nasir Khan almost 2 years

    I have found these errors while uploading the app on app store, can anyone solve this issue please?

    Error ITMS-9000: "Invalid code signing entitlements. Your application bundle's signature contains code signing entitlement that are not supported on iOS. specifically, value '*' for key 'com.apple.developer.associated-domamains' in 
    'Payload/battleofchampionsHDIOS.app/battleofchampionsHDIOS' is not support."
    

    I already have tried previous methods like, disabled that iCloud, `regenerated provisional profiles multiple times, refreshed the Xcode / mac / provisional profiles from Xcode. but still having the same error again and again and again.

    • tryKuldeepTanwar
      tryKuldeepTanwar almost 7 years
      help me out if you find any solution my situation is same as yours.
    • Nasir Khan
      Nasir Khan almost 7 years
      @dreamBegin Before you Product > Archive check that you are using an AppStore Distribution Provisioning Profile. Go to Build Settings > Code Signing and change Distribution Identity for Release and Provisioning Profile for Release.
    • tryKuldeepTanwar
      tryKuldeepTanwar almost 7 years
      thanks for the reply Sir, I solved the problem in my case it was the issue with the script file. Appreciate your time - kuldeep @Nasir Khan
  • Nasir Khan
    Nasir Khan over 9 years
    Thanks PUVAN the first link worked for me, i don't know why apple complicate things...
  • Puvanarajan
    Puvanarajan over 9 years
    @NasirKhan apple using two type of certificates. Development environment and production environment. So for the testing you can use development certificate. But Appstore you should use production certificate. :)