iOS-Defining the target device

Ibrahim Ammar's Avatar

Ibrahim Ammar

02 Feb, 2016 07:05 PM

Hello and thank you again for great product !

In GrandleFx Documentation, it is stated that :
Defining the target device
For iOS you have to define the target device. This should be the ios_simulator or handle of the iOS device.

airMobile {
            targetDevice 22
}
You can find the handle of the attached devices with the following command:

> adt -devices -platform ios

The problem is that I am not understanding what should i replace in place of 22 and how to find it.. Any help is appreciated ..

Thank you in advance

  1. Support Staff 1 Posted by Yennick Trevels on 02 Feb, 2016 07:16 PM

    Yennick Trevels's Avatar

    The output of the "adt -devices -platform ios" would be something as follows:

    adt -devices -platform ios
    List of attached devices:
    Handle  DeviceClass DeviceUUID                  DeviceName
       22   iPhone      24d9b6fd...................a861117a7866510  myiPhone
       23   iPod        24d9b6fd...................a861117a7866510
    

    So the handle ids are 22 and 23, these are the numbers you can specify to targetDevice.

  2. 2 Posted by Ibrahim Ammar on 02 Feb, 2016 07:18 PM

    Ibrahim Ammar's Avatar

    One last thing if you please, where can I run adt ? is it inside grandle ? or should locate adt inside AIR SDK ?

  3. Support Staff 3 Posted by Yennick Trevels on 02 Feb, 2016 07:25 PM

    Yennick Trevels's Avatar

    adt is located in the bin directory of the AIR SDK.

  4. 4 Posted by Ibrahim Ammar on 02 Feb, 2016 07:27 PM

    Ibrahim Ammar's Avatar

    ok thank you so much for great help .. Wish you all luck

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

21 Jun, 2017 06:38 AM
10 Jun, 2017 04:16 PM
24 Mar, 2017 07:10 PM
19 Mar, 2017 04:39 AM
22 Jan, 2017 07:46 AM

 

11 Oct, 2016 01:18 PM
20 Sep, 2016 04:36 PM
06 Sep, 2016 08:05 PM
03 Aug, 2016 11:15 AM
01 Jun, 2016 05:20 PM
03 May, 2016 09:17 PM