Reference: http://qa.blog.163.com/blog/static/190147002201510161119832/
First, the system requirements:
- Mac OS X 10.7 or higher, recommend the latest system
- XCode >= 4.6.3, recommend the latest system
- Apple Developer Tools (iPhone simulator SDK, command line Tools)
Second, download Xcode:
Download AppStore on your own
When installing XCode7, be sure to note whether the current version of OS X is >=10.10.5. (Mine is 10.12)
Third, build Appium environment:
There are two ways to build a appium environment under your Mac: A. Install using the terminal command line; b. Use Appium gui, direct download appium.dmg run can, because NPM download speed is too slow, so finally chose the way of the GUI installation, installation steps are as follows: 1, download appium.dmg file (appium.dmg:http:// Pan.baidu.com/s/1mgcjoji) 2. When the download is complete, double-click the file to install
Build Appium UI Automation environment under Mac