Skip to content

Commit e882932

Browse files
committed
Added doc for --exists option
1 parent cab5a31 commit e882932

File tree

1 file changed

+11
-6
lines changed

1 file changed

+11
-6
lines changed

README.md

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Install and debug iOS apps without using Xcode. Designed to work on un-jailbroke
99
* Xcode 6.1 should be installed
1010

1111
## Installation
12-
ios-deploy installation is made simple using the node.js package manager. If you use [Homebrew](http://brew.sh/), install node.js:
12+
ios-deploy installation is made simple using the node.js package manager. If you use [Homebrew](http://brew.sh/), install node.js:
1313
```bash
1414
brew install node
1515
```
@@ -34,14 +34,16 @@ $ npm install -g ios-deploy
3434
-L, --justlaunch just launch the app and exit lldb
3535
-v, --verbose enable verbose output
3636
-m, --noinstall directly start debugging without app install (-d not required)
37-
-p, --port <number> port used for device, default: 12345
38-
-r, --uninstall uninstall the app before install (do not use with -m; app cache and data are cleared)
37+
-p, --port <number> port used for device, default: 12345
38+
-r, --uninstall uninstall the app before install (do not use with -m; app cache and data are cleared)
3939
-1, --bundle_id <bundle id> specify bundle id for list and upload
4040
-l, --list list files
4141
-o, --upload <file> upload file
4242
-w, --download download app tree
4343
-2, --to <target pathname> use together with up/download file/tree. specify target
44-
-V, --version print the executable version
44+
-V, --version print the executable version
45+
-e, --exists check if the app with given bundle_id is installed or not
46+
4547

4648
## Examples
4749

@@ -58,7 +60,7 @@ The commands below assume that you have an app called `my.app` with bundle id `b
5860

5961
// Upload a file to your app's Documents folder
6062
ios-deploy --bundle_id 'bundle.id' --upload test.txt --to Documents/test.txt
61-
63+
6264
// Download your app's Documents, Library and tmp folders
6365
ios-deploy --bundle_id 'bundle.id' --download --to MyDestinationFolder
6466

@@ -67,7 +69,10 @@ The commands below assume that you have an app called `my.app` with bundle id `b
6769

6870
// deploy and debug your app to a connected device, uninstall the app first
6971
ios-deploy --uninstall --debug --bundle my.app
70-
72+
73+
// check whether an app by bundle id exists on the device (check return code `echo $?`)
74+
ios-deploy --exists --bundle_id com.apple.mobilemail
75+
7176
## Demo
7277

7378
* The included demo.app represents the minimum required to get code running on iOS.

0 commit comments

Comments
 (0)