Installation Guide for Appium 1.6.3

A.) System Requirements : - node

  • 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  ios

C.) External Dependencies : - git

  • 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 : - github

  • 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' testnpm

Details about commands

1.)Homebrew : - Package manager for macOS.bootstrap

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

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

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

5.) deviceconsole : - iOS system log tailer.curl

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

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

相關文章
相關標籤/搜索