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

質問済み 5年前1040ビュー
4回答
0

Could you please provide your run url?

回答済み 5年前
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,

回答済み 5年前
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!

回答済み 5年前
0

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

回答済み 5年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