Skip to content

Commit 551cdc5

Browse files
committed
Added docs for --no-wifi option
1 parent 94d56d7 commit 551cdc5

File tree

1 file changed

+29
-25
lines changed

1 file changed

+29
-25
lines changed

README.md

Lines changed: 29 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -51,31 +51,32 @@ If you are *not* using a node version manager like [nvm](https://github.com/crea
5151
## Usage
5252

5353
Usage: ios-deploy [OPTION]...
54-
-d, --debug launch the app in GDB after installation
55-
-i, --id <device_id> the id of the device to connect to
56-
-c, --detect only detect if the device is connected
57-
-b, --bundle <bundle.app> the path to the app bundle to be installed
58-
-a, --args <args> command line arguments to pass to the app when launching it
59-
-t, --timeout <timeout> number of seconds to wait for a device to be connected
60-
-u, --unbuffered don't buffer stdout
61-
-n, --nostart do not start the app when debugging
62-
-I, --noninteractive start in non interactive mode (quit when app crashes or exits)
63-
-L, --justlaunch just launch the app and exit lldb
64-
-v, --verbose enable verbose output
65-
-m, --noinstall directly start debugging without app install (-d not required)
66-
-p, --port <number> port used for device, default: 12345
67-
-r, --uninstall uninstall the app before install (do not use with -m; app cache and data are cleared)
68-
-9, --uninstall_only uninstall the app ONLY. Use only with -1 <bundle_id>
69-
-1, --bundle_id <bundle id> specify bundle id for list, upload, and uninstall_only
70-
-l, --list list files
71-
-o, --upload <file> upload file
72-
-w, --download download app tree
73-
-2, --to <target pathname> use together with up/download file/tree. specify target
74-
-D, --mkdir <dir> make directory on device
75-
-R, --rm <path> remove file or directory on device (directories must be empty)
76-
-V, --version print the executable version
77-
-e, --exists check if the app with given bundle_id is installed or not
78-
-B, --list_bundle_id list bundle_id
54+
-d, --debug launch the app in lldb after installation
55+
-i, --id <device_id> the id of the device to connect to
56+
-c, --detect only detect if the device is connected
57+
-b, --bundle <bundle.app> the path to the app bundle to be installed
58+
-a, --args <args> command line arguments to pass to the app when launching it
59+
-t, --timeout <timeout> number of seconds to wait for a device to be connected
60+
-u, --unbuffered don't buffer stdout
61+
-n, --nostart do not start the app when debugging
62+
-I, --noninteractive start in non interactive mode (quit when app crashes or exits)
63+
-L, --justlaunch just launch the app and exit lldb
64+
-v, --verbose enable verbose output
65+
-m, --noinstall directly start debugging without app install (-d not required)
66+
-p, --port <number> port used for device, default: dynamic
67+
-r, --uninstall uninstall the app before install (do not use with -m; app cache and data are cleared)
68+
-9, --uninstall_only uninstall the app ONLY. Use only with -1 <bundle_id>
69+
-1, --bundle_id <bundle id> specify bundle id for list and upload
70+
-l, --list list files
71+
-o, --upload <file> upload file
72+
-w, --download download app tree
73+
-2, --to <target pathname> use together with up/download file/tree. specify target
74+
-D, --mkdir <dir> make directory on device
75+
-R, --rm <path> remove file or directory on device (directories must be empty)
76+
-V, --version print the executable version
77+
-e, --exists check if the app with given bundle_id is installed or not
78+
-B, --list_bundle_id list bundle_id
79+
-W, --no-wifi ignore wifi devices
7980

8081
## Examples
8182

@@ -84,6 +85,9 @@ The commands below assume that you have an app called `my.app` with bundle id `b
8485
// deploy and debug your app to a connected device
8586
ios-deploy --debug --bundle my.app
8687

88+
// deploy and debug your app to a connected device, skipping any wi-fi connection (use USB)
89+
ios-deploy --debug --bundle my.app --no-wifi
90+
8791
// deploy and launch your app to a connected device, but quit the debugger after
8892
ios-deploy --justlaunch --debug --bundle my.app
8993

0 commit comments

Comments
 (0)