@@ -9,7 +9,7 @@ Install and debug iOS apps without using Xcode. Designed to work on un-jailbroke
9
9
* Xcode 6.1 should be installed
10
10
11
11
## 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:
13
13
``` bash
14
14
brew install node
15
15
```
@@ -34,14 +34,16 @@ $ npm install -g ios-deploy
34
34
-L, --justlaunch just launch the app and exit lldb
35
35
-v, --verbose enable verbose output
36
36
-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)
39
39
-1, --bundle_id <bundle id> specify bundle id for list and upload
40
40
-l, --list list files
41
41
-o, --upload <file> upload file
42
42
-w, --download download app tree
43
43
-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
+
45
47
46
48
## Examples
47
49
@@ -58,7 +60,7 @@ The commands below assume that you have an app called `my.app` with bundle id `b
58
60
59
61
// Upload a file to your app's Documents folder
60
62
ios-deploy --bundle_id 'bundle.id' --upload test.txt --to Documents/test.txt
61
-
63
+
62
64
// Download your app's Documents, Library and tmp folders
63
65
ios-deploy --bundle_id 'bundle.id' --download --to MyDestinationFolder
64
66
@@ -67,7 +69,10 @@ The commands below assume that you have an app called `my.app` with bundle id `b
67
69
68
70
// deploy and debug your app to a connected device, uninstall the app first
69
71
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
+
71
76
## Demo
72
77
73
78
* The included demo.app represents the minimum required to get code running on iOS.
0 commit comments