1. brew install node 2. npm install -g appium #或者用安装包安装 3. brew install libimobiledevice --HEAD # install from HEAD to get important updates brew install ideviceinstaller 4.brew install carthage 5. npm install -g ios-deploy 6. xcode-select --instal # 安装xcode command line