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??

Similar Messages

  • 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???

  • 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??

  • 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

  • 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

  • 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?

  • 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

  • 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

  • ITMS - 90209 Invalid Segment Alignment

    I've updated XCode and still get this same error. I've installed adobe air 17 beta and adobe air SDK too.
    Does anyone know how to get rid of this error?

    I keep getting this now too, using AIR 13, if I try and use 16 none of the embedded fonts work.... HELP!

  • Invalid Segment Alignment

    I'm trying to load an .ipa file (on mac using the application loader).
    After few minutes i get an error message say
    ERROR ITMS -9000 : "Invalid segment alignment".
    My .ipa file was created with flash builder 4.6,
    Flex sdk version 4.6 (build 23201)
    Air version 15.
    What do I have to do to fix this problem.
    Thanks,
    Gil

    Refer to this thread for details:
    No longer able to submit app to iTunes.

  • Invalid segment alignment (iOS)

    Hello Developers, I am trying to submit an app built with the latest version of AIR (15).  I got the following error message.
    ERROR ITMS-9000 Invalid Segment Alignment.  This app does not have proper segment alignment and should be rebuilt with the latest version of Xcode.
    Any help would be appreciated.
    Thank you,
    Justin

    Refer to this thread for details:
    No longer able to submit app to iTunes.

  • 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 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'

  • 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

  • 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

Maybe you are looking for