IOS Packager FlashCS5

Hello,
      I'm in desperate need of some quick help. I've been through the ringer all day trying to figure this out. I develop games for the iPhone and Android devices using Flash CS5. I recently packaged and uploaded my first iPhone app successfully and it was approved. Following the same exact procedure, with a new provisioning file and appropriate file name changes - I published/packaged my second iPhone application. My problem is when I go to upload it using the Application Loader, it returns an error stating (null) is not a valid zip file. I'm lead to assume this is Flash not packaging the file properly or the Application Loader gone awry! Is anybody else experiencing this issue? Not sure what is going wrong here. I've got some 13 more apps to convert over and I'm sort of at a loss at this point.
Is there an alternative way I can pacakge the application? I appreciate any assistance! Thanks.

Thanks for the response! -- I was able to figure it out after 3 days of troubleshooting. Hopefully this helps someone else in the future.
I'm working on a PC - created all my provisioning and certs using command prompts. Develop and Package in Flash CS5 for iOS on the PC. I have someone on my tech team that I email the finished ipa to for upload via Mac & the application loader. The initial submission went through email fine and was subsequently accepted to the appStore. Anything I emailed afterwards, I imagine, was somehow getting lost in translation between devices/email - When my tech team went to submit, it kept giving the "(null) is not a valid zip" message.
In desperation, I eventually met up with my tech team to review their process to make sure nothing was going wrong on their end. I brought my ipa's via USB, and everything loaded perfectly fine as is currently 'Waiting For Review'. 6 applications later, haven't had an issue since. Lesson learned! -

