Flash Builder (4.5.1) iOS on-device debug crash

Hi all,
I've got a Flex app that I'm building for an iPAD and I can debug it on the simulator and on the iPad device (if I select 'fast' packaging method).
The problem is when I want to debug on the device using the "Standard" option for packaging (which takes several minutes) or try to do an export release for the iPad, the application starts up and immidiately terminates after the splash screen.
Any clues would be greatly appreciated.
Cheers,
Bashar

Hello Season.W,
I finally managed to resolve this issue. It was due to an xml file that wasn't included in the "package contents" in the "export release build" window.
Imagine you have an "assets" folder in your project where you keep xml files, images, sounds etc. Sometimes the compiler doesn't actually pick up references in the code for these assets especially if you're referencing a file like:
var configFileLocation:String = "assets/xml/config.xml";
The compiler won't pick up the fact that it needs this file so it doesn't include it in the final release. In the release window, just check the "package contents" window to ensure all the necessary files are there. If you notice that they're there but unchecked (there's a tick box), then you can simply tick the checkbox.
Other times you don't even see the asset/file in that window. I read a nice hack to get around this issue. You simply click "back" on the "export release build" window, then go to Windows Explorer (or Finder in Mac) and find the "bin-release-temp" directory. You can copy all the necessary files/assets in there manually. After copying, just go back to the "export release build" window and click "next", you will then be able to see all the files you added in the "package contents". This way you can ensure that your application gets packaged with all the necessary external files.
Phew! I'm so relieved that I found the problem tho.. Thanks for your suggestions as well. I will keep those in mind.
Cheers,
Bashar

