ITMS-9000 error: Signature missing or invalid. AFTER upgrading from OS X 10.8 to 10.9

We have an auto build system running on OSX 10.8 (Mac Mini - Xcode 5.1.1) until we upgrade to 10.9 (Mac Pro - Xcode 5.1.1).

After upgrading to OSX 10.9, we started getting the following error when trying to load our IPA through Application Loader:

ERROR ITMS-9000: "Missing or invalid signature. The bundle '" at bundle path "Payload/" is not signed using an Apple submission certificate."


The following statements run after Unity has built the Xcode project.

xcodebuild -target "Unity-iPhone" -sdk "iphoneos" -configuration Release CODE_SIGN_IDENTITY="iPhone Distribution: Company Name, Inc. (DDXX7YXXXX)" PROVISIONING_PROFILE=d5e4xxxx-xxxx-xxxx-xxxx-5fef0dbe3e50;

/usr/bin/xcrun -sdk iphoneos PackageApplication -v "$IOS_RELEASE_SAVE_PATH/build/" -o "IOS_IPA_PATH/bundle_RELEASE.ipa" --sign "Company Name, Inc. (DDXX7YXXXX)" --embed "/Users/Shared/Jenkins/Library/MobileDevice/Provisioning Profiles/d5e4xxxx-xxxx-xxxx-xxxx-5fef0dbe3e50.mobileprovision";


As a side note, our ADHOC assemblies are signed using the same certificate, only in a different position, and work fine.

I double checked the following points:

  • Project and Provision package IDs. (Case sensitivity and potential character replacements.)
  • Certificates and regulations have been updated.
  • Distribution certificates are marked TRUST for all users.

I also created an IPA manually and tried to submit, but it ended up with the same error.

Other options I've tried:

  • Adding "-deep" to "Other Code Signing Flags" in both Project and Targetets.
  • Adding a codesign

    script to Build Phases

    (Code Signing and Mavircks:

Any help would be greatly appreciated.

Edit: Added. Distribution certificates are marked TRUST for all users and platform / Xcode versions.


source to share

1 answer

It took a long time but I ran into this problem again when upgrading from OSX 10.9 Mavericks and Xcode 5.1.1 to OSX 10.10 and Xcode 6.1.1.

Solution (similar to TWilly's comment):

NOTE: BACKUP.p12 keys and certificates as needed!

  • Reset Keychain to System Defaults and clear all Provision profiles from the iPhone Configuration Utility.
  • Extract the .p12 key and Provision from Portal Developer.
  • Apply publishing and development certificates to SYSTEM (do not login).
  • Trying to create from command line.

Also, building from CL on OSX 10.10 and XCODE6 may result in an error: "ResourceRules.plist: cannot read resources"

See this link for solutions .



All Articles