Highlighted

No longer able to submit app to iTunes.

Community Beginner ,
Sep 24, 2014

Copy link to clipboard

Copied

Today I am trying to submit a new version of an app to iTunes with the application loader but keeps coming up with the following error. The app was submitting fine last Friday. Any help or fixes will be much appreciated.

Package Summary:

1 package(s) were not uploaded because they had problems:

  /var/folders/cc/4b5fjzqn0_n34cll1wzkbk49jhjcnt/T/404743731.itmsp - Error Messages:

  ERROR ITMS-9000: "Invalid Segment Alignment. This app does not have proper segment alignment and should be rebuilt with the latest version of Xcode. Please contact Developer Technical Support if you need further assistance."

Correct answer by Pahup | Adobe Employee

It seems there have been changes in way Apple expects the apps to created. We investigated this deeper, and found that the output of our linker (in our toolchain) is no longer being accepted by Apple.

We are working on this to upgrade our toolchain, including the linker. For the time being,  we would suggest you to try using the ‘linker’ available on the system. We have done tests with a couple of apps and it seems to be fixing the problem. Please give it a try and see if it can unblock you. Please note that this workaround is applicable only for Mac platform.

Steps to make use of system linker -

cd <sdk>/lib/aot/bin/ld64

mv ld64 ld64_orig

ln –s /usr/bin/ld ld64

<Build the IPA now using Flash Pro, Flash Builder or on command line>

Before the submission, we recommend to test the application functionality as well. Please keep us posted with more information in this regard. It will help us fix our toolchain sooner and in a better way.

TOPICS
Air beta

Views

68.1K

Likes

Translate

Translate

Report

Report
This conversation has been locked.

No longer able to submit app to iTunes.

Community Beginner ,
Sep 24, 2014

Copy link to clipboard

Copied

Today I am trying to submit a new version of an app to iTunes with the application loader but keeps coming up with the following error. The app was submitting fine last Friday. Any help or fixes will be much appreciated.

Package Summary:

1 package(s) were not uploaded because they had problems:

  /var/folders/cc/4b5fjzqn0_n34cll1wzkbk49jhjcnt/T/404743731.itmsp - Error Messages:

  ERROR ITMS-9000: "Invalid Segment Alignment. This app does not have proper segment alignment and should be rebuilt with the latest version of Xcode. Please contact Developer Technical Support if you need further assistance."

Correct answer by Pahup | Adobe Employee

It seems there have been changes in way Apple expects the apps to created. We investigated this deeper, and found that the output of our linker (in our toolchain) is no longer being accepted by Apple.

We are working on this to upgrade our toolchain, including the linker. For the time being,  we would suggest you to try using the ‘linker’ available on the system. We have done tests with a couple of apps and it seems to be fixing the problem. Please give it a try and see if it can unblock you. Please note that this workaround is applicable only for Mac platform.

Steps to make use of system linker -

cd <sdk>/lib/aot/bin/ld64

mv ld64 ld64_orig

ln –s /usr/bin/ld ld64

<Build the IPA now using Flash Pro, Flash Builder or on command line>

Before the submission, we recommend to test the application functionality as well. Please keep us posted with more information in this regard. It will help us fix our toolchain sooner and in a better way.

TOPICS
Air beta

Views

68.1K

Likes

Translate

Translate

Report

Report
Sep 24, 2014 13
283 Replies 283
Community Beginner ,
Sep 24, 2014

Copy link to clipboard

Copied

We too are having this problem. We have tried everything we can think of.

Questions for Camx:

What version of xcode and what os are you running?

If anybody wants to discuss ping me @jfreeney on twitter.

Likes

Translate

Translate

Report

Report
Sep 24, 2014 0
Adobe Community Professional ,
Sep 24, 2014

Copy link to clipboard

Copied

Don't forget that AIR doesn't involve using Xcode, it just has to appear to be the right version of Xcode. Only if you're using the Simulator does it then matter which Xcode you have installed. I mean, just think of Windows users, they can build iOS apps, and certainly don't have Xcode installed.

But as I said, yesterday's AIR update, and the one from the 18th, are both set to appear to be Xcode 6.0.0, and iOS 8.0.

Likes

Translate

Translate

Report

Report
Sep 24, 2014 1
Adobe Community Professional ,
Sep 24, 2014

Copy link to clipboard

Copied

My client had this exact error today too, and I had used AIR 15.0.0.274. I've made a build with 15.0.0.289 for them to try using, but I'm not expecting it to make a difference. Both of those versions of AIR are set to appear to have used Xcode 6.0, which should count as being later than 5.1.1.

