Solution to ERROR ITMS-9000: "Invalid Code Signing."

I am using FlexSDK 4.13 and AIR SDK 15.0.302. I installed the FlexSDK and AIR SDK with the Apache Flex installation binary on a Windows Vista 64-bit machine.
I can build and run an ad-hoc version of my iOS app on an iPhone 4 (iOS 8.0.2) and iPad 2 (iOS 8.1). When I build a release version for the iTunes App Store, and submit it with the Xcode Application Loader. I get the error.
ERROR ITMS-9000: "Invalid Code Signing. The executable, Payload/YourApp.app/YourApp, must be signed with the certificate that is contained in the provisioning profile."
I'm using a Mac to submit my app. It is running OS X 10.10 Yosemite and Xcode version 6.1. The Application Loader is version 3.0.
I suspect that the adt command no longer creates a payload with the correct entitlements. This post illustrates how I resigned my app so that the iTunes App Store would accept it.
First, I copied my IPA file to my iMac. Then I changed directories to the location of my IPA file.
Open a text editor and create a file with the name, entitlements.plist.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>application-identifier</key>
<string>XAXAXAXAXA.com.yourapp.yourappmobile</string>
<key>get-task-allow</key>
<false/>
<key>keychain-access-groups</key>
<array>
<string>XAXAXAXAXA.com.yourapp.yourappmobile</string>
</array>
</dict>
</plist>
Save this file.
Start a terminal session. Then type in the following commands.
unzip YourApp-app-store.ipa
cp ~/Downloads/YourApp.mobileprovision Payload/YourApp.app/embedded.mobileprovision
codesign -f -s "iPhone Distribution: YOUR COMPANY NAME (XAXAXAXAXA)" --entitlements Payload/YourApp.app/entitlements.plist Payload/YourApp.app
zip -qry YourApp-resigned.ipa Payload/
Note that codesign uses the full key name of your code signing certificate.
Now you can submit YourApp-resigned.ipa to the iTunes App Store.
I've seen some people have success with the iReSign App, which you can find at the following URL. I prefer the command line.
https://github.com/maciekish/iReSign

but APP Builder ask me two time the mobileproviosn... one in the last step to build the app and than to sign it to download! i put the same mobileprovision file but it generate the error!!
I read the DPS guide step by step and it write:
“The distribuition mobile provisioning file information will be entered automatically for you”
but is not true.... where i can found that file?? i don't understand sorry..
Thanks a lot
Tkart

