注:可先看airtest 的官网搭建流程http://airtest.netease.com/docs/cn/2_device_connection/4_ios_connection.html
一. 环境准备工作
- 准备工作:mac本一台(macos版本:10.14.5)、iPhone 测试机一台(IOS版本:12.4)(虚拟机也可以)
二.搭建环境:
- xcode 安装(我下载的最新的 11 版本,可根据自身的 OS 、IOS系统版本下载对应的 xcode 版本)
- 官网下载 AirtestIDE,安装
- 官网下载 IOS-Tagent(webdriverAgent 的优化版)
git clone git@github.com:AirtestProject/iOS-Tagent.git
三.启动 IOS-Tagent 服务
- Xcode打开IOS-Taget项目 下的 WebDriverAgent.xcodeproj(file-open-选择WebDriverAgent.xcodeproj-open)