Skip to main content
Camx
Participant
Sep 25, 2014 4:37 AM UTC
Answered

No longer able to submit app to iTunes.

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."

This topic is closed to new replies. Start a new post to keep the conversation going.
Pahup
PahupCorrect answer
Adobe Employee
Sep 25, 2014 11:37 AM UTC

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.

283 replies

Known Participant
Sep 25, 2014 9:24 PM UTC

Hey fellow Air-heads -

I too would love this Id file - kingbaggot[at]gmail  - although that said if it's mac only I'd better wait for a pc-orientated fix. I am baffled by both the problem AND the solution on this one.

Feels like this submit-error-fest is becoming a bi-annual event.

anyway, good to see everyone hanging in there x

-Jerry

Translate
SerjZvon
Participating Frequently
Sep 25, 2014 9:10 PM UTC

Hey guys!

Could you please send working ld file to me - SerjZvon[at]yandex.ru. Big thanks in advance!

And maybe there is some info about new official release of the beta AIR SDK in connection with the new Apple changes. Whether to wait for release of it or better (in time) to compile manually?

Translate
Inspiring
Sep 25, 2014 6:57 PM UTC

Same issue with an app packaged with Flash cc 2014 AIR 15.0.0.274.

I hope we get soon a solution.

Translate
Participant
Sep 25, 2014 5:44 PM UTC

Hi Guys,

I've managed to compile on the command line on my Mac (I usually use Windows) following the steps above. I am no longer getting "Invalid Segment Alignment...", but now I am getting "Invalid Bundle. The bundle MyApp.app does not support the minimum OS Version specified in the Info.plist"

I'm guessing that this is because I had and old version of x-code installed (3.2), so the /usr/bin/ld was out of date. I've since updated x-code to v6.0, but the /usr/bin/ld file is still old. If someone were to send me a copy of the "ld" file (martinburke.dev at gmail.com) ;-) , could I just replace my old one and it would work?

Or is there a more up to date "ld" file somewhere on my Mac since installing x-code 6? I can't find it anywhere.

Any help is much appreciated.

Thanks,

Martin

Translate
StanGebala
Participant
Sep 25, 2014 4:55 PM UTC

Any luck with getting ld64.exe replacement for Windows users?

Translate
Participating Frequently
Sep 25, 2014 5:16 PM UTC

Here also, trying to fix it

Translate
Participant
Sep 25, 2014 3:06 PM UTC

I'm having the same problem. Any estimate on a timeframe of when it will be resolved?

Translate
Jeff__Ward
Inspiring
Sep 25, 2014 3:42 PM UTC

Hi @ljb2411 - Pahup has posted a workaround above (for OSX users, using the

system linker), and said they're working on the toolchain fix.

Thanks, Pahup and team!

My app is in the queue (submitted last Thursday before this became a

requirement), so I'm likely to be rejected. I'll post back with an update.

Translate
Inspiring
Sep 25, 2014 3:49 PM UTC

BTW guys, I had fun finding the Xcode  ld file...for me it's in this location:

/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin

Translate
Inspiring
Sep 25, 2014 2:21 PM UTC

We're seeing this now too.

The really annoying thing is that we submitted the app 3 days ago, got accepted for an expedited review and then during the review they updated their requirements and rejected the binary!

Now we can't even upload a binary due to this error.

Last week we had an app accepted using the exact same Air SDK etc....

This is SO frustrating...as you can imagine even more so with a client being told they have an expedited review and then this with no clue how to fix it.

Hmmmmm will keep an eye here but I suspect we need a new release of Air SDK?

Translate
Colin Holgate
Inspiring
Sep 25, 2014 2:25 PM UTC

Dave, read all of this thread, especially Pahup's work around, and my additional notes.

Translate
Inspiring
Sep 25, 2014 2:30 PM UTC

Thanks Colin...sorry, not sure how I missed that specific reply! Thank you all.

Translate
Participant
Sep 25, 2014 2:05 PM UTC

I'm having the same problem, I'm using Flash CC 2014, AIR 15.0.0.289 and Application Loader version 3.0 (620) - X-code version 6.0.1 (6A317).

Please can you give more details about the workaround? I dont know how to modify the linker, or even where to look.

Thanks Steve

Translate
Colin Holgate
Inspiring
Sep 25, 2014 2:22 PM UTC

Steve, I'll know later if my approach worked ok. If it did then it would be possible to do the work around just in the Finder, without involving Terminal.

Whether you do this in Terminal, or Finder, you'll need to track down where the files are located. If you downloaded the AIR SDK and left it in your Downloads folder, the original ld64 file will be here:

/Users/steve/Downloads/air15_sdk_mac/lib/aot/bin/ld64

So, in the command line instruction above your first line would be:

cd /Users/steve/Downloads/air15_sdk_mac/lib/aot/bin/ld64

Assuming you are "steve" as a user name!

Translate
Participant
Sep 25, 2014 2:30 PM UTC

Thank you for your reply Colin, I'll give that a go

Steve

Translate
Participating Frequently
Sep 25, 2014 11:40 AM UTC

I m having the same issue , and i m using Flash Professional CC and the latest SDK , i'm using an ANE everything is working perfectly in My device and any other device also on IOS Simulator . and today i got that error when i submited my IPA .

We have a serious problem and the client is waiting for long time the app to be on the Store 

Translate
Known Participant
Sep 25, 2014 12:10 PM UTC

Hi 

The same problem has also occurred me.

Withdrawal your own app, I was up again.

Could it be that might be the difference in the display version and build version.

Ver2.0.0(2.0.0) -->Ver2.0.0(2.0.1)  

I feel like can only Xcode to this(build version).

I have changed the info.plist in Xcode5 of MAC.

Then, sign and was up in ApplicationLoader but it's the same.

Translate
Known Participant
Oct 9, 2014 3:33 AM UTC

There was a problem can be resolved in an environment of 15.0.0.302 + FlashCS6 (Winodws7) AIR.

Thank you everyone.

The direction of users of CS6, in addition to the body XML and the PNG of iOS7 icon, please sure you have read-only XML files.

Translate
Participating Frequently
Sep 25, 2014 11:35 AM UTC

I just got the same problem.

Yesterday it was working fine.

But I got this problem after regenerating the certificate and provisioning profile. I did that because apple has introduced new "TestFlight" system for beta testing. And as a solution they are asking developers to regenerate the certificate and provisioning profile to include "TestFlight" entitlement in the package.

After using the new certificate with new profile, I got this error.

I am also waiting for the solution to this problem as soon as possible.

Translate
Participant
Oct 5, 2014 8:04 AM UTC

If you're looking for a solution to the TestFlight "Beta Entitlement" issue, please refer to this blog post:

http://www.flashdeveloper.co/post/99200413877/enabling-testflight-testing-in-itunes-connect-for-adobe

Translate