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

gefragt vor 5 Jahren1041 Aufrufe
4 Antworten
0

Could you please provide your run url?

beantwortet vor 5 Jahren
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,

beantwortet vor 5 Jahren
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!

beantwortet vor 5 Jahren
0

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

beantwortet vor 5 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen