1. airtest iOS 自动化测试环境的搭建相对Android 会麻烦一点
首先下载并安装 9.0 版本的 xcode,其他版本的xcode 先卸载然后安装,具体方法自己谷歌
提供 9.0 的 xcode 下载地址 http://www.swift51.com/xcode/9.0.html (这个靠谱一点,我选择的就是这个)
下载后解压就可以用了
2. 安装Xcode Command Line Tools 移步这里
https://blog.youkuaiyun.com/chenyufeng1991/article/details/47007979
3. 安装 webdriveragent
https://github.com/facebook/WebDriverAgent
在这个地方下载下来,然后在项目目录下运行即可
./Scripts/bootstrap.sh
4. 编译 webdriveragent
用 xcode 打开 下载下来的 webdriveragent-master 文件


本文详述了在mac上搭建airtest iOS自动化测试环境的步骤,包括安装9.0版Xcode、Xcode Command Line Tools、WebDriverAgent,配置bundle identifier,设置设备信任应用以及使用iproxy设置代理。成功启动后,可通过http://127.0.0.1:8100在airtest中操控iOS设备。
最低0.47元/天 解锁文章
1337

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



