Unable to start WebDriverAgent session because of xcodebuild failure


#1

While try to launch an iOS application from mac, I am getting the following error:

An unknown server-side error occurred while processing the command. Original error: Unable to start WebDriverAgent session because of xcodebuild failure: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to remote server. Original error: URI malformed

Please help to solve this issue.

Thanks in advance.


#2

I cant say for sure without looking at your Appium logs but the “Original error: URI malformed” part of your error makes me think you might just have your URL to Appium not quite right… In your test code, are you trying to setup a new AppiumDriver with a URL different from “http://0.0.0.0:2735/wd/hub” ?


#3

My url is http://127.0.0.1:4723/wd/hub


#4

What happened when you tried to use http://0.0.0.0:4723/wd/hub to start a new driver?


#5

I have tried.Still same issue