Mac+appium+iOS 環境搭建,需要用到的信息如下,參考搭建環境。
1、安裝brew,安裝介紹:https://jingyan.baidu.com/article/fec7a1e5ec30341190b4e7e5.html
2、安裝完brew,安裝操作方法:https://jingyan.baidu.com/article/fec7a1e5ec30341190b4e7e5.html,輸入命令:brew install node,安裝之后輸入node -v和npm -v來查看node.js和nmp是否安裝成功
3、安裝appium客戶端: pip install Appium-Python-Client
4、安裝Xcode,下載路徑:https://developer.apple.com/download/more/
4.1、安裝完成之后記得配置Xcode中的環境:參考:http://www.7forz.com/2973/,若在添加了賬號后不出現certificate,點擊build setting 把下面的下拉框點擊選中ios Developer
4.2、還需安裝Xcode Command Line Tools,命令行執行:xcode-select --install 出現的彈框選中“安裝”安裝完成即可。
5、安裝appium 1.7.2,下載路徑:https://github.com/appium/appium/releases
下載完成之后,將appium 1.7.2放入到python的site-packages的目錄下
全紫色1.7.2下載地址:https://github.com/appium/appium-desktop/releases
7、安裝appium-doctor來檢測appium的環境是否ok(翻牆)
npm install -g appium-doctor
8、檢查iOS的環境配置是否成功,終端輸入:
appium-doctor --ios
9、xcode中的相關配置
10、capabilities的相關配置介紹鏈接:https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/caps.md

11、
