Skip to main content
Participant
September 25, 2014
Answered

No longer able to submit app to iTunes.

  • September 25, 2014
  • 56 replies
  • 89321 views

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 has been closed for replies.
Correct answer Pahup

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.

56 replies

Known Participant
September 25, 2014

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

SerjZvon
Participating Frequently
September 25, 2014

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?

Inspiring
September 25, 2014

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

I hope we get soon a solution.

Participant
September 25, 2014

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

StanGebala
Participant
September 25, 2014

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

Participating Frequently
September 25, 2014

Here also, trying to fix it

Participant
September 25, 2014

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

Jeff__Ward
Inspiring
September 25, 2014

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.

Inspiring
September 25, 2014

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

Inspiring
September 25, 2014

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?

Colin Holgate
Inspiring
September 25, 2014

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

Inspiring
September 25, 2014

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

Participant
September 25, 2014

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

Colin Holgate
Inspiring
September 25, 2014

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!

Participant
September 25, 2014

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

Steve

Participating Frequently
September 25, 2014

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 

Known Participant
September 25, 2014

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.

Known Participant
October 9, 2014

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.

Participating Frequently
September 25, 2014

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.

Participant
October 5, 2014

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