How do debug AIR for iOS

Hello,
I've bought Flash Professional CS6 almost an year ago and I'm trying to debug an app that crashes in iOS devices.
What is the best way to do this?
I would use Adobe Scout but it doesn't exist anymore as a trial since Adobe introduced Creative Cloud.
Please help me?
Thanks

Are you using the option for "Quick publishing for device testing" upon export to test your app? Then it will stay connected to Flash as you use it on your device and give you relevant debugging information.
What is going on in your app around the time it crashes? Are you using any device capabilities (camera, etc), accessing the filesystem, using the net, etc?
What OS are you on? You can test your apps in simulator with instruments running if you're on Mac OSX which can show you a complex but deep heap shot but you should know some obj-c to make good use of it because it names the libraries in use.

Similar Messages

  • Error while debugging AIR for IOS app

    I get the following error when attempting to debug my AIR-IOS app on an IPad 2.
    The weird thing is that the logfile mentioned does not exist.
    Any ideas?
    - Abey
    # A fatal error has been detected by the Java Runtime Environment:
    #  EXCEPTION_UNCAUGHT_CXX_EXCEPTION (0xe06d7363) at pc=0x764db9bc, pid=5400, tid=9024
    # JRE version: 6.0_29-b11
    # Java VM: Java HotSpot(TM) Client VM (20.4-b02 mixed mode windows-x86 )
    # Problematic frame:
    # C  [KERNELBASE.dll+0xb9bc]
    # An error report file with more information is saved as:
    # C:\Users\ABEY~1.LEX\AppData\Local\Temp\AOT1326388929076\hs_err_pid5400.log

    I have the same error.
    The wierd is that the log file doesn't exists.
    Anyway I try everything... to reinstal my Flash Builder, reinstall all versions of java. I even try to make Xmx and Xms bigger size.. but nothing... still got the error.
    If I create new project... then everything works fine... Export Release Build work very well,
    but if I try to Export Release Build for my large project... then this error comes up.
    I look at my code and no find any errors...
    Build for android works as well, the error comes up when I try to build for iOS.
    Please Adobe - give us help how to fix this.
    Thank you

  • How to make an air for ios enterprise distribution Flash CS5.5?

    Hi, There seems to be only:
    Quick publishing for device testing
    Quick publishing for device debugging
    Deployment - Ad hoc
    Deploymnet - Apple App Store
    How does one do Deployment for in-house Enterprise Apps from Flash CS5.5 with AIR for iOS?
    Thanks!

    maweibezahn,
    The plist in step 2 is created so you can download the app onto the device.  This file stands alone, and does NOT need to be included in the app package, but it does need to reside in the same spot on the web server.  Below is an example plist file for an app.  You then access the following link from mobile safari to install:
    <a href="itms-services://?action=download-manifest&url=http://www.myserver.com/myAppPlist.plist">Tap Here to Install myApp On Your iPhone</a>
    ----------myAppPlist.plist------------------------------
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
              <key>items</key>
              <array>
                                  <dict>
                                            <key>assets</key>
                                            <array>
                                                      <dict>
                                                                <key>kind</key>
                                                                <string>software-package</string>
                                                                <key>url</key>
                                                                <string>http://www.myserver.com/myApp.ipa</string>
                                                      </dict>
                                            </array>
                                            <key>metadata</key>
                                                      <dict>
                                                                <key>bundle-identifier</key>
                                                                <string>com.myServer.myApp</string>
                                                                <key>bundle-version</key>
                                                                <string>1.0.0</string>
                                                                <key>kind</key>
                                                                <string>software</string>
                                                                <key>title</key>
                                                                <string>My App Name</string>
                                                      </dict>
                                  </dict>
              </array>
    </dict>
    </plist>

  • How to record a time-limited video with Adobe AIR for iOS

    I am trying to record a time-limited video with Adobe AIR for iOS.
    For example, I want to implement the following function. Start a one-minute timer before launching CameraUI to record video. When the timeout event happens after one minute, stop recording video, close the CameraUI view and obtain the video data so far.
      I have several questions related to that.
      1. How to stop recording video from outside the CameraUI view(in this case, from the timeout event handler) and then close the CemeraUI view? As far as I know, to close the CameraUI view, the only way is to press the [Use Video] button or the [Cancel] button from inside the CameraUI view. Is it possible to close it from outside?
      2. Even if the first problem mentioned above is solved, then how can I get the video data so far(in this case, the video data before the timeout). I know that normally we can get a MediaPromise object from MediaEvent parameter of the  complete handler, and read the video data from the MediaPromise object. But obviously in this case, we can not access the MediaPromise object just because the complete handler itself will not be executed since the [Use Video] button is not pressed.
      3. Is it possible to add a stopwatch to show possible remaining recording time when CameraUI view is open? It seems that the CameraUI automatically uses the full screen of iOS device(in my case, iPad) and there is no extra space to show the stopwatch.
      Are there any solutions or workarounds about the three problem above? I really appreciate it if anyone has any idea about this. Thanks in advance.

    You'd have more control by using the Camera object, showing the camera on a video object inside a Sprite, and capturing that. Then you could put whatever graphics alongside it on the stage.. I've used FlashyWrappers in a test to capture the video to the library.  It took some work, but the test worked well...
    Flash/AIR record videos of your apps and games: Rainbow Creatures

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

  • AIR for iOS: How can I distribute for only Retina Displays?

    I am nearing completion of an app I have designed for iOS and tested on my iPhone 4. I bought a 2nd gen iPhone so I could test on both screen resolutions (320x480 and 640x960) before discovering AIR for iOS does not support very old iOS devices (I believe the rule is it must be iOS 4+).
    My question is how is distribution handled if the app will not run on these older models? Wouldn't people with a 2nd gen iPhone still have access to an app that I publish via AIR for iOS and then be angry when it is not supported on their device? Has anyone run into this issue?

    AIR 2.5+ requires iPhone 3GS+ to run. It's based on the CPU inside that
    device and newer which includes a NEON SIMD coprocessor - a requirement
    of newer AIR builds on all platforms (newer than PFI/AIR 2.0, which
    shipped with Flash Pro CS5.0).
    There should be a "resolution" drop down in the AIR for iOS Settings
    dialog, if you updated your PFI in CS5.0 or upgraded to CS5.5. You can
    select "High" to get iPhone retina display support. This will not enable
    iPad 3 retina support though.
    Kevin N.
    Edit: I didn't make it clear that the device requirements are set in your app, and enforced by the App Store - users on old devices will never see your AIR apps in their app store, and if they link into the App Store, they'll get an explaination of why they can't install the app (it'll be either the OpenGL ES 2.0 requirement, or the CPU requirement - it's similar to if you try to install an iPad only app on an iPhone). Android actually works the same way - old/cheap ARMv6 device users will not see your ARMv7 requiring app in their Google Play/Marketplace app.

  • AIR Debug Launcher Closes on Button Click in AIR for iOS test fla

    Hi,
    I'm working with a Flash CS5.5 AIR for iOS fla using AIR 3.0. Test Movie ---> AIR Debug Launcher (Desktop) worked as expected for a couple of weeks then suddenly began to malfunction. The debug launcher fires up correctly but anytime a button is clicked in the test movie, it closes (but does not shut down completely). I don't know if I've selected something by accident but I can't get it to stop. No problems testing in Flash Professional using an ordinary AS3 fla. Any ideas?
    Thanks!

    Relaxatraja, thanks for trying to help me with this. I've tried testing for Android and for iOS... here's an example of a mobile code snippet that doesn't work in the AIR debug launcher for a contact_mc button I've made.
    Multitouch.inputMode = MultitouchInputMode.TOUCH_POINT;
    contact_mc.addEventListener(TouchEvent.TOUCH_BEGIN, fl_TouchBeginHandler);
    contact_mc.addEventListener(TouchEvent.TOUCH_END, fl_TouchEndHandler);
    var fl_DragBounds:Rectangle = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight);
    function fl_TouchBeginHandler(event:TouchEvent):void
    event.target.startTouchDrag(event.touchPointID, false, fl_DragBounds);
    function fl_TouchEndHandler(event:TouchEvent):void
    event.target.stopTouchDrag(event.touchPointID);
    Am I missing something? Do I need to import classes? Can I only test Multitouch and gestures on an actual device?
    Thanks

  • How many of the apps on the app store are based on AIR for iOS? raw numbers? as a percentage?

    wondering how apps based on the AIR for iOS platform are doing out there in the "real world"
    thanks

    ur restrictions might have been turned on. how? no clue. but that is normally the only reason default apps are not showing on the homescreen.
    u can reset ur home screen layout and see if that helps, turn off restrictions first of course.
    my suggestion... however, is to just reset all settings to get everything at once so to speak. there might have been other settings that were changed on ur ipad that u havnt noticed yet. the reset all settings would get those back to factory default as well.
    to get to those settings
    restrictions: settings>general>restrictions
    reset home screen layout: settings>general>reset>reset homescreen layout
    reset all settings: settings>general>reset>reset all settings

  • How to enable sampler in telemetry options at AIR for iOS Settings?

    Hi,
    I'm just trying the new Flash CC, and a very good feature is to monitor an iOS app using adobe scout.
    But when I export an app, in the AIR for iOS Settings, I always see "Enable sampler" option disabled. How can I enable the option?
    Thanks.

    Hi ,
    To enable the sampler option you need to set it in the Publish Settings dialog. Open the Publish Settings Dialog and select the "Enable detailed telemetry" option under the advanced section for the Flash(.swf) option.Now you will find the Telemetry option for enable sampler enabled in the AIR for iOS dialog.
    Thanks and Regards,
    Sudeshna Sarkar
    Adobe Flash Professional Team

  • How to reduce suttering in Air for iOS GPU mode?

    My game currently runs at 60FPS on iPad 2 and has no problem regarding rendering speed but I'm rather annoyed by constant stuttering which causes the game to stop for 0.1-0.5 sec  once in a while. The stuttering behavior is similar to when garbage collector is ran and I supposed it is casued by GPU memory swapping as my game uses lots of bitmapdata.
    Problem is that my game transits one scene to another scene seamlessly without stopping animations in the game screen by letting old game scene sliding out of the screen and new scene sliding in. So there's no time to preload/precache graphics assets used in the new scene. After transitting different scenes a few times, the game starts stuttering when trying to show new images.
    My game works fine without stuttering on old PCs but on iPad2 it is quite obvious. Could anyone tell me some tips to reduce stuttering when using Air for iOS? In the game, all vector graphics are pre-drawn to bitmapdata(so no vector graphics are shown) and the size of graphic assets each scene has is about 2048*1024 pixels. There are about 10 scenes. On top of that, there are common interface graphic assets which are used in all scenes and the size is about 30x 400*400 pixels.
    I know the game uses quite a lot of graphic resources. Making the game preload the assets before transitting to a new scene will eliminate stutter but I'd still like to see if I can keep the seamless scene transition on iOS.
    I'm currently using Air3.5 + Flash CS6.
    * I mean preloading/precaching by actually displaying( addChild and visible=true)  them on stage and make time for GPU to cache. All the actual graphic data are already loaded.

    Some things that might help:
    I've heard that textures are uploaded as square textures on iOS. I'm not certain that really happens, but if it does then having two 1024x1024 textures would be better than one 2048x1024, because that would end up actually taking 2048x2048.
    Bitmaps are sent to the GPU when they first hit the stage, and it takes a significant amount of time for them to get there. If you are timeline animating a transition to the next scene, stagger the graphics that are going to be appearing next. That is, before you start to move on to the next area have the biggest bitmap of the next are already touching the edge of the stage. It can be invisible, or underneath another graphic, it will still get uploaded. But if you tween in all of the graphics exactly when they are needed, they will take a while to upload.
    Dispose of the bitmaps that are no longer in the scene. I think your stuttering is because you're going into a new area that has a lot of new graphics, and the GPU still has the bitmaps from the current scene and the one before that, and so has to spend time freeing up the memory before taking the new bitmaps. If you had already disposed of them the GPU might not need to clear memory for you.
    There is System.gc(). That will force the system to garbage collect, which you could do at moments that there isn't anything animating.

  • How to make external SWFs garbage collected in Air for iOS?

    My app uses lots of external SWFs( well they are actually included in the app with a folder but they aren't embeded ) and they do not contain any bitmapdata, only vector graphics. The problem I'm having is that they seem to be never garbage collected and System.privateMemory keeps increasing as the app loads more SWFs.
    Since those SWFs only contain vector graphics, I simply nullify all the variables that are holding reference to SWF file and call System.gc().. But it doesn't seem to be working. What would I need to do for the garbage collector to clean the SWFs?
    I'm using Air for iOS 3.5.0.1060 and ActionScript3.0.

    Yes I'm calling System.gc() twice. I tried using loader.unloadAndStop(true) and it seems SWFs are being garbage collected but another problem has surfaced. When repeatedly loading and unloading SWF in a short period, the air garbage collector sometimes fails to work.
    I've tested loading and unloading same SWF 50k times and checked trace.  Occasionally, garbage collector misses to collect garbage like below( swf #45119 is not being garbage collected).
    [UnloadSWF] main.swf/[[DYNAMIC]]/45115
    [UnloadSWF] main.swf/[[DYNAMIC]]/45116
    [UnloadSWF] main.swf/[[DYNAMIC]]/45117
    [UnloadSWF] main.swf/[[DYNAMIC]]/45118
    [UnloadSWF] main.swf/[[DYNAMIC]]/45120
    [UnloadSWF] main.swf/[[DYNAMIC]]/45121

  • Uploading AIR for IOS thru Application Loader I get the following error - The package does not contain an Info.plist.

    I'm publishing an .fla in AIR for IOS.
    I'm in CC 2014 so first I need to know which AIR should I publish in?
    newest is AIR 14.0.0.178 for IOS
    IOS deployment type is App Store
    publishes with no error.
    I see the following files included .swf and app.xml
    I convert the .ipa to a zip file
    Upload that thru the Application Loader I get the following error
    The package does not contain an Info.plist.
    Where is the infoplist for this and do I convert the .ipa and the info to a zip file?
    I converted the .ipa to a .zip and the intoplist file is NOT THERE  how do I generate this?
    Any help here?

    Ok this is becoming very very frustrating as I have been at this for hours now. So the only way to explain this is to write what I did step by step as I have to be doing something wrong, just to recap:
    I was publishing from Flash CC 2014 using AIR 14.0 and getting Digital Certificate is not valid message.
    Was instructed to download new AIR 17 , I did this installed into Flash and used to publish.
    I used my previous p12, app ID and distribution certificates all generated properly.
    The file worked ONCE but I got an app ID error ( I understood I used the wrong app ID)
    I changed it to the right app ID and the very next time and after 10 attempts I got the same error  Digital Certificate is not valid
    SO I then downloaded AIR 16.0
    RE DID ALL MY CERTIFICATES AND P12'S
    went to publish and I STILL GET THE SAME MESSAGE   Digital Certificate is not valid

  • Unicode characters appear as      (boxes) in AIR for IOS

    I am developing an application for iPhone and it has an input Text box. (Placed on stage from flash CS6). In the Desktop emulator everything works fine. But, on the actual phone, everything I type appears as       . But surprisingly, when I am inputting the text, (i.e. the textbox is in edit mode) the characters are displayed correctly. But as soon as I leave the box it appears as       . Is there someway I can display the text the same way it is displayed during the edit mode?
    I am trying to input Devanagari देवनागरी characters.
    P.S. I did some research on this and found that, if I specify the  font for the textbox = "DevanagariSangamMN" then there is some improvement.
    I say improvement becasue althought the boxes       are replaced by actual characters , they aren't correctly formated.
    For e.g. during edit mode the text appears as this: कार्यकर्ता
    But as soon as I leave the textbox it appears as this: कार्यकर्ता (I typed this here by adding special unicode characters ZWNJ so that characters won't join)
    Anyway, I don't like the idea of having to specify font names? What If some user would like to input chinese, how would I know what chinese font to use?
    Isn't there some way to let IOS handle things, (just like how it handles things when I am inputing text).
    Thanks.

    Thanks to everyone who replied.
    The conclusiver answer is that there are only 2 ways to display H264 video in AIR for IOS
    (more info here http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/net/NetStream.htm l#play%28%29)
    1. Progressive download
    2. HLS format (slight caveat, in my tests at least, OSMF 1.6.1 does'nt handle this, but if you use the NetStream directly with StageVideo enabled it works)
    Updated Matrix is :
    FMS 4.5 H.264 Streaming test matrix
    RTMP
    HDS
    HLS
    HTTP Progressive Download
    AIR for Android
    Yes
    Yes
    No
    Yes
    AIR on Windows (Desktop)
    Yes
    Yes
    No
    Yes
    AIR on IOS
    No
    No
    Yes
    Yes
    Safari Browser on IOS
    No
    No
    Yes
    No

  • Air for Ios doesn't compile actionscript

    Hi guys,
    I'm having a big problem... I'm developing a game to be published to web, ios, android. If I export the swf for the web or the apk for android everything is ok but when I try to package the swf using air for ios the swf doesn't contains any actionscript, the compilation is very fast and the swf is smaller, also if I try to debug the fla nothing happen because no code is compiled. This is started in the last two month, before I was able to package also to ios and I was able to create an ipa that I sent to apple store but now I need to modify the app and I can no more compile it. I have browsed the forum and read something about the umcompiled actionscript problem but I didn't load any external swf, I just use urlloader to load an xml and some images. I'm using flash cs5.5. Someone have some suggestion?

    If you are using Flash Professional.. I would just create a new FLA .. copy over your library assets, etc.   Make sure to point to your certificates and provisioning files, etc.. and recompile.
    Were you using an old version of AIR previously and have the new AIR SDK installed now ?
    I have found that compiling the IPA with ADT from the command line is much better than compiling from the IDE and allows you to use the iOS5.1 SDK instead of iOS4.

  • WEB PAGE'S LOADING INTO AN AIR FOR iOS PROJECT

    Hi!
    I have a complicated problem. I try to find a solution everywhere but I didn’t find anything.
    I’m creating a project Air for iOS with Flash CS5 and Flash CS6. I need to find somebody that know how to upload a web page inside an app.
    I try to explain better. There is yet a task for upload an html link, but it just work in a new browser window. In this way, every time I want to see a web page, the app will be close. Is it possible to import all the web page inside the Air for ios project, and not in an external window?
    I'd like the result is like this:
    Thanks a lot.

    hi....
    i used StageWebView class and i wrote this code:
    var webView:StageWebView = new StageWebView();
    webView.viewPort = new Rectangle( 0, 0, this.stage.stageWidth, this .stage.stageHeight);
    webView.stage = this.stage;
    webView.loadURL( "http://www.adobe.com" );
    The web page opens correctly without using the browser but it opens into all project's frames.
    Is it possible to open the web page only in the frame one (for example) ????
    Thanks a lot!!!!!!!!!!!!!!!!!

Maybe you are looking for

  • How to run a java program using additional jar files

    Hi everyone in the forum, i ve created an app using the hFreeChart in eclipse, so i added them as external jar files and tested the program. now my problem is that the program should run using a terminal in win and i do not know how can i do to make

  • How to restrict AS02 access to certain fields only

    How to restrict AS02 (Asset Master Record) access to certain fields only. Currently when you assigned AS02 to a certain user, this will enable the user to change all the fields in the asset master record. Suppose i want only the user to restrict the

  • Lenovo C560 with Windows 8.1 (16-gb RAM) will not successfully load Windows Movie Maker

    I loaded Windows Movie Maker 12 with Windows Essentials.  -This is exactly the same setup I am using on a HP desktop at work with Windows 8.1, but for some reason my C560 keeps giving me a "low memory" warning and will not load a AVI clip.  -Worse, a

  • Csv with double quotes

    Hello, I've had harsh time trying to figure out how to read a csv file with double quotes, I need to read a csv file in order to fill a spreadsheet. I attach a csv file example to show the sort of file I'm working on. Thank you Raymundo Cassani Solve

  • BlackBerry Messenger Won't Open

    Hi!! I've been trying to open my BBM to use it for the past day and it will not open at all. Sometimes previously I've got the 'Error' message but this time, absolutely nothing, the application just won't open at all. I've reinstalled BBM at least th