Similar Messages

  • What does this mean and how do I fix it? Error ITMS-9000 "Invalid Code Signing The executable ´viwer.app/ viewer´ must be signed with the certificate that is contained in the provisioning profile"

    What does this mean and how do I fix it? Error ITMS-9000 "Invalid Code Signing The executable ´viwer.app/ viewer´ must be signed with the certificate that is contained in the provisioning profile"

    If you had Firefox save your Yahoo password, first try deleting that here:
    orange Firefox button ''or'' classic Tools menu > Options > Security > "Saved Passwords"
    The "signed out" message seems to be related to how Yahoo authenticates you. Some users have reported that disabling automatic proxy detection solves the problem, and it also resolves an issue of getting logged out every few minutes, if you have ever experienced that.
    To make the change:
    orange Firefox button ''or'' classic Tools menu > Options > Advanced
    On the "Network" mini-tab, click the "Settings" button, then choose "No Proxy" and OK your way back out.
    If your work connection requires you to use a proxy server, try the "Use system settings" option instead.
    Does that help?

  • Error itms-9000 invalid code signing viewer.app/viewer

    Salve sto provando a generare la mia prima app con dps (adobe CC), credo di aver seguito correttamente l'intera procedura, tuttavia nel momento in cui tento con l'app Loader di sottomettere ad Apple l'app generata, ricevo questo messaggio come feedback.
    Cosa sbaglio? Come si risolve?
    Grazie

    but APP Builder ask me two time the mobileproviosn... one in the last step to build the app and than to sign it to download! i put the same mobileprovision file but it generate the error!!
    I read the DPS guide step by step and it write:
    “The distribuition mobile provisioning file information will be entered automatically for you”
    but is not true.... where i can found that file?? i don't understand sorry..
    Thanks a lot
    Tkart

  • ERROR IMS-9000: Invalid code signing viewer.app/viewer

    Hi Mark
    I found 4 items of error on uplaod app.
    1. Apple's web service operaation was not successful
    2. Unable to authenticate the package:875829473.itmsp
    3. Error ITMS-9000:"Invalid code signing: The exutable " viewer.app/viewer
    4. Could not start delivery: all tranports failed diagonostic
    5. Warning ITM-9000 versiion mismatch Neither CFBundler version 30.2.0.12.95964 nor ...
    Pls.advise me.
    Thank you.
    Supawan Lee

    I think we're missing the full error in point 3 but it looks very similar to this thread: 'Re: error itms-9000 invalid code signing viewer.app/viewer'

  • ERROR ITMS-9000: Missing Code Signing Entitlements when adding app to Apple App Store

    My client is getting the following error when sending my app (compiled in Flash Pro CC 2014 with AIR SDK 15.0.0.356) to the Apple app store:
    ERROR ITMS-9000: "Missing Code Signing Entitlements. No entitlements found in bundle
    'com.xxxxxx.xx.xxx' for excutable 'payload/xxxxx.app./xxxx'.""
    He is saying that I need to send them the entitlements file.
    I can't find out any information about this with regards to Adobe Air compiled iOS apps, apart from this old post:
    Adding iOS entitlements to AIR apps
    which states that 'the packager configures the entitlements file '
    Can anyone explain what might be missing here?
    Thanks,
    Alan.

    It looks as if this problem is solved by doing step 2 from here:
    http://dev.mlsdigital.net/posts/how-to-resign-an-ios-app-from-external-developers/
    It basically states that the client needs to produce the entitlements file and lists the following that the client will provide themselves:
    A “Mobile Provisioning Profile”
    An “Entitlements.plist”
    An “iOS Distribution Certificate”
    iReSign OS X app (or you could use command line)
    Hope this helps someone. We've run into quite a few problems trying to get the Flash Air compiled App to both enterprise and Apple Store as it can't come from us (the developers) it has to be signed and delivered from the client.

  • Solution to ERROR ITMS-9000: "Invalid Segment Alignment."

    I was using Flex 4.13 SDK and AIR 14 SDK. When I build a release version of my iOS app for the iTunes App Store, I received the following error.
    ERROR ITMS-9000: "Invalid Segment Alignment. This app does not have proper segment alignment and should be rebuild with the latest version of Xcode. Please contact Developer Technical Support if you need further assistance."
    To resolve this problem I had to install the Apache Flex SDK with Flex SDK 4.13 and AIR SDK 15.0.302. I installed the FlexSDK and AIR SDK with the Apache Flex installation binary.
    For many of you, this should be enough to rebuild and run your application. However, after I built an ad-hoc version of my iOS app, and transferred it to my iPhone 4 (iOS 8.0.2) and iPad 2 (iOS 8.1), the app crashed immediately after launch.
    If I rebuilt my App in debug mode (-debug-interpreter), it ran correctly.
    However, I found a reference on an Adobe message board to a command line parameter, useLegacyAOT, which indicated that the poster had some success with this command line option after his app crashed.
    I added the option, -useLegacyAOT yes to the build environment.
    This option tells the compiler to disable fast packaging. However, the new linker in AIR 15.0.302 still aligns segments correctly.
    Don't do this unless you have to. But this seemed to work for me, and I was able to submit my iOS App to the iTunes App Store.

    I'm about send application built by Adobe Flash CS6 with AIR SDK 15 for iOS but got error too:
    Error ITMS-9000: "Invalid Bundle. The bundle at 'XX.app' does not contain a bundle executable
    anyone know how solve this issue??

  • Error ITMS-9000: Invalid Segment Alignment

    Hello everyone,
    This is my first time submitting an app to the app store.  I've done ad-hoc distribution before, but my client needs this app on close to a thousand of their iPads, and they have corporate offices everywhere, so B2B is the way I have to go.
    Everything is built and tested and works fine. Certificates and Provisioning Profiles are all fine. I am at the last possible step and when I go to submit the .ipa file in Application Loader 3.0, I can't shake this message...
    ERROR ITMS-9000: "Invalid Segment Alignment. This app does not have the proper segment alignment and should be rebuilt with the latest version of Xcode. Please contact Developer Technical Support if you need further assistance."
    Here's the details...
    The app was built in Adobe Flash CC 2014 using AIR for IOS 14.0. I used my PC for the actual building/publishing of the app and then transferred the .ipa file to my Macbook when I tested it and everything was finalized by the client.  Application loader will not let me deliver the app to iTunes connect for submission.  I keep getting this error.
    I've tried everything I can think of.  I've installed Flash CC on my Macbook and tried publishing again.  All the Certificates and Provisioning Profiles were made and downloaded on the Macbook.  I've tried submitting .ipas that were published in AIR for IOS 14.0 and 13.0.  I've tried uninstalling xCode 6 and Application Loader 3 and using older versions.  So far, nothing has worked.
    Has this happened to anyone else?  I'm really in a jam here.  My client needs their app and I can't fix this last issue.  It's very difficult because Adobe Customer Support says that the problem is Apple's Application Loader since the app works fine and distributes without problem ad-hoc.  Apple Customer Support says they can't help either, since the app was built in a 3rd party software and not in xCode.  If anyone can point me in the right direction, that would be amazing.
    Thanks,
    Lee

    There's a huge issue with this on Adobe's developer forums.
    This issue is happening to people everywhere, and it's only been happening for about 20 days or so.  Before that Flash CC apps uploaded fine.
    There is a successful workaround to the problem that a couple of guys came up with, but it's all terminal coding kind of stuff, and that's miles beyond my comprehension.  That kind of coding is way past me, which is why I built it using Flash to begin with, because Action Script is simple.  It would take me longer to figure out the work around that it did for me to build the app itself. lol
    Any other ideas???

  • ERROR ITMS-9000: Invalid Bundle.

    Hi,
    I tried to upload my app to IOS store, but this message comes up each time 'ERROR ITMS-9000: Invalid Bundle.'
    I used
    - AIR 15.0.0.289 beta from adobe lab
    - Xcode 6
    - Application loader 3
    - I built  new certificate and provisioning
    what should I do to solve this problem.

    All,
    If you are you looking to get the patched Windows AIR SDK and facing the download error (509), try this link: https://t.co/C5G23nMPnq
    And what you have to do is copy the /lib/aot/bin/ld64 folder from that version to the same folder on your current AIR build. Doing that, and also adding <key>MinimumOSVersion</key> <string>6.0</string> to your <InfoAdditions> in your XML
    Thanks to @oliver_joyce

  • IOSApp rejected: Error ITMS-9000 Invalid segment alignment

    I am getting an error while trying to release the application for Apple App Store.
    Error ITMS-9000 Invalid segment alignment
    Following the process flow  mentioned on the link below:
    http://www.raywenderlich.com/8045/how-to-submit-your-app-to-apple-from-no-account-to-app-s tore-part-2
    I am stuck with this for quite sometime now, any help would be greatly appreciated.
    The SDKs and the framework details are as follows:
    Flex SDK 4.12.0
    Apple IOS 8
    Adobe AIR 16

    I'm about send application built by Adobe Flash CS6 with AIR SDK 15 for iOS but got error too:
    Error ITMS-9000: "Invalid Bundle. The bundle at 'XX.app' does not contain a bundle executable
    anyone know how solve this issue??

  • ITMS - 90179 Invalid Code Signing / ITMS - 90209 Invalid Segment Alignment

    I've been getting these two errors no matter what I try. I've deleted all my profiles and certificates, remade them and even remade the App ID multiple times and nothing happened and still the same error. I've updated XCode too and still the same errors.
    I used a Wildcard App to create my .ipa file in Flash Pro CC selecting the Apple App Store and tried to publish it through application loader.
    Is there any solution to these two problems? Thanks.

    This is mine, I did try deleting my xml file before, but didn't work out.
    <?xml version="1.0" encoding="UTF-8"?>
    <!-- Usage: To localize the description, use the following format for the description element. <description> <text xml:lang="en">English App description goes here</text> <text xml:lang="fr">French App description goes here</text> <text xml:lang="ja">Japanese App description goes here</text> </description> To localize the name, use the following format for the name element. <name> <text xml:lang="en">English App name goes here</text> <text xml:lang="fr">French App name goes here</text> <text xml:lang="ja">Japanese App name goes here</text> </name> -->
    -<application xmlns="http://ns.adobe.com/air/application/14.0">
    <id>com.jana.meteorapp</id>
    <versionNumber>1.0</versionNumber>
    <filename>UFO</filename>
    <description/>
    <name>UFO</name>
    <copyright/>
    -<initialWindow>
    <content>UFO.swf</content>
    <systemChrome>standard</systemChrome>
    <transparent>false</transparent>
    <visible>true</visible>
    <fullScreen>true</fullScreen>
    <aspectRatio>portrait</aspectRatio>
    <renderMode>auto</renderMode>
    <autoOrients>true</autoOrients>
    </initialWindow>
    -<icon>
    <image57x57>AppIconsForPublish/a57.png</image57x57>
    <image72x72>AppIconsForPublish/a72.png</image72x72>
    <image114x114>AppIconsForPublish/a114.png</image114x114>
    </icon>
    <customUpdateUI>false</customUpdateUI>
    <allowBrowserInvocation>false</allowBrowserInvocation>
    -<iPhone>
    -<InfoAdditions>
    <![CDATA[ <key>UIDeviceFamily</key> <array> <string>1</string> </array> ]]>
    </InfoAdditions>
    <requestedDisplayResolution>high</requestedDisplayResolution>
    </iPhone>
    <supportedLanguages>en</supportedLanguages>
    </application>
    <?xml

  • App upload: ERROR ITMS-9000

    Hello world -
    I'm attempting to upload a DPS app to iTunes; it was built in Adobe App Builder. Upon upload, I'm getting the following error:
    ERROR ITMS-9000: "Invalid Code Signing Entitlements. The signature for your app bundle contains entitlement values that are not supported. For the 'com.apple.developer.ubiquity-container-identifiers' entitlement, the values in the array must start with the prefix provided by Apple in the provisioning profile, followed by characters that are uppercase or lowercase Roman letters [A-Z, a-z], the digits 0 through 9, dot ['.'], or hyphen ['-'], and not contain any wildcard characters. Specifically, value '7R584CUE64.*' for the key 'com.apple.developer.ubiquity-container-identifiers' in 'viewer.app/viewer' is not supported."
    I actually get a variant of the same error, as well - just swap out the entitlement chain for "com.apple.developer.ubiquity-kvstore-identifier".
    I can't find an asterisk on that value it's referencing anywhere. Can y'all lend a hand?
    Thanks.

    If anyone else has this same issue, try this fix. Just worked for me:
    http://stackoverflow.com/questions/7656318/contains-entitlement-values-that-are-not-suppor ted

  • Application Loader : Error ITMS-9000. Invalid Bundle

    I have created an app with Adobe DPS. I tried to submit it  with the Application Loader. I got "error ITMS-9000 "invalid Bundle.The bundle viewer.app does not support the minimum OS Version specified in the Info.plist."
    Also an exclamation mark with "The app references non-public selectors in viewer.app/viewer: consume:
    and
    WARNING ITMS-9000: "The executable 'viewer.app' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information refer to Technical Q&A QA1788 - Building a Position Independent Executable in the iOS Developer Library."
    Does anyone know how to deal with this?

    This is an error with Apple's submission verification and you will need to open a developer support request with them. See Re: "Invalid Bundle." "...viewer.app does not support the minimum OS version specified in the Info.plist" for more details.
    Neil

  • ERROR ITMS-9000: "This bundle is invalid. The value for key CFBundleVersion...

    Hi
    I've tried to submit to the AppStore my new revision V27 (1.0.5) instead of V28 (1.0.2) for Ipad 1 compatibility but i get this error :
    ERROR ITMS-9000: "This bundle is invalid. The value for key CFBundleVersion [3.2.4.6.88575] in the Info.plist file must contain a higher version than that of the previously uploaded version [3.3.1.3.8
    How could i change the CFBundleVersion ????
    Thanks

    DPS gold support can help you. Please login to your DPS dashboard https://digitalpublishing.acrobat.com/SignIn.html and you'll find the contact information on the bottom of the page

  • ERROR ITMS-9000:"This bundle is invalid. New apps and app updates submitted to the App Store must be built with public (GM) versions of Xcode 5.1.1

    I submitted my IPA file to Itunes Connect using Application Loader and got the error message below. I have AIR SDK 13.0.0.111 and using Flash Builder 4.6.
    Please help. Thank you in advance.
    ERROR ITMS-9000: "This bundle is invalid. New apps and app updates submitted to the App Store must be built with public (GM) versions of Xcode 5.1.1 or higher and IOS 7 SDK. Do not submit apps built with beta software." ...

    Hi!
    I'm also using Air SDK 15 and I'm getting  Invalid Bundle Error:
    Adobe Air iOS Invalid Bundle
    The bundle does not support the minimum version os specified in info.plisthttp://stackoverflow.com/questions/26047837/adobe-air-ios-invalid-bundle-the-bundle-does-n ot-support-the-minimum-version-os
    Really need help
    Michael

  • ERROR ITMS-9000: "META-INF/container.xml must contain one and only one root file reference."

    Hi all,
    After correcting a table-of-contents error in my .epub file, I am unable to upload it via iTunes Producer. It lists this error message:
    ERROR ITMS-9000: "META-INF/container.xml in 9780615431727.epub must contain one and only one root file reference." at Book (MZItmspBookPackage)
    The file has been verified and only has one root file reference in the container.xml file.
    Has anyone been able to find a solution to this problem?
    Thanks!

    Hello Forum Users…
    For those of you who have run into the upload roadblock, getting an error message similar to this:
    Package Summary:
    1 package(s) were not uploaded because they had problems:
              /Users/slm/Desktop/MUSIC to PICTURE for IBOOK/2012 MTP for iTUNES Bookstore/9780615600918.itmsp - Error Messages:
                        Apple's web service operation was not successful
                        Unable to authenticate the package: 9780615600918.itmsp
                        ERROR ITMS-9000: "OPS/ibooks.ncx(5): 'p50': fragment identifier is not defined in 'OPS/content9.xhtml'" at Book (MZItmspBookPackage)
    Following is a "specific" fix, but the idea of the fix will help you with your specifics too.
    I tried for 17 days to upload a book that looked and worked perfectly in iPAD via Preview.
    After many discussions with Apple, who to their credit stayed with me over 2-3 days, I decided to play a hunch.
    I went into a duplicated copy of the book and on every page, (because the error message was not telling the whole story), looked for what InDesign would call "Overset Text."
    Now... the "flaw" in iBOOK Author (hint) is that it won't advise you of this "overset text" as does InDesign.
    And to compound the matter, the exported ePUB document WORKS in iPAD Preview.
    See Screenshots from InDesign:
      Okay... Couldn't add it but it is a Warning Box that says there is overset text. (Characters which exceed the text box.)
    Nevertheless, I played this hunch, and sure enough found a few boxes with the + in them.  In other words I clicked on EVERY text holder and every text block in the entire document.
    Where I found + signs, I simply deleted some carriage returns from the iBOOK file... (please note… carriage returns and literally empty spaces that caused the overset text) and then erased all previous copies of the Music to Picture Book on my hard drive,  iTUNES and iPAD.
    The result?  A "text-book" upload with no snags!  As my Son would say… "Victory!"
    So, first make sure that you are using only PNGs, Jpegs and Movie files to iBook Specs.  Then... make sure there are no overset text boxes, which you must do manually.
    Enjoy & Godspeed!
    Steve
    Stephen Melillo, Composer
    STORMWORKS®
    209 Spinnaker Run
    Smithfield, VA 23430-5623
    USA
    v/f 757-356-1928
    stormworld.com
    “History is a vast early warning system.” Norman Cousins, editor and author (1915-1990)
    "This will be our reply to violence: to make music more intensely, more beautifully, more devotedly than ever before." Leonard Bernstein
    “If you have a chance to help someone, and you don’t, you are wasting your time on this earth.”  Roberto Clemente

