- Install Java
- Install homebrew :
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
- Install node js and npm :
$ brew install node
- Verify using :
$ node –v and $ npm -v
- Install appium
$ npm install –g appium@1.18.0
- Install XCode 12.1.xxx (You can find it in App Store)
- Once installed go to : Xcode -> Preferences -> Locations -> set Command Line Tools to “Xcode 12.1.xxx”
- Install xcode-command-line tools
$ xcode-select –install
- Install ideviceinstaller
- Go to root directory (Macintosh HD),
- Go to (or create if not exist ) the directory : usr/local/bin
$ brew install ideviceinstaller
- Install Carthage
- Find and go to Appium’s WebDriverAgent project directory, (usually found in the path used in below
command) and execute the following commands.$ cd /usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent
$ mkdir -p Resources/WebDriverAgent.bundle
$ ./Scripts/bootstrap.sh –d