Appium Mobile Automation Testing-Java-based iOS environment building

Source: Internet
Author: User
Tags install homebrew install node appium

This article is for reference only and thanks to my colleagues who helped me build my environment.

Name of the operating system: MAC OS X
Version of operating system: 10.12.6

Next we started to set up the road to build Appium+java+ios, this article only say a probably, after all, the machine has been installed, I do not toss, and spent a few days to get it done.

One: Installation Appium

1. The author system installed Appium version: 1.6.4, installation method: Open Terminal input: NPM install–g [email protected], check whether the installation is successful: terminal input appium-v, if the display version number indicates that the installation was successful.

2. Graphical interface Client Installation method: Download appium.dmg file on official website

3. Configure the environment variable, terminal input VI ~/.bash_profile, install Appium path to path, path= "/applications/appium.app/contents/resources/node_ Modules/appium/bin:${path} "

Two: Install Homebew

First to see what Homebew is a What, official website https://brew.sh/index_zh-cn.html,Homebrew can do? Use Homebrew to install Apple without preinstalled but what you need. Homebrew installs the package to a stand-alone directory and soft-links its files to/usr/local. Homebrew does not install files outside of its own directory, so you can install Homebrew anywhere. Create your own Homebrew package with ease. Completely based on git and Ruby, so you can easily undo your changes or merge with upstream updates while you're free to modify them. Homebrew's recipes are simple Ruby scripts that Homebrew make MacOS more complete. Use Gems to install GEMS, and brew to install those dependent packages. More introduction please officer net.

1. Installation:/usr/bin/ruby-e "$ (curl-fssl https://raw.githubusercontent.com/Homebrew/install/master/install)"

2. Check whether the installation succeeded: Brew-v, the author system installs the version number is:1.3.2

Three: Install node

1. Install: Terminal execution: Brew install node.

2. Check whether the installation is successful: terminal input node-v, if the display version number indicates that the installation was successful, the author installs the version:v6.11.3

Four: Installation Ideviceinstaller

1. Description: cross-platform libraries and tools for communicating with iOS devices to install uninstall apps or backup apps for iOS devices. The tool is based on Libmobiledevice, so the first step is to complete the Libmobiledevice compilation installation.

2. Terminal execution: Brew install Ideviceinstaller

3. Check if the installation is successful and if it appears, the installation is successful.

V: Install Xcode

1. Install: can be opened and downloaded in AppStore,

2. Check if the installation is successful: Terminal execution Xcodebuild-version, author installed version: Xcode 8.3.3

Six: Install Xcode Command line Tools

After the 1.Xcode installation is complete, start the terminal and enter the terminal Xcode-select--install

Appium Mobile Automation Testing-Java-based iOS environment building

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.