Flash Builder 4.7 iOS packaging problem

I get the following error message when compiling my app with air 3.4 with Standard packaging or release build. Interestingly when using fast packaging I don't get any problems.
Error occurred while packaging the application:
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1
           at adobe.abc.GlobalOptimizer$InputAbc.readCode(GlobalOptimizer.java:1134 )
           at adobe.abc.GlobalOptimizer$InputAbc.readBody(GlobalOptimizer.java:682)
           at adobe.abc.GlobalOptimizer$InputAbc.readBodies(GlobalOptimizer.java:40 3)
           at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:331)
           at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler .java:533)
           at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:80) Compilation failed while executing : ADT
I don't have a clue on where to start looking... Tried using an app.xml file from another project that does compile, but still get the same message.
Any help appreciated!
/David

Hi David ,
I am able to reproduce the issue with project you shared.Thanks for reporting. I have looged a bug to track it.
Bug ID : http://bugs.adobe.com/jira/browse/FB-33461
Mean while you can try this workaround:
1. In the Package settings wizard,click on the the Customize launch button as shown in screenshot.
2.Click on the Edit Parameter Button.
3.Choose 'FILE_TO_PACKAGE?' as the name attribute. '?' here means the number which corresponds your swf.
4.Give bin-debug swf location as the value to the attribute.Choose ok and continue.
Note:
This workaround only for testing purpose.
Let me know if you require more information.
Thanks,
Sanjay

