appium for iOS config

时间:2021-07-07 16:30:06

appium-doctor:

Running iOS Checks
✔ Xcode is installed at /Applications/Xcode.app/Contents/Developer
✔ Xcode Command Line Tools are installed.
✔ DevToolsSecurity is enabled.
✔ The Authorization DB is set up properly.
✔ Node binary found at /usr/local/bin/node
✔ iOS Checks were successful. Running Android Checks
✔ ANDROID_HOME is set to "/Users/young/Library/Android/sdk"
✔ JAVA_HOME is set to "/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home."
✔ ADB exists at /Users/young/Library/Android/sdk/platform-tools/adb
✔ Android exists at /Users/young/Library/Android/sdk/tools/android
✔ Emulator exists at /Users/young/Library/Android/sdk/tools/emulator
✔ Android Checks were successful. ✔ All Checks were successful

vi ~/.bash_profile

Youngs-Mac:~ young$ vi  ~/.bash_profile
export PATH="/Applications/Appium.app/Contents/Resources/node/bin/":$PATH
export PATH="/Applications/Appium.app/Contents/Resources/node_modules/appium/bin/":$PATH
export ANDROID_HOME="/Users/young/Library/Android/sdk"
export PATH="/Users/young/Library/Android/sdk/platform-tools":$PATH
export PATH="/Users/young/Library/Android/sdk/tools":$PATH
export JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home"