码迷,mamicode.com
首页 > 移动开发 > 详细

Installation Guide for Appium 1.6.3

时间:2017-04-01 16:18:41      阅读:276      评论:0      收藏:0      [点我收藏+]

标签:sys   term   provision   library   under   module   rar   nts   boot   

A.) System Requirements : - 

  • Require node 4 or above
  • Xcode 8 iOS 10

B.) Open terminal and type following command to install Appium 1.6.3 : -  npm install -g appium  

C.) External Dependencies : - 

  • Install "Homebrew" by following command : - ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • After instaling Home brew run following commands : - 
  • brew install ideviceinstaller
  • brew install carthage 
  • npm install -g ios-deploy
  • npm install -g deviceconsole
  • gem install xcpretty
  • brew install libimobiledevice --HEAD (for iOS10)
  • brew install libimobiledevice (for iOS 9)

 

3.) WebDriverAgent Configuration : - 

  • Go to newly installed Appium directory and navigate to “node_modules/appium-xcuitest-driver/WebDriverAgent”
  • Run following command : - mkdir -p Resources/WebDriverAgent.bundle
  • Run following command : - sh ./Scripts/bootstrap.sh -d
  • Open Xcode with WebDriverAgent.xcodeproj
  • Build WebDriverAgent project with provisioning profile.
  • Now run following command : - 

    xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination ‘id=UDID of device‘ test

Details about commands

1.)Homebrew : - Package manager for macOS.

2.)ideviceinstaller  : - Cross-platform library and tools for communicating with iOS devices

3.) carthage  : - A dependency manager that gets the job done without taking over the responsibility of Xcode.

4.)ios-deploy  :- debug iOS apps without using Xcode

5.) deviceconsole : - iOS system log tailer.

6.) xcpretty : - flexible and fast xcodebuild formatter.

7.) libimobiledevice : - A cross-platform software protocol library and tools to communicate with iOS

Installation Guide for Appium 1.6.3

标签:sys   term   provision   library   under   module   rar   nts   boot   

原文地址:http://www.cnblogs.com/lisawu/p/6656416.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!