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

Jojodmo picture Jojodmo · Sep 24, 2013 · Viewed 18.8k times · Source

When I try to upload an application to iTunes Connect using application loader, I get these errors:

Apple's web service operation was not successful

Unable to authenticate the package: (app id).itmsp

ERROR ITMS-9000: "Invalid Code Signing Entitlements. Your application bundle's signature contains code signing entitlements that are not supported on iOS. Specifically, value 'development' for key 'aps-environment' in 'Payload/brainademy.app/brainademy' is not supported." at SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage)

This has been happening for about 36 hours, and Apple support tells me to try again in 30 minutes (which obviously doesn't work).

I'm using the latest versions of both Xcode and application loader, I'm building using a physical iPhone, and I have the archive set to release. When I click Activity... Everything works fine, and then I see:

ERROR ITMS-9000: "Invalid Code Signing Entitlement...

Then everything works fine again, until I see

An error occurred talking to the iTunes Store

Answer

Anton Gaenko picture Anton Gaenko · Oct 18, 2014

I got one because my XCode loves to play a joke on me with Code Signing Identity section in Build Settings. For Release it should be iOS Distribution, not iOS Developer. Sometimes it resets.

enter image description here