[XCUITest] Unable to start WebDriverAgent: Error: spawn EACCES
See original GitHub issueiOS 10.0.2 xcode 8 appium 1.6.0-beta3 appium-xcuitest-driver 2.0.26
Seeing same issue in Issue #191 on a real device, simulator is ok.
[XCUITest] Waiting for WebDriverAgent to start on device
[XCUITest] Unable to start WebDriverAgent: Error: spawn EACCES
[XCUITest] Unable to start WebDriverAgent: Error: spawn EACCES
[debug] [XCUITest] Reset not set, continuing
[debug] [iOSLog] Stopping iOS log capture
This happens when I use deviceconsole, without it I see the hang from Issue #6895
On the device itself, I see wda installed on the phone and start/background within a few seconds (up to 10 sometimes) after the error.
I’m able to run the xcodebuild command outside of appium and arrive at Listening on USB
Looking for insights on how to further troubleshoot this, if there’s any additional info you’d like me to submit let me know - thanks!
Issue Analytics
- State:
- Created 7 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
XCUITest 1.6 Bad Parameters error/ spawn EACCES error
[XCUITest] Waiting for WebDriverAgent to start on device [XCUITest] Unable to start WebDriverAgent: Error: spawn EACCES [XCUITest] Unable to ...
Read more >spawn EACCES' error while trying to run protractor tests from ...
angular - 'E/launcher - Error: spawn EACCES' error while trying to run protractor tests from Jenkins(Unix machine) - Stack Overflow. Stack ...
Read more >Appium error [resolved] - Unable to launch WebDriverAgent ...
The above error is due to WebDriverAgent is not installed on your real device or simulator connected to run the appium tests. The...
Read more >How to fix this Error: spawn EACCES - Edward Beazer Blog
This error comes up when you don't have full permissions to the project folder. You want to run the chmod command in order...
Read more >MAC Appium iOS自动化测试之环境搭建_一燊芊芊的博客-CSDN博客
1、打开WebDriverAgent ... /Contents/Resources/app/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent ... open WebDriverAgent.xcodeproj.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sorry, just saw that you were using
deviceconsole
.Figured it out!
I think you are pointing
realDeviceLogger
to the directory, rather than the executable. For instance, I havedeviceConsole
installed inSo the actual executable, which is what
realDeviceLogger
should be pointing to, is@seanchandler Thanks for the issue. I made the same mistake.