[debug] [XCUITest] Xcode version set to ‘8.2’
[debug] [XCUITest] iOS SDK Version set to ‘10.2’
[debug] [XCUITest] Available devices:
[debug] [XCUITest] Creating iDevice object with udid
[XCUITest] Determining device to run tests on: udid: , real device: true
[BaseDriver] Using local app '/Users/admin/Downloads/<appName.ipa>’
[debug] [BaseDriver] Copying local zip to tmp dir
[debug] [BaseDriver] Unzipping /var/folders/gv/kgsw87q93wq34dpxyq3z044m0000gn/T/20161128-20719-awxyg7.jtrs51xlxr/appium-app.zip
[debug] [BaseDriver] Testing zip archive: /var/folders/gv/kgsw87q93wq34dpxyq3z044m0000gn/T/20161128-20719-awxyg7.jtrs51xlxr/appium-app.zip
[BaseDriver] Unzipped local app to ‘/var/folders/gv/kgsw87q93wq34dpxyq3z044m0000gn/T/20161128-20719-awxyg7.jtrs51xlxr/Payload/appName.app’
[debug] [XCUITest] Checking whether app ‘/var/folders/gv/kgsw87q93wq34dpxyq3z044m0000gn/T/20161128-20719-awxyg7.jtrs51xlxr/Payload/appName.app’ is actually present
[debug] [XCUITest] App is present
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Found idevicesyslog: ‘/usr/local/bin/idevicesyslog’
[XCUITest] Setting up real device
[debug] [XCUITest] App is already installed.
[debug] [XCUITest] Full reset not requested. No need to install.
[XCUITest] Using WDA path: ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Using WDA agent: ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj’
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: /usr/local/bin/carthage
[debug] [XCUITest] Killing hanging processes
[debug] [XCUITest] Using real device logger ‘idevicesyslog’
[debug] [XCUITest] Beginning test with command ‘xcodebuild build test -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id= -configuration Debug’ in directory ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Waiting for WebDriverAgent to start on device
[debug] [XCUITest] Log file for xcodebuild test: /Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/9975B7BD-4AD2-4F81-A94D-A453DF38AD03/Session-WebDriverAgentRunner-2016-12-28_215817-GnaPb1.log
[Xcode] 2016-12-28 21:58:18.197 xcodebuild[20754:366429] Error Domain=IDETestOperationsObserverErrorDomain Code=3 “Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/9975B7BD-4AD2-4F81-A94D-A453DF38AD03/Session-WebDriverAgentRunner-2016-12-28_215817-GnaPb1.log” UserInfo={NSLocalizedDescription=Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/9975B7BD-4AD2-4F81-A94D-A453DF38AD03/Session-WebDriverAgentRunner-2016-12-28_215817-GnaPb1.log}
[Xcode] Code signing is required for product type ‘UI Testing Bundle’ in SDK ‘iOS 10.2’
[Xcode] Signing for “WebDriverAgentRunner” requires a development team. Select a development team in the project editor.
[Xcode] Code signing is required for product type ‘UI Testing Bundle’ in SDK ‘iOS 10.2’
[Xcode] Signing for “WebDriverAgentRunner” requires a development team. Select a development team in the project editor.
[Xcode] Code signing is required for product type ‘UI Testing Bundle’ in SDK ‘iOS 10.2’
[Xcode] Code signing is required for product type ‘UI Testing Bundle’ in SDK ‘iOS 10.2’
[Xcode]
Testing failed:
[Xcode] Signing for “WebDriverAgentRunner” requires a development team. Select a development team in the project editor.
Code signing is required for product type ‘UI Testing Bundle’ in SDK ‘iOS 10.2’
** TEST FAILED **
The following build commands failed:
Check dependencies
(1 failure)
[XCUITest] xcodebuild exited with code ‘65’ and signal ‘null’
[debug] [XCUITest] xcodebuild failure warrants retry. Retrying…
[XCUITest] Shutting down sub-processes
[XCUITest] Shutting down Logger process (pid 20759)
[XCUITest] System log exited with code ‘0’
[debug] [XCUITest] Removing WDA application from device
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: /usr/local/bin/carthage
[debug] [XCUITest] Killing hanging processes
[debug] [XCUITest] Using real device logger ‘idevicesyslog’
[debug] [XCUITest] Beginning test with command ‘xcodebuild build test -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id= -configuration Debug’ in directory ‘/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent’
[XCUITest] Waiting for WebDriverAgent to start on device
[debug] [XCUITest] Log file for xcodebuild test: /Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/171E8052-5CEB-4530-ADA2-4BA7B57B5892/Session-WebDriverAgentRunner-2016-12-28_215820-pAGiLP.log
[Xcode] 2016-12-28 21:58:20.442 xcodebuild[20790:366571] Error Domain=IDETestOperationsObserverErrorDomain Code=3 “Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/171E8052-5CEB-4530-ADA2-4BA7B57B5892/Session-WebDriverAgentRunner-2016-12-28_215820-pAGiLP.log” UserInfo={NSLocalizedDescription=Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/admin/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/171E8052-5CEB-4530-ADA2-4BA7B57B5892/Session-WebDriverAgentRunner-2016-12-28_215820-pAGiLP.log}
[Xcode] Signing for “WebDriverAgentRunner” requires a development team. Select a development team in the project editor.
[Xcode] Code signing is required for product type ‘UI Testing Bundle’ in SDK ‘iOS 10.2’
[Xcode] Code signing is required for product type ‘UI Testing Bundle’ in SDK ‘iOS 10.2’
[Xcode]
Testing failed:
[Xcode] Signing for “WebDriverAgentRunner” requires a development team. Select a development team in the project editor.
Code signing is required for product type ‘UI Testing Bundle’ in SDK ‘iOS 10.2’
** TEST FAILED **
The following build commands failed:
Check dependencies
(1 failure)
[XCUITest] xcodebuild exited with code ‘65’ and signal ‘null’
[XCUITest] Error: xcodebuild failed with code 65
at SubProcess. (…/…/lib/webdriveragent.js:332:25)
at emitTwo (events.js:106:13)
at SubProcess.emit (events.js:191:7)
at ChildProcess. (…/…/lib/teen_process.js:197:14)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
Error: xcodebuild failed with code 65
at SubProcess. (…/…/lib/webdriveragent.js:332:25)
at emitTwo (events.js:106:13)
at SubProcess.emit (events.js:191:7)
at ChildProcess. (…/…/lib/teen_process.js:197:14)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
[XCUITest] Shutting down sub-processes
[XCUITest] Shutting down Logger process (pid 20795)
[XCUITest] System log exited with code ‘0’
[debug] [XCUITest] Running ios real device reset flow
[debug] [XCUITest] Resetting simulator
[debug] [iOSLog] Stopping iOS log capture
(node:20719) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): Error: Can’t stop process; it’s not currently running
(node:20719) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[MJSONWP] Encountered internal error running command: Error: xcodebuild failed with code 65
at SubProcess. (…/…/lib/webdriveragent.js:332:25)
at emitTwo (events.js:106:13)
at SubProcess.emit (events.js:191:7)
at ChildProcess. (…/…/lib/teen_process.js:197:14)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
[HTTP] <-- POST /wd/hub/session 500 11140 ms - 167