macos配置appium,看这个比啥都强!
2020-02-18 本文已影响0人
安森老叔叔
以下假设你已经安装了brew以及npm。
需要安装:
1、nodejs——$brew install node
2、Xcode——安卓sdk(安卓系统是依赖于java环境,macos一般内置)
如果没有platform等,记得按照sdk内的readme文件进行更新。
3、Appium——客户端https://github.com/appium/appium-desktop/releases/
配置appium中的configuation——安装完xcode会自动将安卓路径添加到环境中

4、appium-doctor——检查环境,查漏补缺:npm install -g appium-doctor
5、其他依赖——
brew install libimobiledevice --HEAD //相当于 android 的 adb,是 Appium 底层用到的工具之一,用于获取 iOS 设备信息
npm install -g ios-deploy //查看设备应用
brew install carthage //类似于 java 的 maven,项目依赖管理,主要是 WebDriverAgent 使用