Appium-ios mac Environment Setup

Source: Internet
Author: User

Appium-ios mac Environment Setup

Author: Max.bai

Time: 2014/10


1. Build the iOS development environment

1.1 System Requirements

MacOS X 10.7 or higher, 10.9.2 recommended

1.2 Xcode requirements

xcode6.0 (Appium 1.3), xcode5.0 (Appium1.2)

1.3 Apple Developer Tools (iPhone simulator SDK, command line Tools)

Install iOS Sdk,command line tools

2. Node JS Installation

Method 1. Open http://nodejs.org/Install node JS

Method 2. Homebrew Install node. js

Installation Successful command line execution

Node-v correctly display node JS version

Npm-v Show NPM version

3. Appium Installation

1. Check that path contains/usr/local/bin

$PATH Output contains/usr/local/bin

2. Installation

Remember: Do not use sudo npm install-g appium installation

         Cd/usr/local         sudo chown-rf < current user >:staff/usr/local         npm install-g appium

APPIUM-V display version number installed correctly

4. Webdriver Installation

NPM Install WD

5. Appium permission settings

sudo authorize_ios

6. Appium Detection Environment

Node Appium-doctor

7. Appium Open

Open Appium

Appium-a 192.168.9.63-p 4723

If you need to connect to the grid hub, open the hub yourself, how to open the hub

Link grid hub requires parameter --nodeconfig /abs/path/to/nodeconfig.json

Other parameter opening parameters are as follows:

Https://github.com/appium/appium/blob/master/docs/en/writing-running-appium/server-args.md


Nodeconfig.json

    {"        capabilities":            [              {                         "browsername": "Safari (or IPhone ...)",                "version": "7.1",                " Maxinstances ": 1,                          " platform ":" Mac ",                " PlatformName ":" IOS ",            " platformversion ":" 7.1 "              }            ],        "Configuration":        {          "cleanupcycle": $,          "timeout": 30000,          "proxy": " Org.openqa.grid.selenium.proxy.DefaultRemoteProxy ",          " url ":" Http://192.168.9.63:4723/wd/hub ",          " Maxsession ": 1,          " port ": 4723,          " host ":" 192.168.9.63 ",          " register ": True,          " registercycle ": 5000,          "Hubport": 4444,          "Hubhost": "192.168.9.60"        }      }  




Appium-ios mac Environment Setup

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.