1. ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
  2. brew install node
  3. java -version
  4. git --version
  5. ruby -v
  6. brew -v node -v
    if any error:
    brew uninstall --ignore-dependencies node icu4c
    brew install node

  7. npm -v

  8. npm install -g appium

  9. appium -v

  10. npm install wd

  11. npm install -g appium-doctor

  12. brew install carthage

  13. cd /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/

  14. sh ./Scripts/bootstrap.sh

  15. https://github.com/appium/appium-desktop/releases

  16. instruments -s devices

  17. xcrun simctl list

  18. npm install appium@beta --升级 appium 至 1.9.1


↙↙↙阅读原文可查看相关链接,并与作者交流