Skip navigation
valckin
Currently Being Moderated

Debugging iOS via USB does not working?

Apr 10, 2012 2:07 PM

Tags: #air #usb #action_script_3;ios #debug #3.3 #usb_debugging #air_3.3

I dont have problem to compile the ANDROID and IOS packages, but I can connect via USB to debugging on IOS, the compiler returns a error 12 "Invalid device ID", but the ID is right...

here's part of my ant file;

 

 

<target name="install-ios" depends="uninstall-ios">

          <exec executable="${ADT}" failonerror="true">

                    <arg line="-installApp

                                                  -platform

                                                  ios

                                                  -platformsdk

                                                  ${IOS_SDK}

                                                  -device

                                                  xxx

                                                  -package

                                                  ${ios-deploy}"/>

          </exec>

</target>

 

 

<target name="launch-ios" depends="install-ios">

          <exec executable="${ADT}" failonerror="true">

                    <arg line="-launchApp

                                                  -platform

                                                  ios

                                                  -platformsdk

                                                  ${IOS_SDK}

                                                  -device

                                                  xxx

                                                  -appid

                                                  ${project-package}.${project-alias}"/>

          </exec>

</target>

 

 

Anyone have any idea?

 

cheers,

valck

 
Replies
  • Currently Being Moderated
    Apr 23, 2012 4:21 AM   in reply to valckin

    Hi Valkin,

     

    The installation, uninstallation and launch of  application on iOS is not supported as of now. The only support is for USB debugging. So on needs to install the application pacakged with -listen <port> option using iTunes and then use idb -forward to forward the port from desktop machine to device and then use FDB for debugging the application.

     

    Also the debugging support is also not avaialbe in the FlashBuilder as of now, so one needs to do it from the commandline.

     

    Hope this helps,

    -rajat

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points