iOS - Appium Node.js: Unable to start WebDriverAgent session


Hi support,

All works very well for Android app but I still have issues about Appium Node.JS for iOS app :(

I have the following error: "Unable to start WebDriverAgent session because of xcodebuild failure: "Could not proxy command to remote server. Original error: Error: read ECONNRESET". Make sure you follow the tutorial at Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device."
In local, I was it too and I solved that by following that is explained here:

But how can I do that in DeviceFarm? I cannot open WDA xcproject...!

Thanks a lot for your helps!

Edited by: LyraMobile on Aug 19, 2019 4:27 AM

asked 5 years ago1069 views
4 Answers

Could you please provide your run url?

answered 5 years ago

Of course:

I tried a lot of things:

  • By changing appium version used
  • By providing a own DerivedDataPath
  • By providing a Keychain
    Nothing was ok :(

Thank you very much for your help!

Best regards,

answered 5 years ago


I tried again by coming back to default tests specs file and It works!!! -->

Another question, when appium server starts, device name, app path are provided in command line. However, platformVersion doesn't seem provided. In documentation, env var DEVICEFARM_DEVICE_PLATFORM_VERSION is not listed!
There is a way to avoid to provide our-self platform version? Indeed, we don't know this version (that depends on device pool selected).

Again, thanks!

answered 5 years ago

By using the default tests specs file for iOS, it's work!

answered 5 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions