ERROR ITMS-9000: Invalid Code Signing
-
21-12-2019 - |
Question
For an Adobe AIR app (which is published since over a year in Apple App Store) I'm trying to submit an update using Application Loader, but get the following error:
ERROR ITMS-9000: "Invalid Code Signing. The executable 'Payload/XXX.app/XXX' must be signed with the certificate that is contained in the provisioning profile." at SoftwareAssets/SoftwareAsset (MZItmspSoftwareAssetPackage)
The app has been created with Flash Builder 4.7 and Apache Flex 4.11.0 and AIR 4.0:
The app compiles and runs at my test device (iPhone 5c) just fine.
Why is it rejected by the Application Loader?
It could be something minor, like a missing icon or splash image...
Of course I have tried the obvious several times and revoked/created new certifcates and created new distribution provisioning profiles for the App Store.
Below is the excerpt from my XXX-app.xml:
<autoOrients>true</autoOrients>
<fullScreen>true</fullScreen>
<visible>true</visible>
<softKeyboardBehavior>none</softKeyboardBehavior>
<icon>
<image16x16>assets/icons/icon-16x16.png</image16x16>
<image29x29>assets/icons/icon-29x29.png</image29x29>
<image32x32>assets/icons/icon-32x32.png</image32x32>
<image36x36>assets/icons/icon-36x36.png</image36x36>
<image48x48>assets/icons/icon-48x48.png</image48x48>
<image57x57>assets/icons/icon-57x57.png</image57x57>
<image72x72>assets/icons/icon-72x72.png</image72x72>
<image114x114>assets/icons/icon-114x114.png</image114x114>
<image128x128>assets/icons/icon-128x128.png</image128x128>
<image512x512>assets/icons/icon-512x512.png</image512x512>
<image50x50>assets/icons/icon-50x50.png</image50x50>
<image58x58>assets/icons/icon-58x58.png</image58x58>
<image76x76>assets/icons/icon-76x76.png</image76x76>
<image100x100>assets/icons/icon-100x100.png</image100x100>
<image120x120>assets/icons/icon-120x120.png</image120x120>
<image144x144>assets/icons/icon-144x144.png</image144x144>
<image152x152>assets/icons/icon-152x152.png</image152x152>
<image1024x1024>assets/icons/icon-1024x1024.png</image1024x1024>
</icon>
<iPhone>
<InfoAdditions><![CDATA[
<key>UIDeviceFamily</key>
<array>
<string>1</string>
<string>2</string>
</array>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>
]]></InfoAdditions>
<requestedDisplayResolution>high</requestedDisplayResolution>
</iPhone>
<extensions>
<extensionID>com.adobe.Vibration</extensionID>
<extensionID>com.adobe.ane.gameCenter</extensionID>
</extensions>
</application>
The splash images included in the .ipa file are:
Default-568h@2x.png
Default-Landscape.png
Default-Landscape@2x.png
Default-Portrait.png
Default-Portrait@2x.png
Default.png
Default@2x.png
Solution
You need you use the AIR 4.0 beta (selectable form the installer AIR menu).
One of the fixed issues is: Bug 3686074: [APPLE][XCODE5] New apps and app updates submitted to the App Store must be built with the latest version of Xcode 5 from Feb1