Similar Messages

  • Flash Builder doesn't see my ios8 devices

    My dev environment was working fine a couple months back, hadn't made any changes and came back to work on a mobile app.  Now Flash builder cannot see my ios 8 devices.  I think the problem is ios8 and related to provisioning profiles not being installed.  Which of course I can't verify because apple has conveniently removed the ability to see the installed profiles... I have regenerated the provisioning profile and know that the device I am attempting to use is listed.  Honestly this should have even been needed since it was working fine before. 
    Also I can manually install the app on the device using itunes, however the device will not open, again implying that the profile is missing which is causing the issue.
    If anyone has any suggestions please let me know.  This has been very frustrating-- apple always seems to be making things more difficult for those who don't follow their dotted line.
    Also updated my sdk to 4.14.1.
    Thank-you,
    Jonathan

    After I hit run the URL that is shown on Firefox is the last page that I was on, so in this case, 'this' pages url; therefore, has nothing to do with what I'm trying to run. So in this case it would be "http://forums.adobe.com/post!reply.jspa?message=3625965"
    Now as for which version:
    Flash Player version: MAC 10,2,153,1 debugger version
    Mac OS: 10.6.7
    Update: Alright, it seems to have been some Firefox bug. I upgraded to Firefox 4.x on a haunch and somehow it must of reset whatever that was causing the problem and it now works as nornal. Thanks for the help though, appreciated.

  • Flash Builder 4.5 packaging IOS problem

    I use Flash Builder 4.5 package ios app,
    whn i package IPA "on Desktop" is work
    but "on Device" is not work and no error message
    And I can not choose used  Packaging method "standard" or "fast"

    well it looks like the 2 Premium version are available now as in Order but the 2 std versions are on Preorder.
    are you saying you bought it in the last day and downloaded it ?
    otherwise if you downloaded it a while ago iOS was not supported.

  • Flash Builder 4.5 package IOS problem

    I use Flash Builder 4.5 package ios app,
    whn i package IPA on Desktop is work
    but on Device notwork packaging not work and have any message
    And I can not choose used  Packaging method "standard" or "fast"

    well it looks like the 2 Premium version are available now as in Order but the 2 std versions are on Preorder.
    are you saying you bought it in the last day and downloaded it ?
    otherwise if you downloaded it a while ago iOS was not supported.

  • When will Adobe Flash Builder 4.6 support iOS 5.1 and the retina display?

    I have installed Adobe Flash Builder 4.6 along with the Adobe AIR 3.3 SDK and am understanding that there isn't support for iOS 5.1 nor the Retina display devices, is this correct?  If so, when will this be available?  If not, what is a good workaround?
    Thanks,
    N.M.

    note sure if I'm much help other than to CONFIRM it is working for me by using the sdk WITHOUT the compiler. Check out adobe's little note: "Note : Flex users will need to download the original AIR SDK without the new compiler."
    I am using FB 4.7 with AIR 3.6 and seems to compile correctly for iOS.
    Maybe try reinstalling flash builder?
    I honestly don't know if the JRE has anything to do with it... I'm using 1.7 ....to see what JRE you're using, open the Java Control Panel (I right click my java orange icon and hit properties), select the Java tab, then hit "View..."

  • Should I use Flash Builder to develop for iOS?

    We have a sizable AIR application built using Flash Builder 4.5 that is deployed on Windows and Mac. We tried to package it for Android and it simply failed to run at all. Apparently there are many namespaces not supported on Android. We've since stopping concerning ourselves with Android because the vast majority of our clients only care about iPad when it comes to tablets.
    So, the question I have that remains very elusive to me is: do I attempt to build an iPad version of our product on our existing AS3/Flex code base using Flash Builder, or should I port over to xcode and go native iOS? All the marketing I see surrounding Flash Builder says that you can build apps for iPad. But just how practical is this for anything more than trivial apps? Adobe AIR is supported on Android and it failed to work, which doesn't give me much confidence in trying to make this work on an iPad. Now that Adobe is moving away from Flex does it make any sense to even attempt this?
    What say you Adobe?
    Thanks
    Kevin

    autoplay can cause a tremendous amount of problems for site visitors. is it possible that adobe might turn off autoplay?

  • Flash builder 4.5.1 ios build fails with error map failed

    I have built several test app with flash builder 4.5 and now 4.5.1.  I am working on an app for ipad, but when I run a test build it runs for several minutes as if it is going to create the ipa, but then error out and displays the following error message:
    message title: Problem occured
    'Launching [name of configuration] has encountered a problem.
    Error occurred while packaging the application:
    Map failed
    that's it, no other reference.  I have searched for any reference to this problem and haven't been able to find one.  When I first packaged a much simpler version of the app, it created an ipa just fine.
    Can someone help me.
    Thanks

    When I was try to build a debug iOS version, I got this error, too.(release version is ok)
    For the project I was use Flex SDK 4.5.1 and AIR 3 SDK.
    blew is the log, I copyed from {flash builder workspace}/.metadata/.log
    !STACK 0
    java.lang.Exception
              at com.adobe.flexbuilder.project.internal.FlexProjectCore.createErrorStatus(FlexProjectCore. java:1010)
              at com.adobe.flexbuilder.util.logging.GlobalLogImpl.log(GlobalLogImpl.java:66)
              at com.adobe.flexbuilder.util.logging.GlobalLog.log(GlobalLog.java:52)
              at com.adobe.flexide.multiplatform.ios.packaging.IPAPackager.create(IPAPackager.java:220)
              at com.adobe.flexide.multiplatform.ios.launching.IOSOnDeviceLaunchHandler.doPackage(IOSOnDev iceLaunchHandler.java:283)
              at com.adobe.flexide.multiplatform.ios.launching.IOSOnDeviceLaunchHandler.launch(IOSOnDevice LaunchHandler.java:181)
              at com.adobe.flexide.launching.multiplatform.MultiPlatformLaunchDelegate.launch(MultiPlatfor mLaunchDelegate.java:180)
              at com.adobe.flexide.launching.AbstractFlexLaunchDelegate.launch(AbstractFlexLaunchDelegate. java:238)
              at com.adobe.flexide.launching.AbstractFlexLaunchDelegate.launch(AbstractFlexLaunchDelegate. java:132)
              at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:853)
              at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:702)
              at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:923)
              at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1126)
              at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    !ENTRY com.adobe.flexbuilder.project 4 43 2011-11-22 22:10:54.816
    !MESSAGE Error occurred while packaging the application:
    Map failed
    even I try to change sdk with FLEX 4.5 and AIR 2.6, the error was still here.
    And I try to build debug project in Flash Pro. It was OK.
    So I think it was an flashbuilder bug.
    My project only 137Megabytes

  • Flash Builder Burrito - Enabled Geolocation in running device?

    Hi, I am developing a simple app that will show user's geolocation in the map.
    I use code like this:
    protected function view1_creationCompleteHandler(event:FlexEvent):void
         if( Geolocation.isSupported )
               g = new Geolocation();
               g.setRequestedUpdateInterval(100);
               if( g.muted )
                   // Don't do anything if device's sensor is muted.
                    return;
               g.addEventListener(GeolocationEvent.UPDATE,geoLocation_UpdateHandler,false,0,true);
    Then I modified application.xml in project like this (following Ryan Strewart's video in Adobe TV):
    <android>
        <manifestAdditions><![CDATA[
        <manifest android:installLocation="auto">
            <!-- See the Adobe AIR documentation for more information about setting Google Android permissions -->
            <uses-permission android:name="android.permission.INTERNET"/>
            <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
            <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
            <uses-configuration android:reqFiveWayNav="true"/>
            <supports-screens android:normalScreens="true"/>
            <uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/>
        </manifest>
    ]]></manifestAdditions>
      </android>
    Then I use Flash Builder Burrito to install and run application into device. The Geolocation object is muted. Even I turn on all geolocation setting. An interesting thing is, Geolocation is work in Flex de tour Mobile application.
    I use Samsung Galaxy S with Froyo 2.2

    I was able to test the Geolocation object successfully on a Motorola Droid using the following code:
    GeoTest1.mxml:
    <?xml version="1.0" encoding="utf-8"?>
    <s:MobileApplication xmlns:fx="http://ns.adobe.com/mxml/2009"
                         xmlns:s="library://ns.adobe.com/flex/spark" firstView="views.GeoTest1Home">
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
    </s:MobileApplication>
    GeoTest1Home.mxml:
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
            xmlns:s="library://ns.adobe.com/flex/spark" title="Home"
            creationComplete="view1_creationCompleteHandler(event)">
        <fx:Script>
            <![CDATA[
                import flash.sensors.Geolocation;
                import mx.events.FlexEvent;
                private var g:Geolocation;
                protected function view1_creationCompleteHandler(event:FlexEvent):void
                    if( Geolocation.isSupported )
                        g = new Geolocation();
                        g.setRequestedUpdateInterval(100);
                        if( g.muted )
                            // Don't do anything if device's sensor is muted.
                            msg.text = "geo muted";
                            return;
                        msg.text = "geo active";
                        g.addEventListener(GeolocationEvent.UPDATE,geoLocation_UpdateHandler, false,0,true);
                protected function geoLocation_UpdateHandler(event:Event):void
                    msg.text += "\ngeolocation updated";
            ]]>
        </fx:Script>
        <s:Label id="msg" text="foo"/>
    </s:View>
    GeoTest1-app.xml
    <?xml version="1.0" encoding="utf-8" standalone="no"?>
    <application xmlns="http://ns.adobe.com/air/application/2.6">
         <id>GeoTest1</id>
         <filename>GeoTest1</filename>
         <name>GeoTest1</name>
         <versionNumber>1.0.0</versionNumber>
         <initialWindow>
              <content>[This value will be overwritten by Flash Builder in the output app.xml]</content>
         </initialWindow>
         <android>
              <manifestAdditions>
              <![CDATA[
                   <manifest android:installLocation="auto">
                        <uses-permission android:name="android.permission.INTERNET"/>
                        <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
                        <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
                        <uses-configuration android:reqFiveWayNav="true"/>
                        <supports-screens android:normalScreens="true"/>
                        <uses-feature android:required="true" android:name="android.hardware.touchscreen.multitouch"/>
                        <application android:enabled="true">
                             <activity android:excludeFromRecents="false">
                                  <intent-filter>
                                       <action android:name="android.intent.action.MAIN"/>
                                       <category android:name="android.intent.category.LAUNCHER"/>
                                  </intent-filter>
                             </activity>
                        </application>
                   </manifest>
              ]]>
              </manifestAdditions>
         </android>
    </application>
    Please try the above and see if it works.
    -- Tom
    Flex SDK engineer

  • Flash Builder 4.5 and iOS

    Hi,
    I have download Flash Builder 4.5.
    When I install it, I also check 'Air for Apple iOS support' to install it too.
    But when I create a new Flex Mobile Application, at the second page, I can chose the Platform Target be I just have Android and not iOS.
    What do I have to do to create a iOS application?
    Thanks

    Hi,
    You need to create an Actionscript project to see iOS in target application list.
    When you create a mxml mobile project you'll see only android.
    Thanks,
    Tamil

  • Flash Builder 4.5 unable to find the debug version of the Flash Player.

    I'm running into the following error:
    C:\Windows\System32\Macromed\Flash\NPSWF32.dll
    Flash Builder cannot locate the required debugger version of Adobe Flash Player. You might need to install the debugger version of the Flash Player or reinstall Flash Builder.
    Do you want to try to debug with the current version?
    I have already went to the link the dialog box provided to download the debug versions of the Flash Player.  I have installed both the Plugin and AX versions of the debugger.  Restarted all browers, Flash Builder and rebooted the PC for good measure.  I have spent a good amount of time looking for information on this issue.  All the threads that I found that were related to this issue didn't have a workable soution so far.  Hence I'm starting a thread on this problem.
    I'm running Flash Builder 4.5 on Windows Vista 32-bit.  I have tried using both FireFox 3.6.24 and IE 8.0.6001.
    I started with the Trial version then purchased the license online.  I don't know if that has any bearing.
    Any information to diagnose this problem further would be greatly appreciated.

    Hi emat3d,
    Try to uninstall Flash Player with this Adobe uninstaller, please ensure you close all application which might be using Flash Player. Then try to install your Flash Player debugger again. It solved for me.

  • Flash Builder 4.5, Parsley 2.4 and profiling crashing

    Hi,
    I have been having a lot of grief with FB 4.5 profiler failing on a socket connection where I am profiling an app that uses Parsley 2.4. Initially I thought the problem was related to some characterisitic of the application and/or the machine I am profiling from. However, I can across a bug opened on the Parsley 2.4 core.
    http://opensource.powerflasher.com/jira/browse/PSL-658;jsessionid=1C0A79D177980E4E5D0F6D35 F1BA4CAD?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
    Is the finger pointing at FB 4.5 accurate? If so, is there a fix available or planned?
    Thanks,
    Steve

    Well, sort of.  Flash Builder profiler will fail if there are too many objects to profile.  Adding Parsley puts a load on the profiler, but so can any framework or tons of code.
    IMHO, if FlashBuilder is failing (and you’ve tried to give it as much memory as you can) it is actually a sign that your app needs re-factoring so there aren’t as many objects around at any given time.

  • Flash builder 4.5.1 iOS

    Hi, when I select flex mobile project, I just see Android. Why? Where is iOS and Blackberry?
    Thank you!

    Its in the settings screen right after you enter the project.
    If you only see Android then you need to upgrade to 4.5.1
    Flex 4.5 only supported Android, 4.5.1 supports all three
    Dan Pride

  • Flash Builder Burrito Apps on iOS???

    Can someone give a step-by-step on how to package FB Burrito apps for iOS???

    1. Download AIR Packager for iPhone from
    http://labs.adobe.com/technologies/packagerforiphone/
    2. extract it into a directory (for eg. iPkg)
    3. Then Open the cmd prompt and cd to the directory where your SWF and app
    xml exists.
    4. Run the following command (Make sure you have java 1.6 installed.)
    java -jar <path to iPkg>\lib\pfi.jar -package -target ipa-app-store -provisioning-profile <mobileprovision> -storetype pkcs12 -keystore <certificate> -storepass <Cert Password> <outputname.ipa> <app xml> <app swf> <app assets>
    5. You can use various ipa targets like ipa-debug, ipa-test, ipa-app-store
    etc in above command
    Hope This Helps!!
    Thanks,
    Saumitra Bhave.
    AIR-Linux

  • Flash Builder 4.7 Packages AIR iOS Standard Even Without Changes

    "Note: If you have not changed your code or assets since the last debug IPA package was generated, Flash Builder skips the packaging and debugs the application. That is, you can launch the installed application on your device and click Debug to connect to the Flash Builder debugger. This way, you can debug repeatedly without packaging the application every time."
    This appears to not be working in Flash Builder 4.7.  It always worked fine in 4.6.  Basically it packages the application every single time I click Debug, regardless of whether anything was changed.

    Hi Brent, I've got a bug filed in this thread, including a project where I've isolated the probem to a single swc lib:
    http://forums.adobe.com/message/4703810#4703810
    /David

  • Flash Builder and IOS

    When will Flash Builder support IOS and Blackberry OS ???

    An update to support Flex on iOS was released today:
    http://blogs.adobe.com/flex/2011/06/flex-sdk-and-flash-builder-updates-available-adds-ios- and-blackberry-playbook-support.html

Maybe you are looking for

  • Data Reconciliation Data Sources in Business Content

    Can you tell me where we can find these data sources and explain me how to use them? Do we need to define infocube/ods or anything like that to load the data and use report to see the results? Please explain me with one complete scenario. Thanks.

  • Pass a record type vaiable in out parameter of a function in a package

    Hi All, 1.I have created a ecod inside a package. 2.Then created a function which has a out parameter of the above record. 3.Now package body i'm creating a dynamic cursor . 4.My equirement is to fetch this dynamic cursor's value into the out paramet

  • Single key access to email address on file

    I want to insert an email address into a document with a single key entry rather than type the whole thing out each time. Foxfire does this for my name -- how do I set this feature up for other names?

  • Hardware requirement for SAPGui710

    Hi, We are using ECC6.0, Oracle 10g Database, IBM AIX platform. Im wondering what is the recommended hardware specs for its corresponding client. We are using SAPGui710. Thanks

  • Show region on button click

    Hi, I want to show/hide a region when user clicks on a button. I saw the example in "http://apex.oracle.com/pls/otn/f?p=11933:29:3342298547087148" I created a region with static id = "REGION1" I then created a button "Test" with button type as "Templ