ios黑科技

1.brew

brew 是 Mac 下的一个包管理工具,类似于 centos 下的 yum,可以很方便地进行安装/卸载/更新各种软件包,例如:nodejs, mysql等,可以用来快速搭建各种本地环境,必备工具

安装 brew

首先要通过如下命令安装 brew

安装命令

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

 

2.安装一下必备工具

安装命令

brew update

brew upgreade

brew install aria2

brew install libplist

brew install pcre2

brew install autoconf

brew install libssh2

brew install pkg-config

brew install automake

brew install libtasn1

brew install gdbm

brew install libtool

brew install gettext

brew install libusb

brew install readline

brew install libxml2

brew install Caskroom/cask/android-platform-tools

brew install gmp

brew install libzip

brew install make

brew install --HEAD usbmuxd

brew install isl

brew install xz

brew install mpfr

brew install libmpc

brew install --HEAD libimobiledevice

brew install ideviceinstaller

npm install -g cnpm --registry=https://registry.npm.taobao.org

brew install carthage

gem install xcpretty

 

3.安装.ipa文件

idevice_id

   

idevice_id -l

显示当前所连接的设备[udid],包括 usb、WiFi 连接

 

instruments

   

instruments -s devices

列出设备包括模拟器、真机及 mac 电脑本身

 
     

ideviceinstaller

   

ideviceinstaller -u [udid] -i [xxx.ipa]

给指定连接的设备安装应用

 

ideviceinstaller -u [udid] -U [bundleId]

给指定连接的设备卸载应用

 
安装命令

localhost:~ shimanwang$ idevice_id -l

bf20512646af0f684600485816b99fb709db85ae

ideviceinstaller -u bf20512646af0f684600485816b99fb709db85ae -i /Users/shimanwang/Downloads/iMeituan-9.12.400-20038.20190130202045.ipa 

ios黑科技

上一篇:Spring定时器


下一篇:报错Error configuring application listener of class org.springframework.web.context.ContextConfigLocation