• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
Locked
13

No longer able to submit app to iTunes.

Community Beginner ,
Sep 24, 2014 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."

TOPICS
Air beta

Views

77.6K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Employee , Sep 25, 2014 Sep 25, 2014

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

...

Votes

Translate

Translate
replies 283 Replies 283
Engaged ,
Sep 30, 2014 Sep 30, 2014

Copy link to clipboard

Copied

Thx Pahup

But I was talking about the ios app submission issue.

Marc-Henri

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 30, 2014 Sep 30, 2014

Copy link to clipboard

Copied

yes, that should be available soon in Oct, I can't share the exact dates.

-Pahup

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Sep 29, 2014 Sep 29, 2014

Copy link to clipboard

Copied

Ok. Got it to work by replacing the ld64 thing in the sdk .289 folder. Uploaded to iTunesConnect and submitted for review.

Thanks for posting those files.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 29, 2014 Sep 29, 2014

Copy link to clipboard

Copied

little fat girl, I just fell in love with you! You are my savior !

I downloaded latest AIR SDK 15.0.0.289 beta from this page Download Adobe AIR 15 Beta - Adobe Labs and replaced ld64 file from archive uploaded by Pahub. And it so simply solved all problems. It's been so many days, and has been tried so many ways...and only this one...

Thank you again!

P.S. Apple also have updated their Application Loader (ver.3)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Sep 29, 2014 Sep 29, 2014

Copy link to clipboard

Copied

Thanks for the new updated SDK, Pahup!

I have one problem, though:


If it now sets MinimumOSVersion to 6.1 now my app won't be available to iPad 1 users, who can't upgrade to iOS 6, and I know for a fact that I have lots of iPad 1 users. Is there any problem if I set the version back to 4.3 in the <InfoAdditions>...</InfoAdditions> section like this?

<key>MinimumOSVersion</key><string>4.3</string>

The workaround that Pahup suggested using before the patched SDK was published (creating a symbolic link with ln –s /usr/bin/ld ld64) worked for me but now my published app does a weird thing when launching. It doesn't show the splash screen properly. The splash actually appears while zooming into the app but then it suddenly disappears and a black screen can be seen for 2 to 3 seconds. Then my app finally starts. That black screen looks ugly! (looks as if my app had crashed or something, until the app finally starts). Why is that happening?

Anyway, I was hoping to fix that black screen problem by using the new patched SDK, but now I have the problem of the "MinimumOSVersion". Why was that changed in this SDK?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Sep 30, 2014 Sep 30, 2014

Copy link to clipboard

Copied

Hello, Pahup,

I downloaded the fix for windows you posted on page 3 of this thread. However I have some problem using it, hopefully you or others here can help me out.

I use FlashDevelop to develop my app. I extracted the fix and copied all files and directories into my existing flex/air merged sdk directory and overwrote everything, then I pointed FD to use the new SDK. FD recognized the new SDK is AIR version 15.0. Then I modified the following line in my application.xml file, from,

<application xmlns="http://ns.adobe.com/air/application/14.0">

to

<application xmlns="http://ns.adobe.com/air/application/15.0">

When I tried to test the project, it says,

invalid application descriptor: Unknown namespace: http://ns.adobe.com/air/application/15.0

I guess this maybe a problem with FD and how to tell FD that I have version 15.0 of the AIR SDK now. I posted my question about that on FD forum here. But if you or anyone knows what I am missing, could you please advise? Thank you.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 01, 2014 Oct 01, 2014

Copy link to clipboard

Copied

Just to report my experience with the fix (windows version) Pahup posted on page 3 of this thread. I am using some ANEs and I got the following error message when trying to package the app. I haven't figured out which particular ANE is causing the problem yet. But all the ANEs are kind of important for me so I am out of luck at this moment...

Undefined symbols for architecture armv7:

  "___divmodsi4", referenced from:

      __ZN12BlockedCodec12CalcGridSizeEiiPi in libRuntimeHMAOT.arm-air.a(ZlibCod

ec.o)

      __ZN12BlockedCodec11SetupBlocksEii in libRuntimeHMAOT.arm-air.a(ZlibCodec.

o)

  "___udivmodsi4", referenced from:

      __ZN11FlashString9AppendIntEli in libRuntimeHMAOT.arm-air.a(flashstring.o)

      __ZN7avmplus6String12hashCodeUIntEj in libRuntimeHMAOT.arm-air.a(StringObj

ect.o)

      _sqlite3BitvecSet in libRuntimeHMAOT.arm-air.a(sqlite3_all.o)

      _sqlite3BitvecTest in libRuntimeHMAOT.arm-air.a(sqlite3_all.o)

      _sqlite3BitvecClear in libRuntimeHMAOT.arm-air.a(sqlite3_all.o)

      __ZL10II_samplesP10mad_bitptrPK10quantclassPl in libRuntimeHMAOT.arm-air.a

(layer12.o)

      __ZL14scale_rationalmmm in libRuntimeHMAOT.arm-air.a(madtimer.o)

      ...

