I am trying to open and login to the yelp app on an Iphone 7 plus using appium and python. Here is the code that I have
device_name = "iPhone 7 Plus"
udid = "XXXXXX"
driver = webdriver.Remote(
command_executor='http://127.0.0.1:4723/wd/hub',
desired_capabilities={
'bundleId': "com.yelp.yelpiphone",
'platformName': 'iOS',
'deviceName': device_name,
'udid': udid,
'automationName': 'XCUITest',
'platformVersion': '11.1'
}
)
But the app does not open and I get the following error on the Appium server
[MJSONWP] Encountered internal error running command: 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.