Perhaps Apple had a mistake in Xcode 6.0, and do now require either 5.1.1 or 6.0.1.

I have emailed Adobe for comments on this.

Likes

Translate

Translate

Report

Report
Sep 24, 2014 1
Community Beginner ,
Sep 24, 2014

Copy link to clipboard

Copied

Thanks for the info Colin. That confirms what we have tried also.

Likes

Translate

Translate

Report

Report
Sep 24, 2014 0
Community Beginner ,
Sep 24, 2014

Copy link to clipboard

Copied

I have tried the iOS 8 SDK and also tried the release of air version 15 and the latest beta version of 15.

I can't find anything on Google. An annoying bug because we need to push a new version of my app to fix some breaking changes in iOS 8.

Likes

Translate

Translate

Report

Report
Sep 24, 2014 0
Adobe Employee ,
Sep 24, 2014

Copy link to clipboard

Copied

Hi,

Thanks for reporting the issue. Could you please tell us how are you packaging the app, are you using Flash Pro/Flash Builder or command line? If was using Flash Pro or Builder, could you please tell us the packaging settings you used? Or Please share the exact ADT command used to package the application. Could you please share the xml/swf/assets with us?

Could you please try uploading a very simple HelloWorld application built with latest AIR 15 beta?

-Pahup

Adobe AIR Team

Likes

Translate

Translate

Report

Report
Sep 24, 2014 0
Community Beginner ,
Sep 24, 2014

Copy link to clipboard

Copied

We are using Flash Builder with the most recent beta AIR SDK (289) using the default fast compiler. This is an update to an existing application and the build settings have not changed. I can not share the project but I will try to upload a simple test application in the morning (EST).

Likes

Translate

Translate

Report

Report
Sep 24, 2014 0
Community Beginner ,
Sep 24, 2014

Copy link to clipboard

Copied

They will fix this one quick Camx. Thank you Colin for the reminder that xcode does not matter

Likes

Translate

Translate

Report

Report
Sep 24, 2014 0
Community Beginner ,
Sep 24, 2014

Copy link to clipboard

Copied

I'm using the export release build in flash builder 4.7 with the Air 15 build 289 sdk. You can find the ipa here if you want to have a look at it. http://www.tribalddb.co.nz/dev/flybuys/FlyBuys4.0.3.ipa

The build command used by flash builder is -

/usr/bin/java -d32 -jar /Applications/Adobe Flash Builder 4.7/eclipse/plugins/com.adobe.flash.compiler_4.7.0.349722/AIRSDK/lib/adt.jar -package -target ipa-app-store -hideAneLibSymbols no -provisioning-profile /Users/cameronc/Dev/AirApps/FlyBuys/fly0108-uat-my-fly-buys-3-1/certs/dis/Fly_Buys_App_Store_2014.mobileprovision -storetype pkcs12 -keystore /Users/cameronc/Dev/AirApps/FlyBuys/fly0108-uat-my-fly-buys-3-1/certs/dis/LoyaltyNZDistributionCertificates.p12 -storepass <Value cannot be displayed> MyFlyBuys.ipa MyFlyBuys-app.xml assets Default-568h@2x.png Default-Portrait.png Default-Portrait@2x.png Default.png Default@2x.png Icon114.png Icon120.png Icon128.png Icon144.png Icon152.png Icon29.png Icon36.png Icon48.png Icon512.png Icon57.png Icon72.png Icon76.png MyFlyBuys.swf -extdir /Users/cameronc/Documents/Adobe Flash Builder 4.7/.metadata/.plugins/com.adobe.flexbuilder.project.ui/ANEFiles/MyFlyBuys/com.adobe.flexide.multiplatform.ios.platform -platformsdk /Developer/Platforms/iPhoneOS8.sdk

Likes

Translate

Translate

Report

Report
Sep 24, 2014 0
Adobe Employee ,
Sep 24, 2014

Copy link to clipboard

Copied

Thank you for your reply, we're able to reproduce the problem. Looks like, something has changed from Apple side recently, we're investigating.

-Thanks

Pahup

Likes

Translate

Translate

Report

Report
Sep 24, 2014 5
Explorer ,
Sep 25, 2014

Copy link to clipboard

Copied

Hi all, I'm getting this issue as well this morning when submitted a new build of an app that I successfully submitted yesterday. When I revert the new change I still get the same error.

Look forward to hearing any news of a fix.

Likes

Translate

Translate

Report

Report
Sep 25, 2014 0