Similar Messages

  • Unable To Include Files In iOS Package

    Hi,
    I an using the latest release version of Flash Builder, trying to package an app for the iPad. I have an AIR application that I created to run on a desktop, and have modified it to run on the iPad. It works fine, however I cannot package the need resource files it uses, such as jpg, xml, swf, and flv files within the ipa file using Flash Builder. It seems that if I select more than 30-40 of these types of files to include, Flash Builder will not compile the ipa file without some sort of error, the most common one talks about:
    "Cannot run program "java.exe" (in directory "C\Users\lee\AppData\Local\Temp\AOT1308010984915"): CreateProcess error=206, The filename or extension is too long"
    Now I am guessing that Flash Builder is appending all of my selected files to a command line string or something somewhere, and so it can't handle that long of string on the command line. If I stick to less than 30 files, it works fine, but if I try and the 1000 or so files that I need to, it will not work.
    This app would never be in the app store, but rather on internal company iPads. The reason for so many files is the number of products the app covers, and the number of languages it supports. So yes the ipa file would be about 500Mb, but that should not be an issue, since an ipa file is basically a zipped archive. I think this is a bug though in Flash Builder; the program also becomes unresponsive when trying to access the include file list located in Project Properties -> ActionScript Build Packaging -> Apple iOS settings dialog. It make take several minutes before FB becomes responsive again when working with this number of files.
    Does anyone have any suggestions?
    thanks

    Hello,
    Since I first encountered this bug, I have always had my asset files in
    subfolders. See the attached screen shot. This is my project folder, and
    every subfolder is included except for the com folder, which for some
    reason FB copied into the bin directory on it's own.
    So I do not think this fixed. In this report, they are not using the same
    number of files as I am, so it is possible that this only works with a low
    number of files.
    thx
    Anirudh Sasikumar <[email protected]>
    06/23/2011 01:26 AM
    Please respond to
    [email protected]
    To
    Keith Lee <[email protected]>
    cc
    Subject
    Unable To Include Files In iOS Package
    Caterpillar: Confidential Green Retain Until: 07/23/2011
    Here is the bug: https://bugs.adobe.com/jira/browse/FB-31616
    The comments seem to indicate that if you put your files in a subfolder
    rather than directly in src, it should work.
    Let us know how it goes.
    -Anirudh

  • Another iOS packager bug

    Came across another bug in iOS packager. In my project I have a function looking like this:
    private function sample():Object
         var iValue:int = 10;
          return false ? iValue : null;
    It correctly returns 'null' if packaged in ipa-debug-interpreter, apk-captive-runtime modes or if running in ADL. But it returns '0' if packaged in ipa-ad-hoc mode. I had to spend a whole day to figure out where is the problem. This is not the first type cast issue I came across. And it takes a lot of effort everytime to debug (10 minutes to build the project!). I'm breaking a dead line giving my customer an excuse that 'Adobe packager for iOS does not work right'. Which sounds like total BS of course. Adobe, please, get this straight. It is hard enough to develop with AIR for mobile. Bugs like this one make it much worse. Either way, I'm planning to advocate for using native tools in our next projects.

    I'm still using AIR 3.2. Unfortunately, I don't have a chance to try latest AIR 3.4 at the moment. But I will check the same code when I update AIR SDK.
    The code I posted is not a real code of course. I had to strip some logic and modify operators a bit. But I had hoped the bug would still reproduce. From my experience, most of the iOS packager bugs are caused by the rules of type casting that are not AS3 compliant. I have an impression that type casting rules used in the packager are more like classic C type casting rules. As the result, same code executes differently on iOS and Android|Windows. And it has being a huge problem for me.

  • Air 2.7 iOS packager instructions.

    Hi,
    I currently have Flash CS 5.0.  Where can I find instructions on using Air 2.7 iOS packager with it?  I would prefer the IDE interface, not the command line.
    If this is not possible with Flash CS5.0, can it be done with Flash CS 5.5?
    Thank you.

    Replacing Air 2.6 directory with Air 2.7 directory sounds like a hack.  Is that recommended by Adobe?
    I'm curious why after doing such an amazing job optimizing Air 2.7 for iOS they didn't update the Flash IDE to better integrate with the latest Air.  It would seem like the most trivial part of the update.

  • IOS packager throws java.lang.OutOfMemoryError when packaging large projects

    Crosspost from stackoverflow, I figured this forum might have some insights too!
    I've been porting a Flex 4 codebase to iOS using the adobe packager, but have run into a snag when trying to package our whole codebase. The packager runs for a while and then throws an OutOfMemoryError - even if I increase the java heap size to 4GB.
    No single piece of code seems to be causing the problem, as it compiles successfully if I cut out large chunks of code, and I can change which chunks I'm omitting. It might be related to the size of the code itself.
    I've logged a very detailed bug report with adobe here: http://bugs.adobe.com/jira/browse/FB-32192 . It includes an AIRI file that you can package to reproduce the issue, a ruby script that generates actionscript code to generate that AIRI file, and a summary of all of the things I tried before logging the bug.
    Has anyone else tried compiling large projects with the iOS packager? Are there any known workarounds?

    Thanks for reporting the issue, we are working on it, hopefully it will be available in next major version of AIR.
    To know more about it, you might want nominate yourself for our prerelease program at this link.
    http://labs.adobe.com/technologies/flashplatformruntimes/air3/
    Thanks,
    Amish.

  • Flex 4.5 mxml based application not running after iOS packaging on i pad

    I have created one mxml based application on flex 4.5 and make the .ipa file by iOS packaging of adt command.The command  goes as followes
    adt -package -target ipa-debug -storetype pkcs12 -keystore  development_key.p12 -provisioning-profile flex_air.mobileprovision  testIphone.ipa testIphone-app.xml testIphone.swf
    The .ipa files are generated in the root folder of the C:\Program Files\Adobe\Adobe Flash Builder 4.5\sdks\4.5.0\bin folder.
    But when I am running that file in Ipad it is not working.Cant install that application on Ipad.
    Can anybody have any solution for this??

    Hi Debarghya:
    As you mention "Cant install that application on Ipad." I am assuming that you can't get it on your iPad if that is the case. There are two things you should check.
    1. Does your mobileprovision has your device added to it, on iTunes portal?
    2. Make sure the id tag in testIphone-app.xml matches with your application identifier for which you created this provision and certificate on iTunes portal.
    If the problem is that application is installed on your iPad. But when you launch you see black screen forever or application closes automatically to take you to home screen.
    1. try with  -target ipa-debug-interpreter instead of -target ipa-debug and see if application starts and post your findings back.

  • FB 4.7 iOS packaging - Exception in thread "main" java.lang.OutOfMemoryError"

    I have been having issues with FlashBuilder 4.7 and packaging my Flex Mobile application for iOS (simulator, or for install on device).
    The funny thing is it used to work just fine before a OSX system update.
    My machine is Macbook Pro, 2.66 GHz i7, Mac OSX Lion 10.7.5, 8GB
    When I run application to install on device I get the error...
    Error occurred while packaging the application:
    Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
              at com.adobe.png.PNGReader.readChunk(PNGReader.java:60)
              at com.adobe.png.PNGUtils.updatePNGMetadata(PNGUtils.java:56)
              at com.adobe.air.ipa.IPAOutputStream.addFile(IPAOutputStream.java:700)
              at com.adobe.air.ADTOutputStream.addFileFromStream(ADTOutputStream.java:307)
              at com.adobe.air.ADTOutputStream.addFileFromStream(ADTOutputStream.java:300)
              at com.adobe.air.ipa.IPAOutputStream.addSpecialIcon(IPAOutputStream.java:272)
              at com.adobe.air.ipa.IPAOutputStream.addFile(IPAOutputStream.java:256)
              at com.adobe.air.ApplicationPackager.createPackage(ApplicationPackager.java:72)
              at com.adobe.air.ipa.IPAPackager.createPackage(IPAPackager.java:245)
              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:469)
    I have tried uninstalling/ reinstalling Flash Builder 4.7 multiple times
    I get this error no matter which AIR SDK I am using, 3.1, 3.4, 3.5, 3.6.
    I get this error with a blank fresh project.
    Please anyone, can you help me solve this.

    I solved this. It turns out the app icons were corrupt. After removing them and replacing them with new files this error went away.

  • IOS packaging error

    Just moved to AIR 3.6 SDK. Seeing the following error when packaging for iOS via adt on the command line:
    Exception in thread "main" java.lang.Error: flash.data::SQLIndexSchema::flash.data:SQLIndexSchema::_table has a slot id(4) larger than the name count(2).
              at adobe.abc.GlobalOptimizer$InputAbc.readTraits(GlobalOptimizer.java:855)
              at adobe.abc.GlobalOptimizer$InputAbc.readInstance(GlobalOptimizer.java:1030)
              at adobe.abc.GlobalOptimizer$InputAbc.readAbc(GlobalOptimizer.java:391)
              at adobe.abc.GlobalOptimizer$InputAbc.readAbc(GlobalOptimizer.java:279)
              at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:320)
              at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler.java:599)
              at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:104)
    Compilation failed while executing : ADT
    Seems to work fine when packaging within Flash Builder 4.7, but I need the command line to work for automated builds. Any ideas on eliminating or working around this error?

    Hi,
    I found this problem in sdk downloaded from http://www.adobe.com/devnet/air/air-sdk-download.html.( Currently it is replaced with 3.7 it seems. ). I also tried with 3.7 Beta got the same problem. I have not tried with 3.7 though.
    The machine is 64 bit windows machine with Java version 7 update 17.
    The problem occurs with AIR SDK 3.6 ASC 2.0 Compiler. If we use AIR SDK 3.6 without ASC 2.0 ( use ASC 1.0 Compiler) then the problem does not occur. But I badly need AIR SDK 3.6 atleast with ASC 2.0. Please try to get some workaround for this problem. I have also read some where that this problem does not occur with Mac. But I don't have any access to Mac to verify this claim...
    I have also reported this bug at https://bugbase.adobe.com/index.cfm?event=bug&id=3537914. But still have not got any solution to this problem. ...
    The packaging command used is something like below:-
    <java jar="${adt.jar}" dir="AIRMobile/src/" fork="true" failonerror="true">
                <sysproperty key="file.encoding" value="UTF-8"/>
                <arg value="-package"/>
                <arg value="-target"/>
                <arg value="ipa-ad-hoc"/>
                <arg value="-provisioning-profile"/>
                <arg value="xyz.provission"/>
                <arg value="-storetype"/>
                <arg value="pkcs12"/>
                <arg value="-keystore"/>
                <arg value="xyz.keystore"/>
                <arg value="-storepass"/>
                <arg value="xyx"/>
                <arg value="AIRMobile.ipa"/>
                <arg value="AIRMobele.app.xml"/>
                <arg value="icons/*.png"/>
                <arg value="assets/*.swf"/>
                <arg value="url.txt"/>
                <arg value="-C"/>
                <arg value="somedir/"/>
                <arg value="AIRMobile.swf"/>
                <arg value="-extdir"/>
                <arg value="release_libs"/>
            </java>
    Just to add also tried with ipa-debug. Tried increasing java heap size to 4GB. Still got the error.
    Thanks,

  • AIR 3.8, iOS Packaging Failed: "Compilation failed while executing : ld64"

    Since upgrading to AIR 3.8, we can no longer package our AIR Application.
    We are getting the following error:
    internal_package-ios:
         [exec] ld: -pie can only be used when targeting iOS 4.2 or later
         [exec] Compilation failed while executing : ld64
    Screenshot Here: http://cl.ly/image/3h2U1g271n1J
    Reverting to AIR 3.7 fixes the issue... but we need 3.8 as we need the 4096 texture support that comes with BASELINE_EXTENDED profile.
    From googling, this seems like it's related to the iOS SDK included with AIR, but the issue was fixed in AIR 3.7. Seems it has been regressed...

    Hi Shawn,
    Since AIR 3.8, we support only PIE enabled binaries, as per Apple recommendation.
    For this, the minimum supported iOS version is 4.2. The ANE you are using specifies a minimum iOS version of 4.0 in its platform-iphone.xml, present at: https://github.com/alebianco/ANE-Google-Analytics/blob/master/build/platform-iphone.xml
    You will need to change the line:
    <option>-ios_version_min 4.0</option>
    to:
    <option>-ios_version_min 4.2</option>
    and rebuild the ANE to make it work.
    Regards,
    Neha

  • FB 4.5.1 iOS packaging failed

    Hi, I managed to sign PlayBook app successfully, but failed to sign iOS app. I uploaded correct .p12 certificate and distribution provision that I used in my xcode, input correct password, then I clicked on Finish button. I saw the message of "Packaging for Apple iOS. This may take several minutes", but it just hanged there at Packaging: (0%)... Anyone facing the same problem? Or anyone know the solution? Thanks in advanced.
    regards,
    SeasonW

    On Mac OS X it says the certificate is invalid or something like that, I don't remember the exact words, and throws an alert window with the command line usage of ADT. I'm going to try this: http://forums.adobe.com/thread/867664?tstart=30 to see if the problem it's in the way I export the certificate to .p12.

  • Setting up FB4.5 iOS Packager to use AIR 2.7

    Hi All,
    I'd like to update my Flash Builder so that the mobile packager for Android and iOS uses the new AIR 2.7 SDK.
    How do I do this?
    I've downloaded the AIR 2.7 SDK, but the instructions say I should use the command line - but I'd like it integrated into my version of FB4.5.
    Please advise.
    Thanks!

    I found a way to use the emulator for iOS (and possibly package) :
    Copy the Flash Builder 4.5\sdks\4.5.0 folder to an other place. Overwrite the content of that copy with the AIR sdk.
    You will now be able to compile and use the IOS emulator in command line (be sure that ADT and ADL are in the path variable).
    Your command line will look like this :
    adl -runtime "COPY_FOLDER\runtimes\air\win" -profile mobileDevice -screensize 700x862:700x900 -XscreenDPI 72 -XversionPlatform IOS FULL_APP.XML_PATH FULL_PROJECT_bin-debug_PATH
    I didn't try the packager for now cause I don't have a valid iOS certificate, but you will have to use adt instead of ADL and export your project to the AIRI format.
    I hope Adobe will simplify the process SOON....

  • List of Language IOS Package

    It seems that many developers are having problems with the list of languages supported by the application at itunes. I believe that languages are included in the package for installation purposes on the Android platform, but that could not be used to package IOS. Anyone got some way to fix it?
    thank you!

    Did additional digging.  There is a bug on this issue over at bugbase.adobe.com.  I'd like to encourage you to vote and comment if you haven't already done so.  We do plan on addressing this in a future release, though I don't have anything specific date or release that I can announce.  I can say though that we really take bug comments seriously, your feedback is extremely important.
    2878252 - [Platform_iOS] Needless localization was added.
    Thanks,
    Chris

  • IOS package crashes in any non-debug compile mode

    Hi,
    I am looking really for ideas on where to start looking!
    This is the situation:
    I am migrating a largish flex, web project to mobile. This is the third iteration and I have had the entire thing working at various times in various forms. It loads strings via resource bundle and content via external SWF content.
    I have recently reorganised to use a view architecture so that I load in the main app view after a selection workflow - this means that there is much faster startup and better performance in general. It works fine in the following compiles:
    1. Compile for Android (all kinds)
    2. Compile for iOS debug (fast)
    3. Compile for iOS debug (standard)
    BUT:
    If I compile for iOS ad hoc distribution, I see the following:
    1. Initial view loads, resource bundle strings are displaying
    2. When I go to main product view:
    - SWF fails to complete load process and hangs with no strings from resource bundle visible
    - crash occurs prior to addition of navigatorContent buttons that I've defined in the product's base state
    In other words, something that works in _all_ other settings and compile options, simply will not progress when packaged for release in iOS.
    I am at a bit of a loss. I am aware that iOS can't support bytecode and am working on eliminating that, but I have run it using this with the bytecode simply ignored, which is fine as I don't want it there either. I have also tried substituting for JPEG content, but the issue below still seems to be present. I have also tried eliminating loaded font files - again, these were not working, but the problem was simply ignored when I had the product as the main rather than a sub view.
    Does anyone have any idea at all what could be causing this?
    Thanks,
    G

    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

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

  • IOS Packaging Error: Could not retrieve certificate chain from keystore

    Hi all,
    I'm currently evaluating Flash Builder 4.5, with an eye toward prototyping on iOS (since lots of folks here know Flash and ActionScript, but only a couple of us use XCode and Objective-C).  I'm currently looking at the Hello World tutorial...
    http://www.adobe.com/devnet/flash-builder/articles/hello-world.html
    I've built and tested on desktop, and am now trying to package the app to test on iOS.  However, when I run the device configuration I get a dialog with the following...
    'Launching FlashTest' has encountered a problem.
    Error occurred while packaging the application:
    could not retrieve certificate chain from keystore
    It then shows me the usage text for adt.  I have no idea what the problem is.
    I've imported the same certificate I use to deploy through XCode, and have created an AppID and provisioning profile specific for my test app.
    Thoughts?
    p.s. - How do I change my forum name?

    i understood why
    I had the same problem
    i solved in this way
    before exporting the *.p12 file i chained the certificate to the key by selecting it in the key panel and importing from the file menu the certificate
    in this way key and certificate are associated
    at this poin i created the p12 file and it worked fine!!!!

Maybe you are looking for

  • Outlook integration

    I have just installed Adobe Reader 10.1.3. For some reason the Reader is not working with my Outlook or My Documents. Is there something I must do to integrate? I can preview the files, but cannot open them.

  • Mini jack splitter

    I bought a mini jack splitter, sold as a stereo splitter, my question is this, does this split the stereo from my ipod into a left and rightr mono 0or does it split the stereo output and give me two stereo outputs. Peter

  • Difference FS10N & FAGLB03 - Version 5.0

    Hello friends, It was noted that the GL account Balance Display are different for the one GL account in FS10N & FAGLB03. Why its happening? Our version is ECC 5.0 Thank you, Regards, Roberto

  • How to have project specific logs in OSB

    Hi I make log entry in osb using Log Action and it works, as i can see logs in Server's log file. But it contains other log entries also... But i dnt know how do i have separate log file for my projects in OSB, ie how do have separate log file ,where

  • Meeting place 7.0 compatibility C20 and Movi.

    Hi, I need your help to know if the C20 and Movi devices is compatibility to works with meeting place 7.0. I've checked the cisco documentation and this devices has not been tested with this version. Anybody knows if it's can working? Regards