launch iOS apps iOS devices from the command line (Xcode 7)
npm install ios-deploy
ios-deploy
==========
Install and debug iOS apps from the command line. Designed to work on un-jailbroken devices.
* macOS
* You need to have a valid iOS Development certificate installed
* Xcode (NOT just Command Line Tools!)
#### Tested Configurations
The ios-deploy binary in Homebrew should work on macOS 10.0+ with Xcode7+. It has been most recently tested with the following configurations:
- macOS 10.14 Mojave, 10.15 Catalina and preliminary testing on 11.0b BigSur
- iOS 13.0 and preliminary testing on iOS 14.0b
- Xcode 11.3, 11.6 and preliminary testing on Xcode 12 betas
- x86 and preliminary testing on Arm64e based Apple Macintosh Computers
See our milestones.
The 1.x branch has been archived (renamed for now), all development is to be on the master branch for simplicity, since the planned 2.x development (break out commands into their own files) has been abandoned for now.
If you have previously installed ios-deploy via npm, uninstall it by running:
```
sudo npm uninstall -g ios-deploy
Install ios-deploy via Homebrew by running:
``
brew install ios-deploy
Run:
``
python -m py_compile src/scripts/*.py && xcodebuild -target ios-deploy && xcodebuild test -scheme ios-deploy-tests
Usage: ios-deploy [OPTION]...
-d, --debug launch the app in lldb after installation
-i, --id
-c, --detect list all connected devices
-b, --bundle
-a, --args
-s, --envs
-t, --timeout
-u, --unbuffered don't buffer stdout
-n, --nostart do not start the app when debugging
-N, --nolldb start debugserver only. do not run lldb. Can not be used with args or envs options
-I, --noninteractive start in non interactive mode (quit when app crashes or exits)
-L, --justlaunch just launch the app and exit lldb
-v, --verbose enable verbose output
-m, --noinstall directly start debugging without app install (-d not required)
-A, --app_deltas incremental install. must specify a directory to store app deltas to determine what needs to be installed
-p, --port
-r, --uninstall uninstall the app before install (do not use with -m; app cache and data are cleared)
-9, --uninstall_only uninstall the app ONLY. Use only with -1
-1, --bundle_id
-l, --list[=
-o, --upload
-w, --download[=
-2, --to
-D, --mkdir
-R, --rm
-X, --rmtree
-V, --version print the executable version
-e, --exists check if the app with given bundle_id is installed or not
-B, --list_bundle_id list bundle_id
-W, --no-wifi ignore wifi devices
-C, --get_battery_level get battery current capacity
-O, --output
-E, --error_output
--detect_deadlocks
-f, --file_system specify file system for mkdir / list / upload / download / rm
-F, --non-recursively specify non-recursively walk directory
-S, --symbols download OS symbols. must specify a directory to store the downloaded symbols
-j, --json format output as JSON
-k, --key keys for the properties of the bundle. Joined by ',' and used only with -B
--custom-script