码迷,mamicode.com
首页 > 移动开发 > 详细

ios-deploy命令

时间:2017-05-17 16:04:37      阅读:410      评论:0      收藏:0      [点我收藏+]

标签:nec   its   ash   star   UI   应用安装   move   arguments   load   

-d, --debug                  launch the app in lldb after installation
  -i, --id <device_id>         the id of the device to connect to
  -c, --detect                 only detect if the device is connected
  -b, --bundle <bundle.app>    the path to the app bundle to be installed
  -a, --args <args>            command line arguments to pass to the app when launching it
  -t, --timeout <timeout>      number of seconds to wait for a device to be connected
  -u, --unbuffered             don‘t buffer stdout
  -n, --nostart                do not start the app when debugging
  -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)
  -p, --port <number>          port used for device, default: dynamic
  -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 <bundle_id>
  -1, --bundle_id <bundle id>  specify bundle id for list and upload
  -l, --list                   list files
  -o, --upload <file>          upload file
  -w, --download               download app tree
  -2, --to <target pathname>   use together with up/download file/tree. specify target
  -D, --mkdir <dir>            make directory on device
  -R, --rm <path>              remove file or directory on device (directories must be empty)
  -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

如将某个应用安装到设备上可用:

ios-deploy -L -b xxx.app -i udid -W 或者

ios-deploy -d -b xxx.app -i udid -W

将某个app从设备上卸载:

ios-deploy -9 -1 <bundle_id>

ios-deploy命令

标签:nec   its   ash   star   UI   应用安装   move   arguments   load   

原文地址:http://www.cnblogs.com/ppsunlight/p/6867907.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!