I am trying to launch appium in real devices, but everytimee i run i get this error- selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65". Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
It works fine when i run with Simulator, i have installed Webdriver agent in the specific path and have done all the necessary changes but still no luck
Following are the desiredCapability that i used in my app:
desired_caps['udid'] = '7d8dc98c8078f72de8b28fe3934664f70ebc97dc'
desired_caps['platformName'] = 'iOS'
desired_caps['platformVersion'] = '12.1'
desired_caps['automationName'] = 'xcuitest'
desired_caps['deviceName'] = 'Apple’s iPad'
desired_caps['browserName'] = 'Safari'
desired_caps['xcodeOrgId'] = 'DWW94C2HRU'
desired_caps['newCommmandTimeout'] = '15000'
desired_caps['xcodeSigningId'] = "iPhone Developer"
driver = webdriver.Remote('localhost:4723/wd/hub', desired_caps)
driver.get("github.com/")
When i run this command- xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=' test to verify if everything is working fine it got stuck here in command line- 2019-04-09 07:58:21.311906+0530 WebDriverAgentRunner-Runner[489:69209] ServerURLHere->http://192.168.1.4:8100<-ServerURLHere Check the cmd line screenshot here
but i do see this according to appium tutorial- Test Suite 'All tests' started at 2017-01-23 15:49:12.585 Test Suite 'WebDriverAgentRunner.xctest' started at 2017-01-23 15:49:12.586 Test Suite 'UITestingUITests' started at 2017-01-23 15:49:12.587 Test Case '-[UITestingUITests testRunner]' started. t = 0.00s Start Test at 2017-01-23 15:49:12.588 t = 0.00s Set Up