ld: symbol(s) not found for architecture armv7

Compilation failed while executing : ld64

EDIT:

In fact, even if I take out all the ANEs, the package will be successful, but the resulting .ipa file can't be installed on my test device. It says install failed. With previous sdk (air version 14) and everything else the same, installation is no problem. Not sure if this has anything to do with the flashdevelop difficulty I reported earlier. Hopefully the final solution will work in my situation also. (please, please ...)

EDIT AGAIN:

Hi, Pahup,

You said when posting the fix on page 3,

Please note, this SDK also sets the MinimumOSVersion to 6.1 in the info.plist of the resulting IPA.

Does that mean the device installing the resulting app must have minimum iOS version 6.1? That would explain my problem installing the packaged .ipa file because my test device has iOS 6.0. But this would be a big limitation. We can't make app for people with iOS 6.0 and below anymore? Is there anyway to not have this limitation?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Oct 06, 2014 Oct 06, 2014

Copy link to clipboard

Copied

Hi Pahup! I've updated the SDK and I've uploaded my app to iTunesConnect! It works! Great! Windows 8.1 Olga

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Oct 06, 2014 Oct 06, 2014

Copy link to clipboard

Copied

Hello,

I would like to add my experience. Using Air 15.0.0.302, the app crashes on startup after the splash screen (no error popup, just quits). I suspect (and remember from the past) problems with fully included swc files and getDefintionByName() calls returning null, but I didnt dig into it. Thanks for the hint with -useLegacyAOT yes. Adding this to Air 15.0.0.302, I receive following error during packaging:

Exception in thread "main" java.lang.Error: Unable to find named traits: de.rgerlach.cards.game.models::e

        at adobe.abc.Domain.resolveTypeName(Domain.java:232)

        at adobe.abc.Domain.resolveTypeName(Domain.java:149)

        at adobe.abc.GlobalOptimizer.sccp_eval(GlobalOptimizer.java:6775)

        at adobe.abc.GlobalOptimizer$SccpContext.commit(GlobalOptimizer.java:4448)

        at adobe.abc.GlobalOptimizer.sccp_modify(GlobalOptimizer.java:5919)

        at adobe.abc.GlobalOptimizer.sccp_modify(GlobalOptimizer.java:4781)

        at adobe.abc.GlobalOptimizer.sccp(GlobalOptimizer.java:4753)

        at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:3615)

        at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:2309)

        at adobe.abc.LLVMEmitter.optimizeABCs(LLVMEmitter.java:534)

        at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:343)

        at com.adobe.air.ipa.GOAOTCompiler.convertAbcToLlvmBitcodeImpl(GOAOTCompiler.java:243)

        at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:85)

Compilation failed while executing : ADT

Using Air 15.0.0.302 for Flex with Flex SDK, the app shows the same crashing behavior after the splash screen. Adding -useLegacyAOT yes to Flex with Air, I am finally able to compile a working build.

I hope the report helps to further debug the new compiler.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 26, 2014 Sep 26, 2014

Copy link to clipboard

Copied

Sir Rookie: I had to use a Mac to do the steps change the min os version. If yours is 6.0, it should be fine anyway. The command line stuff I was referring to was from the link I sent;

/usr/bin/codesign -f -s "iPhone Distribution: MyName Surname (XXXXXXXX)" "--resource-rules=./Payload/MyApp.app/ResourceRules.plist" --entitlements "Entitlements.plist" "./Payload/MyApp.app"

Anton: The reason I has to re-sign/re-pack was that no matter what I set the version to in my application.xml, it always got set to 4.3. No idea why, this is something I need to investigate another day

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 26, 2014 Sep 26, 2014

Copy link to clipboard

Copied

Not sure if it helps in your case, but we were able to fix this issue by changing password for *.p12 file from Qwerty123$$ to 12345678

Simple solution, but unfortunately lots of research.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 26, 2014 Sep 26, 2014

Copy link to clipboard

Copied

I'm using Application loader 2.9.1 to submit application built by adobe flash player CS 6 with AIR SDK 15

First i submit .ipa but got error: Unable to extract archive.

So i searching and find way:

-extract .ipa

-inside payload > .zip the xx.app folder

Then i send .zip file and got Error: Error ITMS-9000: "Invalid Bundle. The bundle at 'XX.app' does not contain a bundle executable

Anyone know how to solve this issue?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Sep 26, 2014 Sep 26, 2014

Copy link to clipboard

Copied

- Question: Error ITMS-9000: "Invalid Bundle. The bundle at 'XX.app' does not contain a bundle executable

- Answer: Don't unzip your IPA. Adobe AIR SDK generates signed IPA's that must be submitted directly without unzipping


- Question: ERROR ITMS-9000: "invalid Sement Alignment. This app does not have proper segment and should be rebuilt with the latest version of xcode."

- Answer: Please read this topic from it first message, not just post your issue. This problem have workaround for Mac users. Adobe investigating this and doing own job for Windows users also


