1.python安装,环境变量配置
2.安装Xcode Command Line Tools 移步这里
https://blog.csdn.net/chenyufeng1991/article/details/47007979
3.安装 webdriveragent
https://github.com/facebook/WebDriverAgent(官网的这个webdrvieragent好像有问题,我是通过别人给我的ios-Tagent-master)
在这个地方下载下来,然后在项目目录下运行即可
./Scripts/bootstrap.sh
4. 编译 webdriveragent
用 xcode 打开 下载下来的 webdriveragent-master 文件