ios ideviceintaller安装

Posted singleSpace

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了ios ideviceintaller安装相关的知识,希望对你有一定的参考价值。

1.安装步骤

1.1 安装brew

打开终端输入:

 /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 

1.2 添加环境变量:

sudo vi /etc/profile,修改如

BREW_HOME="/usr/local/bin" #添加BREW_HOME
PATH=".$PATH:$JAVA_HOME/bin:$BREW_HOME" #追加BREW_HOME
### 1.3 安装node ```#shell brew install node node -v #查看node版本 npm -v #查看npm版本 ``` ### 1.4 开始安装ideviceinstaller环境 ```#shell brew install carthage npm i -g ios-deploy brew install libimobiledevice --HEAD brew install ideviceinstaller #使用brew安装时,如果出现update home brew 直接control C退出更新 ``` ## ideviceinstaller使用 -u, --udid UDID 根据设备的udid选择设备Target specific device by its 40-digit device UDID. -l, --list-apps 列出安装的应用List apps, possible options: -o list_user - list user apps only (this is the default) -o list_system - list system apps only -o list_all - list all types of apps -o xml - print full output as xml plist -i, --install ARCHIVE 安装ipa包 Install app from package file specified by ARCHIVE. ARCHIVE can also be a .ipcc file for carrier bundles. -U, --uninstall APPID 卸载应用Uninstall app specified by APPID. -g, --upgrade ARCHIVE Upgrade app from package file specified by ARCHIVE. -L, --list-archives List archived applications, possible options: -o xml - print full output as xml plist -a, --archive APPID Archive app specified by APPID, possible options: -o uninstall - uninstall the package after making an archive -o app_only - archive application data only -o docs_only - archive documents (user data) only -o copy=PATH - copy the app archive to directory PATH when done -o remove - only valid when copy=PATH is used: remove after copy -r, --restore APPID Restore archived app specified by APPID -R, --remove-archive APPID Remove app archive specified by APPID -o, --options Pass additional options to the specified command. -h, --help prints usage information -d, --debug enable communication debugging FAQ: 1.运行itools时,执行ideviceinstaller命令,出现“Could not start com.apple.mobile.installation_proxy!”,如 解决方法:退出itools即可 2.iOS开发者模式如何打开 直接编译一个应用

以上是关于ios ideviceintaller安装的主要内容,如果未能解决你的问题,请参考以下文章

iOS代码片段CodeSnippets

IOS开发-OC学习-常用功能代码片段整理

iOS xcode 代码片段

iOS常用于显示几小时前/几天前/几月前/几年前的代码片段

java内存流:java.io.ByteArrayInputStreamjava.io.ByteArrayOutputStreamjava.io.CharArrayReaderjava.io(代码片段

iOS开发CGRectGetMidX. CGRectGetMidY.CGRectGetMinY. CGRectGetMaxY. CGRectGetMinX. CGRectGetMaxX的使用(代码片段