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

ios ideviceintaller安装

时间:2018-09-20 13:50:03      阅读:589      评论:0      收藏:0      [点我收藏+]

标签:终端   ali   rem   shel   orm   tor   control   更新   one   

1.安装brew
打开终端输入:

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

添加环境变量:
sudo vi /etc/profile,修改如

BREW_HOME="/usr/local/bin" #添加BREW_HOME
PATH=".$PATH:$JAVA_HOME/bin:$BREW_HOME" #追加BREW_HOME

技术分享图片
2.安装node

brew install node
node -v #查看node版本
npm -v #查看npm版本

3.开始安装ideviceinstaller环境

brew install carthage
npm i -g ios-deploy
brew install libimobiledevice --HEAD
brew install ideviceinstaller
#使用brew安装时,如果出现update home brew 直接control C退出更新

4.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即可

ios ideviceintaller安装

标签:终端   ali   rem   shel   orm   tor   control   更新   one   

原文地址:https://www.cnblogs.com/csj2018/p/9680224.html

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