1、iproxy 8100 8100 #手机端口代理到电脑本地端口
2、wdaproxy 8100 8100 # 远程IP映射 安装 brew install openatx/tap/wdaproxy
3、idevice_id -l #查看当前连接的设备
4、idevicesyslog #记录手机系统日志
脚本方式:
with open(iphone_logpath,w) as f:
subprocess.Popen(['idevicesyslog ','-u','uuidxxxxxxxxx'].stdout=f)
5、ideviceinstaller -u [udid] -i [xxx.ipa] #安装软件
6、ideviceinstaller -u [udid] -U [bundleId] #卸载软件
7、查看软件信息
ideviceinfo -u [udid] # 指定设备,获取设备信息
ideviceinfo -u [udid] -k DeviceName # 指定设备,获取设备名称:iPhone6s
idevicename -u [udid] # 指定设备,获取设备名称:iPhone6s
ideviceinfo -u [udid] -k ProductVersion # 指定设备,获取设备版本:10.3.1
ideviceinfo -u [udid] -k ProductType # 指定设备,获取设备类型:iPhone8,1
ideviceinfo -u [udid] -k ProductName # 指定设备,获取设备系统名称:iPhone OS
8、查看串口号:ls /dev/tty.*
1万+

被折叠的 条评论
为什么被折叠?



