Mobile Environment Setup - GeekyAnts/ga-wdio GitHub Wiki
Setup for iOS
Configure WebDriverAgent
- Register bundle indentifier for webdriveragent with you organisation. Eg:
com.[companyName].WebDriverAgent
- Open WebDriverAgent project in Xcode. To find it please use the following path:
/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent/WebDriverAgent.xcodeproj
- Click on Project name at the left navigation (WebDriverAgent).
- Select Automatically Manage Signing for
WebDriverAgentLib
&WebDriverAgentRunner
targets & then select your Development Team. - To test the configuration, please run the following command in
/usr/local/lib/node_modules/appium/node_modules/appium-webdriveragent
directory.
xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=UDID' test
NOTE: To run on simulator use .app file.
Link to the official documentation of appium/appium-xcuitest-driver.
Setup for Android
- Set Environment Variables for Android ANDROID_HOME and JAVA_HOME.
- To diagnose & fix common Node, iOS and Android configuration related issues, please run
appium-doctor
in your project directory to resolve all the common dependency.