UNPKG

nativescript

Version:

Command-line interface for building NativeScript projects

40 lines (27 loc) 1.65 kB
<% if (isJekyll) { %>--- title: ns device ios position: 2 ---<% } %> # ns device ios ### Description Lists all recognized connected iOS devices with serial number and index. <% if(isConsole && (isLinux)) { %>WARNING: You can run this command only on Windows and macOS systems. To view the complete help for this command, run `$ ns help device ios`<% } %> ### Commands Usage | Synopsis ------|------- General | `$ ns device ios [--timeout <Milliseconds>]` <% if((isConsole && (isWindows || isMacOS)) || isHtml) { %> ### Options * `--available-devices` - Lists all available emulators for iOS. * `--timeout` - Sets the time in milliseconds for the operation to search for connected devices before completing. If not set, the default value is 4000. <% } %><% if(isHtml) { %>The operation will continue to wait and listen for newly connected devices and will list them after the specified time expires. ### Command Limitations * You can run `$ ns device ios` on Windows and OS X systems. ### Related Commands Command | Description ----------|---------- [device](device.html) | Lists all recognized connected devices with serial number and index, grouped by platform. [device android](device-android.html) | Lists all recognized connected physical and running virtual devices with serial number and index. [device list-applications](device-list-applications.html) | Lists the installed applications on all connected Android and iOS devices. [device log](device-log.html) | Opens the device log stream for a selected connected device. [device run](device-run.html) | Runs the selected application on a connected Android or iOS device. <% } %>