appium-xcuitest-driver: Unhandled promise rejection (rejection id: 3): Error: spawn EACCES | iOS10
iOS 10 (real device) & Xcode 8
When I launch my test (appium beta), test block
Appium log
[debug] [XCUITest] App installed.
[XCUITest] Using default agent: /Users/romainlouvet/Documents/workspace/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj
[XCUITest] Using default bootstrap: /Users/romainlouvet/Documents/workspace/appium/node_modules/appium-xcuitest-driver/WebDriverAgent
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: /usr/local/bin/carthage
[debug] [XCUITest] Beginning test with command 'xcodebuild -project /Users/romainlouvet/Documents/workspace/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=67ce1f493620f9108ed0fe02df0b92536f6b6ab2 build test' in directory '/Users/romainlouvet/Documents/workspace/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Waiting for WebDriverAgent to start on device
(node:13860) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): Error: spawn EACCES
Xcode build logs :
11:50:49.105 xcodebuild[13894:3355410] app install set - {(
<DVTFilePath:0x7fea4d9c3660:'/Users/romainlouvet/Library/Developer/Xcode/DerivedData/WebDriverAgent-dhddbhhblwqbekgxjrgrshemsgsy/Build/Products/Debug-iphoneos/WebDriverAgentRunner-Runner.app'>
)}
11:50:50.153 xcodebuild[13894:3357475] remoteExecutable setInstalledPath:/private/var/containers/Bundle/Application/C11ABD24-2918-4857-885E-3B77DC943E00/WebDriverAgentRunner-Runner.app
11:50:50.155 xcodebuild[13894:3357475] Updated test configuration at /var/folders/83/643lpjl10bbd8h975r2b8k_h0000gn/T/com.apple.dt.XCTest/69AFE7D0-25A5-4B61-A38F-9196F5F7B027/remote-container/tmp/WebDriverAgentRunner-69AFE7D0-25A5-4B61-A38F-9196F5F7B027.xctestconfiguration with device paths: <XCTestConfiguration: 0x7fea4da854a0>
testBundleURL:file:///private/var/containers/Bundle/Application/C11ABD24-2918-4857-885E-3B77DC943E00/WebDriverAgentRunner-Runner.app/PlugIns/WebDriverAgentRunner.xctest
testBundleRelativePath:(null)
productModuleName:WebDriverAgentRunner
...skipping...
controllerClass = SBMainScreenAlertWindowViewController;
event = ViewDidDisappear;
}
11:50:53.594 XCTRunner[300:109278] Got AX notification 4002
11:50:53.891 testmanagerd[295:108981] AX Notification 1021
11:50:53.895 XCTRunner[300:109278] Got AX notification 1021
11:50:53.900 XCTRunner[300:109278] Got kAXPidStatusChangedNotification for 300: active
11:50:53.911 XCTRunner[300:109278] Got AX notification 4002
11:50:53.909 testmanagerd[295:108981] AX Notification 1001
11:50:53.910 testmanagerd[295:108981] AX Notification 4002
11:50:53.911 testmanagerd[295:108981] Got user testing notification with payload {
controllerClass = SBLeafIconViewController;
event = ViewDidAppear;
}
11:50:53.911 testmanagerd[295:108981] AX Notification 1000
11:50:53.911 testmanagerd[295:108981] AX Notification 1000
11:50:53.911 testmanagerd[295:108981] AX Notification 1000
11:50:53.912 testmanagerd[295:108981] AX Notification 4002
11:50:53.912 testmanagerd[295:108981] Got user testing notification with payload {
controllerClass = SBIconController;
event = ViewDidAppear;
}
11:50:53.912 XCTRunner[300:109319] Got AX notification 4002
11:50:54.032 XCTRunner[300:109268] No application process found matching pid 300, caching
11:50:54.108 testmanagerd[295:108981] AX Notification 1011
11:50:54.108 testmanagerd[295:108981] AX Notification 1011
11:50:54.359 testmanagerd[295:109317] Got application state update: com.apple.test.WebDriverAgentRunner-Runner (300) -> 4
11:50:54.368 testmanagerd[295:108981] AX Notification 4002
11:50:54.368 testmanagerd[295:108981] Got user testing notification with payload {
controllerClass = SBAppContainerViewController;
event = ViewDidDisappear;
}
11:50:54.368 testmanagerd[295:108981] AX Notification 4002
11:50:54.369 testmanagerd[295:108981] Got user testing notification with payload {
controllerClass = SBLeafIconViewController;
event = ViewDidAppear;
}
11:50:54.371 testmanagerd[295:108981] AX Notification 1021
11:50:54.367 XCTRunner[300:109268] Got UIApplicationDidEnterBackgroundNotification
11:50:54.377 XCTRunner[300:109319] Got AX notification 4002
11:50:54.379 XCTRunner[300:109278] Got AX notification 4002
11:50:54.379 XCTRunner[300:109278] Got AX notification 1021
11:50:54.380 XCTRunner[300:109278] Got kAXPidStatusChangedNotification for 300: suspended
11:50:54.385 XCTRunner[300:109268] Done initializing for UI testing.
11:50:54.386 XCTRunner[300:109268] Loading test suite...
11:50:54.391 testmanagerd[295:108981] AX Notification 1011
11:50:54.413 XCTRunner[300:109268] Finished loading test suite, took 0.027s
11:50:54.414 XCTRunner[300:109268] -[_XCTestDriverTestObserver testBundleWillStart:]
11:50:54.414 XCTRunner[300:109268] Running suite...
11:50:54.415 XCTRunner[300:109268] -[_XCTestDriverTestObserver testSuiteWillStart:]
2016-09-28 11:50:53.060764 XCTRunner[300:109268] Running tests...
2016-09-28 11:50:53.844764 XCTRunner[300:109268] Continuing to run tests in the background with task ID 1
Test Suite 'All tests' started at 2016-09-28 11:50:54.414
11:50:54.485 xcodebuild[13894:3357533] (LOG ARBITER) Rotating message buffer with 1 messages.
11:50:58.467 xcodebuild[13894:3355875] (LOG ARBITER) Rotating message buffer with 19 messages.
11:51:25.476 xcodebuild[13894:3358201] (LOG ARBITER) Rotating message buffer with 40 messages.
11:51:28.479 xcodebuild[13894:3357514] (LOG ARBITER) Rotating message buffer with 19 messages.
11:52:01.398 xcodebuild[13894:3358822] (LOG ARBITER) Rotating message buffer with 4 messages.
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 16 (10 by maintainers)
I’ve published
appium-xcuitest-driver@2.0.18
which will hopefully give some more information about what is going on.Can you update your appium installation and try again? Thanks!
I’ve opened a PR to hopefully catch the error and give more information about what is going on.