ios命令行调试工具ios-deploy

1 ios-deploy

不依赖于XCODE,进行安装和调试IOS应用程序,可以工作在非越狱的设备
官网: https://www.npmjs.com/package/ios-deploy
github: https://github.com/ios-control/ios-deploy

2 Requirements

  • Mac OS X. Tested on 10.11 El Capitan, 10.12 Sierra, iOS 9.0 and iOS 10.0
  • You need to have a valid iOS Development certificate installed.
  • Xcode 7 or greater should be installed (NOT Command Line Tools!)

3 install For MacOS

brew install node  # 需要先安装node环境    
npm install -g ios-deploy    # 安装 ios-deploy 

4 Usage

Usage: ios-deploy [OPTION]...
-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
--detect_deadlocks <sec>     start printing backtraces for all threads periodically after specific amount of seconds
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

  • PLEASE READ THE FOLLOWING APPLE DEVELOPER PROGRAM LICENSE...
    念念不忘的阅读 14,601评论 5 6
  • 1、通过CocoaPods安装项目名称项目信息 AFNetworking网络请求组件 FMDB本地数据库组件 SD...
    阳明AI阅读 16,054评论 3 119
  • 对于我的生活圈子来讲,周边的人大多是雇员型,偶尔有那么几个可以称为自由职业者的朋友,也是所谓的“私企”,是企业实际...
    未竹阅读 1,243评论 0 0
  • 2015.1.26乌托邦开始聊起来了,来看看我们的聊天的大略内容~ 1.技能认领,各有所长 2.Caos:一起维护...
    小贤爱写作阅读 3,207评论 5 2
  • 空巴这个词之前对我来说是非常陌生的,我特意查了电脑,コンバ联欢会的意思,类似于喝酒的聚会。 我们这次空巴也非常成功...
    潘吉安阅读 1,540评论 0 1

友情链接更多精彩内容