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

0

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 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."
In local, I was it too and I solved that by following that is explained here: https://support.tricentis.com/community/article.do?number=KB0013770

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
0

Could you please provide your run url?

answered 5 years ago
0

Of course: https://us-west-2.console.aws.amazon.com/devicefarm/home?region=us-west-2#/projects/0e375d90-acf2-4049-8d84-83c39eeedc24/runs/059d2cfb-96d5-4188-a03a-13b6289760c6/jobs/00000

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
0

Hi,

I tried again by coming back to default tests specs file and It works!!! --> https://us-west-2.console.aws.amazon.com/devicefarm/home?region=us-west-2#/projects/0e375d90-acf2-4049-8d84-83c39eeedc24/runs/94fd86b3-f9f9-4eb4-b54d-a47ca7310129/jobs/00000

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
0

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