nativescript
Version:
Command-line interface for building NativeScript projects
40 lines (27 loc) • 1.65 kB
Markdown
<% if (isJekyll) { %>---
title: ns device ios
position: 2
---<% } %>
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`<% } %>
Usage | Synopsis
------|-------
General | `$ ns device ios [--timeout <Milliseconds>]`
<% if((isConsole && (isWindows || isMacOS)) || isHtml) { %>
* `--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.
* You can run `$ ns device ios` on Windows and OS X systems.
Command | Description
----------|----------
[](device.html) | Lists all recognized connected devices with serial number and index, grouped by platform.
[](device-android.html) | Lists all recognized connected physical and running virtual devices with serial number and index.
[](device-list-applications.html) | Lists the installed applications on all connected Android and iOS devices.
[](device-log.html) | Opens the device log stream for a selected connected device.
[](device-run.html) | Runs the selected application on a connected Android or iOS device.
<% } %>