1、下载ios-Tagent:https://github.com/AirtestProject/IOS-Tagent,下载zip包即可
2、解压后用xcode打开,并进行认证,开发者证书可请教iOS客户端研发
4)用数据线连接iPhone至Mac
选择项目,在菜单栏 product
-> Scheme
-> WebDriverAgentRunner
选择设备,在菜单栏 product
-> Destination
-> 选择你的真机
启动Test,在菜单栏 product
-> Test
5)通过 Homebrew 安装iproxy
brew install libimobiledevice
6)运行iproxy
iproxy 8100 8100
启动成功后,可以试着在浏览器访问 ,如果访问成功并且可以看到一些json格式的手机信息,即表示启动成功
7)启动AirTestIDE,devices-iOS APP Connection处填写 点击connect
8)连接成功后AirTest Assistant处点击录制即可针对操作进行脚本录制
本文地址:https://blog.csdn.net/Sabrina_FN/article/details/107991151
您可能感兴趣的文章:
如您对本文有疑问或者有任何想说的,请点击进行留言回复,万千网友为您解惑!
网友评论