Similar Messages

  • Flash Builder 4.5 ios included images

    Hello,
    I am developing an ios app with flash builder but I can package my app with the assets that i am using.
    With flash I could include the attached files and the .ipad contain this images, but I can't do the same with flash builder 4.5.
    How can I set up the images that must be in the .ipa.
    Thanks a lot.

    Check it

  • "Error occurred while packaging the application... Can't load library" in Flash Builder 4.7 (iOS)

    Been struggling to resolve this error since yesterday in Flash Builder 4.7 packaging an app for iOS.
    Error occurred while packaging the application:
    Exception in thread "Main Thread" java.lang.UnsatisfiedLinkError: Can't load library: C:\Program Files\Adobe\Adobe Flash Builder 4.7 (64 Bit)\eclipse\plugins\com.adobe.flash.compiler_4.7.0.349722\AIRSDK\lib\aot\lib\llvm.dll
              at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1706)
              at java.lang.Runtime.load0(Runtime.java:770)
              at java.lang.System.load(System.java:1004)
              at adobe.abc.LLVMEmitter.loadJNI(LLVMEmitter.java:587)
              at adobe.abc.LLVMEmitter.<clinit>(LLVMEmitter.java:597)
              at com.adobe.air.ipa.AOTCompiler.generateExtensionsGlue(AOTCompiler.java:419)
              at com.adobe.air.ipa.AOTCompiler.generateMachineBinaries(AOTCompiler.java:1790)
              at com.adobe.air.ipa.IPAOutputStream.createIosBinary(IPAOutputStream.java:378)
              at com.adobe.air.ipa.IPAOutputStream.finalizeSig(IPAOutputStream.java:762)
              at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java:91)
              at com.adobe.air.ipa.IPAPackager.createPackage(IPAPackager.java:246)
              at com.adobe.air.ADT.parseArgsAndGo(ADT.java:571)
              at com.adobe.air.ADT.run(ADT.java:419)
              at com.adobe.air.ADT.main(ADT.java:470)

    Update:
    My previous proposed solution (of installing the 64-bit JRE) resulted in a different problem. After multiple attempts and restarts I was unable to work in the Flash Builder IDE as it became unresponsive on load. Each time I had to use Task Manager to close the application.
    Apparent Solution:
    Close all applications running in Windows
    Uninstall all versions of JRE (Java Runtime Environment)
    Uninstall Flash Builder 4.7
    Reinstall Flash Builder 4.7

  • Is there anyway to change Info.plist settings and use Flash Builder 4.6 to package the iOS app?

    Hi there,
    I've tried to package my app with the latest Xcode 4.5 (version 19 Sep 2012) iOS 6 SDK, Flash Builder 4.6, Flex SDK 4.6 with Air 3.5 Beta overlay.
    and unzip the .ipa file and i found the following automated settings on the Info.plist file was wrong:
    <key>DTPlatformVersion</key>
            <string>5.1</string>
            <key>DTSDKBuild</key>
            <string>9B176</string>
            <key>DTSDKName</key>
            <string>iphoneos5.1</string>
    According to the Adobe specs, these settinsg are unchangeble, is there anyway to change these values to produce .ipa file that with iOS 6.0 settings with Flash Builder 4.6?
    I believe this cause the following appstore submission issue with the iPhone 5 4-inch display splash screen image [email protected]:
    Invalid Launch Image - You app contains a launch image with a size modifier that is only supported for apps built with the iOS 6.0 SDK or later.
    Many thanks,
    A

    Not everyone here was involved in the conversations that led up to this file, so here are some extra clues:
    In your AIR3.5 folder (or whatever you named the folder) is a lib folder. Inside that is the current adt.jar file. Rename that in case you have to go back to it, and drag the supplied adt.jar file into the lib folder. Now publish your app.
    You won't even need to quit Flash or Flash Builder.
    Once you have the new IPA, go through the usual upload steps to the App Store, using Application Loader, and the file should process ok in iTunes Connect. Note, you will be asked to provide iPhone 5 screenshots.

  • Any clues on this error trace? Flash Builder compiling for iOS...

    Hi,
    All of a sudden, I am seeing the following when I try to compile an app for iOS:
    [code]
      Error occurred while packaging the application:
    # A fatal error has been detected by the Java Runtime Environment:
    # Internal Error (0xe06d7363), pid=3736, tid=7512
    # JRE version: 6.0_16-b01
    # Java VM: Java HotSpot(TM) Client VM (14.2-b01 mixed mode windows-x86 )
    # Problematic frame:
    # C [KERNELBASE.dll+0xc41f]
    # An error report file with more information is saved as:
    # C:\Users\GAIUSC~1\AppData\Local\Temp\AOT1351170957959\hs_err_pid3736.log
    [/code]
    The error log has been deleted by the time I get to it and there is no other clue, not aware of making any other changes that could affect it.
    Will try restarting but...
    Any clues or ideas would be welcome!
    Thanks,
    G

    Hmm.
    I have googled the error code C [KERNELBASE.dll+0xc41f] and it is suggesting an incompatibility with 64-bit versus 32-bit systems. I did previously install the 64-bit Flash Builder 4.7 trial, and then uninstall it again because it gave too many bugs on my machine and played havoc with FB 4.6.
    I will try in the 4.7 forum to see if they have any ideas.
    G

  • Win+FB4.5.1+AIR sdk2.7 ios packaging problem

    So, I'm using this combination:   Win Vista, Flash Builder 4.5.1, Flex 4.5.1, AIR sdk 2.7
    When I try to package ios application I can't get it done, cause after prompting for certificate password progress stops on 57% forever (both standard and fast packaging methods). Flash Builder desn't hang though

    I had what I thought was a valid .p12 file from my Mac as well, and it caused Flex 4.5 (4.5.1 SDK) to hang on 57%.
    I followed the instructions under the heading "Convert an Apple developer certificate to a P12 file on Windows", on the following page:
    http://help.adobe.com/en_US/air/build/WS5b3ccc516d4fbf351e63e3d118666ade46-7ff0.html
    Inserting the non-working .p12 file from my Mac into where it says: "mykey.p12" and then using the new .p12 file created in part 3 worked and Flex 4.5 was able to package for iOS.
    Hope this is useful to someone.

  • Flash/Air/Flash Builder development for ios?

    Hi guys,
    Does anyone know whether an application developed at iphone size, will automatically scale full screen to ipad if downloaded from the app store and if 'fullscreen' is set to true in the application descriptor file?
    Most of our graphics are vector based and therefore scale fine from the iphone resolution to the ipad. We have tried publishing out our flash app developed using flash builder to .ipa format (at iphone resolution), installing it on an ipad 1 and iphone 3gs and it scales up fine on the ipad.
    Does apple have any issue accepting apps at iphone size forced full screen to fit the ipad? Am I right in saying that any app submitted to the iphone app store will be recognised as an iphone app and present the x2 symbol if installed on the ipad, and any app submitted to the ipad store or as universal will automatically scale to fit full screen?
    Essentially what I am trying to do is keep my iphone size app at iphone size, sumbit it as universal and just scale it full screen on the ipad... without having to redo assets or submit two versions.
    I hope you can help,
    Thanks,
    D.

    fullscreen just refers to whether the status bar is showing. If you have left the stage scale mode in its default setting, then your iPhone stage will scale up to fill the width of the iPad, but there would be a thin slice above and below the stage area that would be blank. You can perhaps just put a border graphic there, just off stage, and that would then be revealed on iPad.
    For iPhone 5 you have the opposite problem, there would be bars down the left and right. So, have a border graphic off of all four sides of the iPhone stage, and you’ll be ok for all devices.
    Another approach is to set the scale mode to no_border. Then the stage will scale to fill the width of the iPhone 5 or the height of the iPad, and you’ll lose a bit of the stage content in the other directions.

  • Flash Builder 4.5 iOS Development license for teacing purposes

    I teach in an academic institution where we have Flash Builder 4.5 installed.The current set up only allows us to configure apps for the android platform and not for iOS.Is it possible to configure the application for the iOS platform purely for the purpose of developing apps for academic study?

    Dear Flexer,
    At this time, you can only create an AS project for iOs.
    I heard, that whis realease of Flash Builder 4.5 you can create mxml
    project for all plateform.
    Best regards
    Isabelle LOYER
    InterSystemes
    20 rue de Montubois
    95840 Bethemont la Foret
    Tel : 33 +1 34 69 22 66
    Fax : 33 +1 34 69 26 28
    email : [email protected]
    www.intersystemes.fr
    www.intersystemes.net
    Le 20/06/11 10:29, Arun Ganesh a écrit :
    me to waiting for the response
    >

  • Flash Builder Beta 2 locale en_GB problems ?

    Hi
    I have installed FB B2 and created a project but the application produces an error even before I've complied the app, the message is as follows
    unable to open 'C:\Program Files\Adobe\Adobe Flash Builder Plug-in Beta 2\sdks\4.0.0\frameworks\locale\en_GB'
    I can change the locale under Flex Complier to en_US and this sorts this error. But then the following error appears:
    unable to open 'C:\Program Files\Adobe\Adobe Flash Builder Plug-in Beta 2\eclipse\plugins\com.adobe.flexbuilder.dcrad.nl1_4.0.0.253292\nl\en_GB\dcradSwcs\4.0\loc ale'
    I have no idea what to do now, why has the en_GB locale been removed in FB B2 ??
    Any help would be greatfully accepted
    PS I have tried build 10485 of the SDK and get the same result.
    Regards
    Chris

    Hi Chris,
    Yes, it was a type. I meant the locale that FB uses as default on my PC: es_ES.
    The steps to reproduce this ( using FB beta2 + LCDS3_beta3.war )
    1) New Flex project "foobar" with J2EE server
    2) Use tomcat 6.0.18 and lcds3_beta3.war
    3) Finish
    4) I add the project to my Tomcat instance
    5) Build project and "boom":
    Description Resource Path Location Type
    unable to open W:\PATH_TO_WS\foobar\WebContent\WEB-INF\flex\locale\es_ES
    Then, I go to my FB_beta2 installation and :
    6) copylocale en_US es_ES
    Then I copy the new brand es_ES locale into W:\PATH_TO_WS\foobar\WebContent\WEB-INF\flex\locale and I try to build the project again:
    7) Build the project
    I get something like :
    Description Resource Path Location Type
    unable to open 'C:\Archivos de programa\Adobe\Adobe Flash Builder Plug-in Beta
    2\eclipse\plugins\com.adobe.flexbuilder.dcrad.nl1_4.0.0.253292\nl\es_ES\dcradSwcs\4.0\loca le' foobar Unknown Flex Problem
    I get the feeling there is something that is breaking the project at the point Im adding the project to the Tomcat instance.
    If you skip step 4) The project compiles successfully. As soon as you add the project to Tomcat, everything breaks.
    What do you think?
    A.

  • Flash builder css styles giving me problems... please help :)

    hey guys, have yet another question on flash builder
    im trying to make my textInput fields 100% wide to my accordian. but for some reason it just wont happen... when i specify the width it works but when i do 100% it wont...
    ive also tried doing
        <fx:Style>
            @namespace mx "library://ns.adobe.com/flex/halo";
            @namespace s "library://ns.adobe.com/flex/spark";
            .widthChange{
                width:100%;
        </fx:Style>
    but i get an error back and it says "CSS Value for 'width' not supported."  no idea whats wrong wit that...
    i just want my multiple textAreas or the textInputs to go 100% across my accordian.
    thanks a lot in advance guys!! really appretiate all your help

    Try
    You need to make sure that the TextInput's container is as wide as the Accordion, as well as making sure that the TextInput is as wide as its container.
    'width' is not a style and can't be set in a CSS selector. But 'left' and 'right' can be.
    - Gordon

  • Weird ios package problems on release builds

             Hi guys. We are working on simple flex application based on Flex 4.6 + AIR 3.8. After ad-hoc or relese pakage we have big problems with application start time. For now it took about 50 seconds of black screen to start our app.  Our research with Scout shows weird problems with AS3 code initialization. Event "complete" in frame 6 take about 41747ms to finish. This happens only in release builds, and i think this is Embed / Compiler issue. Please explain me this behavior. You could find saved Scout Session here

    Got it.
    I was using the Swiz framework (which is brilliant, btw) and compiling the Swiz library rather than using the SWC as I needed a change to the underlying, I had omitted one of the metadata tags from the compiler args - for some reason, it recovered when run in any other compile mode, but crashed when run in release mode.
    G

  • Flash Builder 4.6 code hinter problem - not showing some methods

    Hi All,
    I have a problem with FB code hinter. It does not show some methods on an object.
    To be exact I created a Date object and FB code hinter does not show .toDateString method (actually I it shows only one to string method - .ToString(), although according to docs there are more)
    When I use .toDateString method, code still compiles and work just fine, however method is not showing up in code hinter, which is really annoying..
    Anyone had this problem? If so, please, share some wisdom how to solve this thing.
    Thanks in advance.
    UPDATE:
    Here is some more info in my problem.
    I have tried to reinstall the application, but it did not help.
    So what I did was:
    * first I installed FB standard edition version 4.
    * I checked the code hinter and it worked. It showed .toDateString method.
    * I have purchased FB standard 4.5 upgrade.
    * I installed this upgrade, and boom the code hinter does not show the method...
    * Next I tried to create a project with Flex 4.1 sdk and then it worked - method was there. So the problem is with 4.6 sdk apparently...sucks...

    Hi, I have the same problem. I have a new FB 4.6 installation and it is my first FB installation. Do you have a solution already?

  • Flash builder 4.7 iOS Debug Binary (IDB) component  is not installed.

    I get the error below consistantly. Is the IDB supposed to be part of the flex 4.6 sdk or part of an air sdk? (I've not seen it in either)
    Some components required to launch the application were not found. Please reinstall the AIR SDK and try again.
    The iOS Debug Binary (IDB) component  is not installed.

    Hi ,
    Flex SDK 4.6 has AIR 3.1 which doesn't have the support of IDB. So, if you wanted to use USB debugging for iOS, please create an ActionScript Mobile Project which has AIR 3.4 that supports IDB, else download the AIR SDK 3.4 and overlay it on Flex 4.6 SDk.
    AIR SDK download link: http://www.adobe.com/devnet/air/air-sdk-download.html
    Overlay help document link : http://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk. html
    Hope this helps.
    Thanks,
    Hari

  • How to solve the flash Builder 4.6 scroll view and textinput  display problem?

    I have a dynamic form application which worked well on flash builder 4.5, having display problems in flash builder 4.6 now. What I did is adding
    TextInput objects  to a scroll view and set the texts for them dynamically. Everything is fine after the screen loaded. But if I scroll down, sometimes the texts will be placed in wrong positions. I attached the screen copy of the wrong display. Does anybody know how to solve this problem? Thanks.

    Check out the two threads below (if you have not already). I have not tried it but aeonus describes an approach that made me think of something that might work ... It is a workaround but, what if you have a text field (txtA) with the skin that does not allow soft keyboard selection, but does scroll correctly, and on the onClick event of that text field, you dynamically cover it with another text field (txtB) that does allow soft keyboard selection, (but does not scroll properly) and trigger the keyboard. After you get the entry from the user, set the value of txtA and destroy txtB ... leaving you (theoretically) with properly scrolling text fields. If you have a lot of those in your app, you might want to write a component that implements that behavior.
    "Create a dynamic textfield, and on click, invoke create a StageText instance at the same location as the textfield (by setting the StageText.viewPort property)
    Finally, set StageText.softKeyboardType to "numeric" and call StageText.assignFocus();"
    http://forums.adobe.com/thread/915019?tstart=0
    http://forums.adobe.com/thread/911214?tstart=0

  • How to update the PHP Class Service back in Flash Builder 4

    I'm not sure if my post title makes any sense or not but let me explain.  I've been working on an application in Flash Builder 4 using the ZendFramework and PHP services and everything is work great. the problem I have is after I make changes to my services PHP class (edit php file that has my functions in it), how to I updated those functions in the Flash builder application?
    For example, I needed to pass a second object into one of my function in my PHP class and after I edited the file and saved it, I don't see the changes in the Flash builder 4 application. Is there a button I can run to update the PHP class back in Flash Builder?
    Thanks,
    John Baranowski

    How do you use Flash Builder to regenerate the code for the same PHP service I connected to prior? When I first connected to the PHP service Flash Builder automatically built a package with all kinds of actionscript functions in it. I added a function to my PHP Class file server side and I need help on how to update the package back in Flex to see my new function. Can anyone help me??
    -John

Maybe you are looking for