模拟器
1. Homebrew Installation
/usr/bin/ruby -e “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)
brew -v
2. Node Installation
brew install node
node -v
3. Appium Installation
npm install -g appium
or
npm install appium@1.7.2
appium -v
4. Brew Installation
https://brew.sh/index_zh-cn.html
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
5. Carthage Installation
brew install carthage
真机
brew install libimobiledevice
brew install ios-deploy
cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/
cd WebDriverAgent
mkdir -p Resources/WebDriverAgent.bundle
./Scripts/bootstrap.sh
open the WebDriverAgent.xcodeproj folder with XCode