- Question: Who know Windows workaround?

- Answer: You can't find work around for PC users at this moment. Or develop own linker or just wait for Adobe AIR team fix. They are working on this.


- Question: My App require iPhone6 and iPhone6 Plus icons, but I use Flash Professional CS6 and it can't generate it

- Answer: I understand your pain. My apologize, but CS6 is outdated. You can compile your IPA using command line for free. Or Try to use Flash CC 2014


- Question: When invalid Sement Alignment issue may be fixed?

- Answer: When it will be ready


- Question: How I can change MinimumOSVersion? It's required by invalid Sement Alignment error?

- Answer: This is not the MinimumOSVersion error. Please wait, Adobe AIR team working on this. If you need to update your minimum OS versions anyway - minimum-ios-version-for-adobe-air-app here is how to do this




Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Sep 26, 2014 Sep 26, 2014

Copy link to clipboard

Copied

i have try to upload .ipa at first time but got this message:

Unable to Upload package

The package could not be unpacked because of the following error: Unable to extract archive. Please make sure /.../.../XX.ipa is a valid zip or ipa archive

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Sep 27, 2014 Sep 27, 2014

Copy link to clipboard

Copied

Are you sure that you have IPA compiled with:

1) latest Adobe AIR SDK 15.0.0.289

2) Distribution: AppStore (not AdHoc) provisioning profile and Distribution certificate linked to that provisioning profile

3) ID of your app from your provisioning profile must be the same

4) Build for AppStore and not for AdHoc, Interpriter and etc.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 01, 2014 Oct 01, 2014

Copy link to clipboard

Copied

I just revoked the certificates, rebuilt the certificates, Distribution provisioning for AppStore, and .p12 file.

IPA compiled with latest Adobe AIR SDK 15.0.0.289 with same App ID but still got error:

Error ITMS-9000: "Invalid Bundle. The bundle at 'XX.app' does not contain a bundle executable."

Anyone please help me!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Oct 02, 2014 Oct 02, 2014

Copy link to clipboard

Copied

Go to ERROR ITMS-9000: Invalid Bundle. and find latest Pahup message. Using that links was uploaded 11 apps during 1 day. It's work.

If you have ANE's that use minimum versions less than 6.1 - you must reassemble it with 6.1 or remove minimumos tag from ANE

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Oct 02, 2014 Oct 02, 2014

Copy link to clipboard

Copied

Just wanted to clarify and give you all a heads-up that we're seeing few internal issues related to 4.3>6.1 changes in info.plist, and hence we may not release this change in final build, we're still investigating.

Thanks

-Pahup

Adobe AIR

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 02, 2014 Oct 02, 2014

Copy link to clipboard

Copied

I hope you can find a solution that doesn't involve dropping compatibility with iPad 1s (iOS 4/5), since AIR 15 compiled apps still work in iPad 1.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 02, 2014 Oct 02, 2014

Copy link to clipboard

Copied

Thanks to the Air team and Pahup for the hardwork and update - great to be kept updated even if with the tiniest of info - shows you're there and alive, still!

Anyway, could I ask...will the release of Air support iOS 4.3+ or will it be limited to iOS 6.1+?

Also, final question - can you put the latest patch fix SDK on the main download in labs? Am sure it'd save a lot of hassle and posts on this thread of people who don't read the whole thread and notice your links!

Thanks

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Oct 02, 2014 Oct 02, 2014

Copy link to clipboard

Copied

DaveCates wrote:

Anyway, could I ask...will the release of Air support iOS 4.3+ or will it be limited to iOS 6.1+?

I've tried with the latest AIR SDK 15.0.0.302 beta available at the Adobe Labs site, and I've seen IPAs compiled with it get a MinimumOSVersion value of 4.3 again, not 6.1, like the previous version that Pahup posted in this thread.

So it seems they've finally decided not to change the MinimumOSVersion value. That's great, so apps can still be compatible with the original iPad from 2010.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 02, 2014 Oct 02, 2014

Copy link to clipboard

Copied

Appreciate your info.

I have try to compiled with that SDK but the error keep exist even after updated the new Application Loader 3.0 just now.

I saw the background activity the error is after Verifying assets with the iTunes store running..

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Oct 02, 2014 Oct 02, 2014

Copy link to clipboard

Copied

Thanks for everythings.

I've solved this issue. The error caused by a folder with same name with my application inside the .app.

Compiled with AIR 15.0.0.302

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 28, 2014 Sep 28, 2014

Copy link to clipboard

Copied

HI I have done my app using flash cs6 , could you please tell me how to i send to itunes?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 26, 2014 Sep 26, 2014

Copy link to clipboard

Copied

HI, I  try to upload mi ipa  from flash CC and air 13

and i have this error

ERROR ITMS-9000: "invalid Sement Alignment. This app does not have proper segment and should be rebuilt with the latest version of xcode."

any ideas for real solutions?

best regards.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines