question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error with WebDriverAgentRunner and Xcode 11.6

See original GitHub issue

The problem

Actually this is not an issue, more a question of how the Webdriveragentrunner works with the Xcode 11.6. To be more specific, I used to run once the following command and then close the terminal session. Everything worked perfectly and I didn’t face any issue. xcodebuild -project WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination 'id=<id>' clean build test

Then I upgraded to the latest Xcode version 11.6 and I faced many problems with the execution (please check the error logs). The only thing that solved the problem was the fact that I didn’t close the terminal in one of my attempts to investigate the issue. Thus, I would like to ask you, what is the correct usage of the Webdriveragentrunner app.

Environment

  • Appium version (or git revision) that exhibits the issue: v1.18.0-beta.1
  • Desktop OS/version used to run Appium: macOS Catalina
  • Mobile platform/version under test: iOS 13.6 and iOS 13.4.1
  • Real device or emulator/simulator: iPhone XS
  • Appium CLI or Appium.app|exe: Appium.app

Link to Appium logs

https://gist.github.com/nikoskyr/76bb47e5621300dbd4c5c07dc0fe771f

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
mykola-mokhnachcommented, Jul 20, 2020

No idea. Try to build WDA sources from Xcode manually and check what is missing

0reactions
nikoskyrcommented, Jul 20, 2020

Thanks @amokmen, your explanation was very good and solved many questions I had. That’s why I mentioned it as a “problem” because I couldn’t understand the exact behaviour.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Xcode is unable to correctly run W… | Apple Developer Forums
Unable to launch WebDriverAgent because of xcodebuild failure: xcodebuild failed with code 65 xcodebuild error message: 2020-08-11 14:42:52.089 ...
Read more >
Webdriver-agent app is not installed after build successful ...
mac os: Ventura 13.1 xcode : 14 appium : 1.22.3 Homebrew : 3.6.12 iphone ... xcodebuild: error: Unknown build action 'WebDriverAgentRunner'.
Read more >
Unable to launch WebDriverAgent because of xcodebuild failure
Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild ... Try to remove the WebDriverAgentRunner application from the device if it is ...
Read more >
Appium+ WebdriverAgent Runner(Underlying Error: Timed out ...
The tests runs fine if i run the maven command on the actual machine instead of running the pipeline. [Xcode] [Xcode] Testing failed:...
Read more >
Workarounds in Case the Connection to the iOS Real Device ...
When testing using iOS real devices, the error message “Error: Unable to launch WebDriverAgent because of xcodebuild failure: 'xcodebuild ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found