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.

Ran tests on a real device and got [XCUITest] Error checking install status: spawn EACCES

See original GitHub issue

iOS 10.0.2 (real device) / XCode 8

When running Appium 1.6 beta 3 I got the following error trace. Anyone has a clue? Thanks!


[XCUITest] Setting up real device
[debug] [XCUITest] Error checking install status: spawn EACCES
[debug] [XCUITest] App is not installed. Will try to install.
[debug] [XCUITest] Error : spawn EACCES
[XCUITest] Error: could not install app spawn EACCES
    at IOSDeploy.install$ (lib/ios-deploy.js:37:13)
    at tryCatch (/Users/someone/someone/src/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
    at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/someone/someone/src/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
    at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Users/someone/someone/src/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
    at GeneratorFunctionPrototype.invoke (/Users/someone/someone/src/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
 Error: could not install app spawn EACCES
    at IOSDeploy.install$ (lib/ios-deploy.js:37:13)
    at tryCatch (/Users/someone/someone/src/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
    at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/someone/someone/src/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
    at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Users/someone/someone/src/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
    at GeneratorFunctionPrototype.invoke (/Users/someone/someone/src/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[debug] [XCUITest] Running ios real device reset flow
[debug] [XCUITest] Resetting simulator
[debug] [iOSLog] Stopping iOS log capture
[MJSONWP] Encountered internal error running command: Error: could not install app spawn EACCES
    at IOSDeploy.install$ (lib/ios-deploy.js:37:13)
    at tryCatch (/Users/someone/someone/src/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
    at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/someone/someone/src/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
    at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Users/someone/someone/src/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
    at GeneratorFunctionPrototype.invoke (/Users/someone/someone/src/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[HTTP] <-- POST /wd/hub/session 500 1501 ms - 171 


Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:17 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
mykola-mokhnachcommented, Oct 10, 2016

@xshuRoadie You can try to investigate the problem yourself. Just install you app to the real device manually using the following command line:

ios-deploy --verbose --id <your_device_uuid>  --uninstall --bundle <path_to_your_app>

and check possible errors in the output.

0reactions
lock[bot]commented, Apr 28, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Read more comments on GitHub >

github_iconTop Results From Across the Web

XCUITest 1.6 Bad Parameters error/ spawn EACCES error
I've gone through installing all of the extra things (carthage, real device logger, etc). we have been stuck when attempting to launch tests...
Read more >
How to fix this Error: spawn EACCES - Ionic Forum
How to fix this Error: spawn EACCES · go to your project folder, right click and get Info ( be sure to aply...
Read more >
There is a problem with Appium / WebdriverIO that the test ...
i am running my emulator and real device both working , i am also running IOS simulator thats also working good . if...
Read more >
UI Testing in Xcode - WWDC15 - Videos - Apple Developer
Xcode 7 introduces new UI testing features fully integrated into the IDE. ... See how to get started by recording your app, and...
Read more >
Cucumber.js Tutorial with Examples For Selenium JavaScript
This Cucumber.js tutorial will help you automate browser testing with Selenium & JavaScript across a cloud-based Selenium Grid of 2000+ ...
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