Maybe you are looking for

  • How can I transmit video from my Imac to my TV?

    How can I connect my Imac to my television to view movies downloaded on the net?  The back of the Imac does not have the small port that is on my MacBook to attach the adapter.

  • How do i get my pictures from laptop to icloud

    Hi i hope you can help. I have been trying to find out how i get my pictures from my none Apple laptop onto iTunes or iCloud so i can view them using my iPad. We hardly use the laptop so seems pointless having all our pictures on it. I hope you can t

  • Customisin Look and Feel

    I am still in the process of "finding my feet" when it comes to programming with Java, and as a result need a little guidance. Could anyone please tell me of a good place to find information that offers tutorials or good explanations of how to custom

  • Adding an add on

    I CAN NOT GET THE ADD ON FOR IMIKIMI.COM TO WORK IN FIREFOX, IT WORKS FINE IN INTERNET EXPLORER. IT SEEMS THAT FIREFOX IS GETTING TO BE NOT SO GOOD OF A BROWSER. I HAD TROUBLE WITH IT ON MY LAPTOP AND NOW AM HAVING THIS ISSUE ON MY NEW COMPUTER, IT I

  • CS4 Freezes when other video (flash/wmv) is played

    I was doing a CS4 tutorial on Lynda.com and couldn't figure out why Premiere kept freezing on every command I did. Then I realized it worked perfectly as long as I wasn't playing the flash video for the tutorial. So I switched from the flash video to