How to Upgrade to Appium 1.7.x with Mac OSX - Step by Step instructions

Here are step by step instructions to upgrade to appium 1.7.x seamlessly on your Mac OS X.Please make a note of the following details BEFORE you start the upgrade process

  • If Appium is not installed on your system previously, please use ONLY the commands related to "Install" below

  • If you face any problem of deleting folder/directories using command line, please go to Finder and delete it.

  • Once you upgrade to new OS on your Mac machine, App Store and iTunes may open late and work slow for the first time

Step by Step Instructions1) Need to install OS 10.12.x or higher version.2) Need to install Xcode 9.x. Sign in with your developer account (https://developer.apple.com/download/more/) and download it OR Download if free from the Mac App storeNote - If you face problems while installing the new version of Xcode then please uninstall the old versions.3) Need to install the Command line tools for Xcode 9.x.Launch Terminal and enter the below command

  • xcode-select --install

4) Uninstall HomeBrew- Uninstall Command

  • /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/uninstall)"

5) Install HomeBrew- Install Command

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

6) Uninstall Node- Command to Uninstall

  • go to /usr/local/lib and delete any node and node_modules

  • go to /usr/local/include and delete any node and node_modules directory

  • if you installed with brew install node, then run brew uninstall node in your terminal

  • check your Home directory for any local or lib or include folders, and delete any node or node_modules from there. (To reach home directory open Terminal and enter "cd")

  • go to /usr/local/bin and delete any node executable

7) Install Node- Command to Install

  • brew install node

8) Install ideviceinstaller:- Command to Install

  • brew install ideviceinstaller

9) Uninstall Appium from terminal- Command to Uninstall Appium:

  • npm uninstall -g appium

  • npm cache clean --force

10) Install Appium- Command to Install Appium

  • npm install -g appium@1.7.2 (Or we can just do npm install -g appium)

11) Need to Install supporting tools for Appium 1.7.2- Commands to Install supporting tools

  • brew install carthage

  • npm install -g ios-deploy

  • npm install -g deviceconsole

12) For downloading simulators go to Xcode --> Preferences --> Components, and download necessary simulators.I personally have experience working with Java+Appium+Cucumber framework. If you are in a situation like me or curious to know how to set up this framework in no time, check out my post focused on this framework setup here - Java+Appium+Cucumber Setup InstructionsIf you have any questions, feel free to post comments below or contact me here -> http://www.rajsubra.com/contact/ NOTE:If you are interested to learn about different tips, tricks and tools to make you more Mindful, Productive, Self-Motivated and Happy subscribe to my blog on mindfulness by following the below process-Step 1– In the right pane, Enter you Name, Email and select “Mindfulness”Step 2- Hit Subscribe buttonOR Click the below

Previous
Previous

Articles on Communication and AI published

Next
Next

High Level Overview of Machine Learning Classification - ML 101