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.

Similar Messages

  • How to embed and launch ipa file from another ipa package created using Air for iOS

    Hi Guys,
    Anybody out there knowing how to embed and launch ipa file from another ipa package created using Air for iOS ?
    I am having 1 ipa file created using Xcode, Now i need to include that file in my ipa Package which is created using Flash CS 5.5 and Air for iOS. Also i need to know how to open my 1st ipa file from AS3 ?
    Thanks,

    Hi Sir,
    Thanks for your reply.
    But in that case user need to download 2 applications right. I need user to download my parent application created using Flash and that package contain one more ipa created using Xcode, so from my parent app only user should able to open my 2nd app. Is there any way to do that?
    Ps:  I am not talking about in-app but 2 individual apps inside one package.

  • 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 SQL Developer bug - End of file in comment

    I found another SQL Developer bug in version 3.0.0.4.
    If I try to compile some package from file (so I open file with package body in SQL Developer and assign it to some connection) with this kind of comment: /* comment */ behind end of package, I get this error
    I got Error(1250,28): PLS-00111: end-of-file in commentFunny is, that when the package is compiled directly from the database - it works.
    When I try to compile the package from file with this kind of comment --comment behind the end of package, it also works...                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi, I think I finally got it. This looks like an ugly fat bug :)
    First, we are not using the .sql extensions. For package specification - we use .pks. For package body - we use .pkb.
    Create this script:
    CREATE OR REPLACE PACKAGE TEST_xxx AS
    PROCEDURE TEST_PROCEDURE;
    END TEST_xxx; /*0123456789*/Now save this as e.g. "TEST.pks" file. Open this file in SQL Developer and compile it. You will get the "Error(3,27): PLS-00111: end-of-file in comment".
    Now look at the result in the database -> Open the package specification from the database and you see this:
    create or replace
    PACKAGE TEST_xxx AS
    PROCEDURE TEST_PROCEDURE;
    END TEST_xxx; /*0123456789*The last slash is missing...
    Now go back to the file with the package specification and delete one letter from the comment. Compile it again... it works now.
    It looks like the length of this kind of comment is limited to 9 characters.
    The limitation is there only when:
    1) Compiling from file with different extension than .sql !!! If you rename the file to "TEST.sql", SQL Developer opens it as a script file and runs it as a script, so there is no problem with it.
    2) It has to be this kind of comment: /* */. One line comments are not limited.

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

  • Bluetooth not discoverable iOS 7 - bug or hardware problem?

    Just got an iPhone 5c and Bluetooth is not discoverable at all. For example, in my car when searching for a device it does not find it. Likewise, if I seach for it on another iOS phone, it just doesn't exist.
    I have an iPhone 5 with iOS 7 and that connects fine to the car with no problems at all. I'm thinking this could be a hardware problem, but just wanted to check if it's been reported as a bug by anyone else?

    A bit more on this: 
    When Bluetooth was switched on, but Airdrop set to Contacts Only, the phone was discoverable by the car but did not work correctly - it connects via Bluetooth but the car display shows no signal and cannot make calls through in car audio.
    With Bluetooth switched on but Airdrop set to Off, phone is no longer discoverable by the car
    Frustatingly, I don't have access to both the phone and car to test the final scenario of Bluetooth on and Airdrop set to Everyone to confirm what I suspect will be the case.
    If the final scenario does work, this has to be a pretty significant bug in the software, right?

  • FB3 Beta 3 - another organize imports bug

    I'm getting lucky :-) Here is another organize imports bug in
    FB3 Beta3...
    If you have some simple hierarchy where base class defines
    public (or protected) method, and sub class tries to override this
    method you will encounter this bug. Let say that base class looks
    like this:
    package test {
    import flash.display.Shape;
    public class BaseClass extends Shape {
    public function BaseClass() {
    public function myMethod():void {
    trace("In BaseClass.myMethod()");
    and that sub class looks like this
    package test {
    public class SubClass extends BaseClass {
    public function SubClass() {
    super();
    Now, if you try to override myMethod() from BaseClass and
    start typing in subclass something like
    override public function m
    and use Ctrl+Space, FB will insert appropriate method but it
    will also insert errorneous import statement like this:
    import test.BaseClass.myMethod;
    So you will end up with sub class which looks like following:
    package test {
    import test.BaseClass.myMethod;
    public class SubClass extends BaseClass {
    public function SubClass() {
    super();
    override public function myMethod():void {
    Wrong import is correctly marked as error but issuing
    "organize import" does not remove it so it must be removed
    manually.
    Regards,
    Damir Murat
    PS: Sorry for bad code formatting but there is no option for
    inserting in-line code and attach code is a little bit
    awkward.

    Damir Murat,
    Did you already file a bug for this? If not, would you mind
    adding it to the public bug base so we can track the issue.
    Thanks,
    Peter

  • I want to be able to use airplay to stream audio to another iOS device, and then use that audio stream to be used when recording video instead of the built in microphone / microphone input. Is this possible?

    I want to be able to use airplay to stream audio to another iOS device, and then use that audio stream to be used when recording video instead of the built in microphone / microphone input. Is this possible?

    A third-party app probably cannot obtain a stream from another app. To the best of my knowledge, such a capability is not provided in the software development kit, apps being "sandboxed" from each other and so allowed to communicate only in very specific and limited ways.
    I'm not completely sure what you mean by "limitations on video capture". An iPhone, to the best of my knowledge, can natively record video only through it's built-in camera, and audio while doing video recording only through the built-in microphone or mic/headphone jack. There might be a video recording app that would allow audio input from an external device connected to the dock connector, but I'm not sure.
    Regards.

  • ITunes crashed during transfer purchases now says This computer has previously been synced with an iPhone or another iOS device

    The problem that have started when I was going to sync my iPhone 4 with current iTunes running on 64bit Windows 7.
    I started iTunes and plugged in my iPhone.
    All looked good and the iPhone came up as the device as it should have.
    Next I wanted to transfer purchases prior to syncing so I started the Transfer Purchases process.
    iTunes stopped working during the Transfer Purchases process
    Now when I plug in my iPhone iTunes takes me to the “setup your iPhone” screen and displays “This computer has previously been synced with an iPhone or another iOS device” and only allows me to restore and old backup or setup as new.
    Obviously some files were not closed properly when iTunes crashed during the transfer purchases process, how can I cleanup iTunes so that it will allow me to backup and sync my phone.
    I am a software developer and am sure that a fix is not in the menu options   What I am saying is that I can easily remove or edit corrupt files to get it working.
    Thanks, Mike

    The error message you're seeing is likely the other way around -- i.e. something like "This iPhone has previously been synced with a different computer".   There's no problem syncing multiple iOS devices to the same computer.
    However, the reverse is not true for the iPhone --  you cannot connect an iPhone to another computer without it being erased, even if you manually manage music and video.  So, it sounds like you've been syncing your iPhone to a different computer?
    Also, 5.1 (not 5.0.1) is the latest iOS.

  • Another iPhoto 6 bug

    Amusing but yet another iPhoto 6 bug (6.0.2). Boy, does this program need some work.
    I created a new library, set alias on so it loads from my iView MediaPro layout, and am busy importing. In the information tab on the bottom left, it tells me its busy importing 1595 photos with a total size of 15066192772 GB. I wish.
    iBook 14" 1.42   Mac OS X (10.4.3)   1.5GB

    Paul:
    Did it finish loading the iView files? If so check the size at the bottom. If it's still incorrect and extremely large try rebuilding the library, launch iPhoto with the Command+Option keys depressed, follow the instructions to rebuild the library, while selecting only the database option. That may clear up the problem.
    I didn't note the size when I was importing my iView collection but iPhoto does reports the correct size now.

  • My britness on my iphone 5 was on 100 % and I turn my screen off and after ten min I turn it back on and the screen was on 0% while the britness line on settings was on 100% is it an IOS 6 bug or is my iphone borking???

    My britness on my iphone 5 was on 100 % and I turn my screen off and after  10min i turn it back on and the screen was on 0% while the britness line on settings was on 100% is it an IOS 6 bug or is my iphone broking???

    I've seen that happen sometimes. For me, pressing the lock button to lock it, and then pressing the home button to get to the lock screen reverts it back. If that doesn't work, just move your brightness slider lower and then higher again.

  • How to insert CLEAR SSIS Package in another SSIS Package

    Hi All,
    We have a requirement to run CLEAR SSIS Package in another SSIS Package whish extracts data from Oracle database system. Needed to run CLEAR SSIS Package if data exists in BPC application else run extract to Oracle system. Basically continue with SSIS Package and extract to Oracle system.
    In Outlooksoft 4.2 we didn't have any issue, since all evModify is going to be in DTS Package and we didn't have any issues in placing a condition connection to CLEAR Package. Basically we were running CLEAR Package inside anther DTS Package twice successfully.
    When we tried to create same functionality in SAP BPC 5.1, the code from EVMODIFY not doing correctly in executing the CLEAR inside another SSIS Package.
    If any body knows how to create  SSIS Package with a combination of 2 or more SSIS Packages by taking above scenario, please let me know.
    The basic requirement is, how do we include a SSIS Package in another SSIS Package and use EVMODIFY to run this meta package in SAP BPC 5.1 environment.
    Any information would be appreciated.
    Regards,
    Sreekanth.

    Yes, I have the job , and tried running this, Looks like it started executing.  Will update in next 5 mins if it runs fine.
    Looking at the command it generated, it looks like it is setting few more parameters like LoggingLevel, Synchronized , callerInfo etc.. I believe these should be optional right?
    Also now I have to set two Parameters out of 10 parameters the project takes, If I add additional /Par Project.starttime , will the package pick the values passed from this prompt?
    /ISSERVER "\"\SSISDB\FFF\PPP\Xpackage2.dtsx\"" /SERVER "\".\"" /Par "\"$ServerOption::LOGGING_LEVEL(Int16)\"";1 /Par "\"$ServerOption::SYNCHRONIZED(Boolean)\"";True /CALLERINFO SQLAGENT /REPORTING E

  • Possibly one of the biggest iPhone 5 or iOS 6 bugs - Misuse of Data

    My iPhone 5 keeps sending and receiving data when an iCloud account is configured on the device. It never stops to receive and send data; therefore, this is causing Verizon data overages. The cellular data counter in settings just keeps going up. This occurs when no apps are active. I am averaging about 2 to 3 kb of data a second being used, which adds up. Is this an iOS 6 bug?
    Resetting the phone to factory defaults or uninstalling third party apps does not resolve the issue.

    Just do the Verizon update - Settings > General > About then accept the update & reboot your phone. It should fix your problem

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

  • Any solution to the iOS 6 bug for auto lock function for the iPhone 4S

    Any solution to the iOS 6 bug for auto lock function for the iPhone 4S

    My guess is they don't care. Most likely they're illiterate and don't know what a colon is for. They probably think it's a little-used character. Remember: these are the people who don't know the difference between "deprecate" and "depreciate".
    I have the same colon problem as you do. But it's not the biggest problem I have encountered in Lion. If it was only that I'd be Mr. Delighted with Lion. There's worse than having a colon - uh -  that won't cooperate. A lot worse, in Lion.

Maybe you are looking for

  • Word to PDF Messes Up Formatting

    Hello Forum, I have a Word Document that does not translate exactly the same to PDF when I convert. I'm using Adobe Acrobat Pro.  It is only messing up with one page out of a 43 page document, and it's not a problem with the cover page or anything. 

  • Can't edit the file of sudoers

    Hi guys, i'm following the arch wiki's page for skype, and i must edit the sudoers file for give permissions to user skype but when i do: sudo visudo The editing of file start, but when i touch a key, nothing change. Obviously i can't save or exit..

  • OSX 10.5.8: Should I download Xcode 3.1.4 or install it from the 10.5 DVD?

    Hi there. My Hard Drive recently failed and now I need to reinstall Xcode. (Yes, my important data was backed up, thanks for asking!). I have upgraded OSX back to 10.5.8. Should I download and install Xcode 3.1.4 or install Xcode 3.0 from my 10.5 Ins

  • How to Scroll the UIScrollBar component to the top?

    I'm using the UIScrollBar with a dynamic text field. If content gets scroll by the user, and then the text fiel dis update with new text, the new text remains "pre-scrolled". So, obviously, I want to set the scroll position to 0 every time I update t

  • Is there any license number on Creative cloud apps?

    I am not able to find any license number for the downloaded apps in Creative cloud. When I open the software it says demo mode only- and that I have got 20 days left. It´s no license to find in my account info- only the receipt for the Creatice cloud