[Appium] Welcome to Appium v1.6.3 [Appium] Appium REST http interface listener started on 0.0.0.0:4723 [HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"platformName":"iOS","platformVersion":"10.2","deviceName":"iPad mini 4","xcodeOrgId":"AXUAJ46871","xcodeSigningId":"iPhone Developer","app":"/Users/myuser/Documents/MyCompanyReact0118.ipa","udid":"26721d29e548bc2efaa92e319249abb3c783c457","newCommandTimeout":"60","fullReset":"false","autoAcceptAlerts":"true","bundleId":"net.business-anywhere.mycompany"}} [debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"platformName":"iOS","platformVersion":"10.2","deviceName":"iPad mini 4","xcodeOrgId":"AXUAJ46871","xcodeSigningId":"iPhone Developer","app":"/Users/myuser/Documents/MyCompanyReact0118.ipa","udid":"26721d29e548bc2efaa92e319249abb3c783c457","newCommandTimeout":"60","fullReset":"false","autoAcceptAlerts":"true","bundleId":"net.business-anywhere.mycompany"},null,null,null,null] [Appium] Requested iOS support with version >= 10, using XCUITest driver instead of UIAutomation-based driver, since the latter is unsupported on iOS 10 and up. [Appium] Creating new XCUITestDriver session [Appium] Capabilities: [Appium] platformName: 'iOS' [Appium] platformVersion: '10.2' [Appium] deviceName: 'iPad mini 4' [Appium] xcodeOrgId: 'AXUAJ46871' [Appium] xcodeSigningId: 'iPhone Developer' [Appium] app: '/Users/myuser/Documents/MyCompanyReact0118.ipa' [Appium] udid: '26721d29e548bc2efaa92e319249abb3c783c457' [Appium] newCommandTimeout: '60' [Appium] fullReset: 'false' [Appium] autoAcceptAlerts: 'true' [Appium] bundleId: 'net.business-anywhere.mycompany' [debug] [XCUITest] XCUITestDriver version: 2.4.2 [BaseDriver] Capability 'fullReset' changed from string to boolean. This may cause unexpected behavior [BaseDriver] Capability 'autoAcceptAlerts' changed from string to boolean. This may cause unexpected behavior [BaseDriver] Capability 'newCommandTimeout' changed from string ('60') to integer (60). This may cause unexpected behavior [BaseDriver] The following capabilities were provided, but are not recognized by appium: xcodeOrgId, xcodeSigningId. [BaseDriver] Session created with session id: fa39591b-fab8-40f2-b5db-1a70d555cfb7 [debug] [XCUITest] Xcode version set to '8.2.1' [debug] [XCUITest] iOS SDK Version set to '10.2' [debug] [XCUITest] Available devices: 26721d29e548bc2efaa92e319249abb3c783c457 [debug] [XCUITest] Creating iDevice object with udid 26721d29e548bc2efaa92e319249abb3c783c457 [XCUITest] Determining device to run tests on: udid: '26721d29e548bc2efaa92e319249abb3c783c457', real device: true [BaseDriver] Using local app '/Users/myuser/Documents/MyCompanyReact0118.ipa' [debug] [BaseDriver] Copying local zip to tmp dir [debug] [BaseDriver] Unzipping /var/folders/9g/xgp5h9bd6ms14ch1r79vrcqx5znyrp/T/2017024-43566-8sp7e7.panzy3nmi/appium-app.zip [debug] [BaseDriver] Testing zip archive: /var/folders/9g/xgp5h9bd6ms14ch1r79vrcqx5znyrp/T/2017024-43566-8sp7e7.panzy3nmi/appium-app.zip [BaseDriver] Unzipped local app to '/var/folders/9g/xgp5h9bd6ms14ch1r79vrcqx5znyrp/T/2017024-43566-8sp7e7.panzy3nmi/Payload/MyCompanyReact.app' [debug] [XCUITest] Checking whether app '/var/folders/9g/xgp5h9bd6ms14ch1r79vrcqx5znyrp/T/2017024-43566-8sp7e7.panzy3nmi/Payload/MyCompanyReact.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: '/Users/myuser/Node/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent' [XCUITest] Using WDA agent: '/Users/myuser/Node/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 /Users/myuser/Node/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=26721d29e548bc2efaa92e319249abb3c783c457 -configuration Debug' in directory '/Users/myuser/Node/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent' [debug] [XCUITest] Unable to get device time. Using local system time [debug] [XCUITest] Output from idevicedate: Tue Jan 24 10:06:02 CET 2017 [XCUITest] Waiting for WebDriverAgent to start on device [debug] [XCUITest] Log file for xcodebuild test: /Users/myuser/Library/Developer/Xcode/DerivedData/WebDriverAgent-cqwiaxwylofgtnhcdqrsepmafdut/Logs/Test/E6197F24-75D7-4A1D-8F22-827E71897594/Session-WebDriverAgentRunner-2017-01-24_100608-jshJQg.log [Xcode] 2017-01-24 10:06:09.042 xcodebuild[43608:1208840] Error Domain=IDETestOperationsObserverErrorDomain Code=3 "Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/myuser/Library/Developer/Xcode/DerivedData/WebDriverAgent-cqwiaxwylofgtnhcdqrsepmafdut/Logs/Test/E6197F24-75D7-4A1D-8F22-827E71897594/Session-WebDriverAgentRunner-2017-01-24_100608-jshJQg.log" UserInfo={NSLocalizedDescription=Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/myuser/Library/Developer/Xcode/DerivedData/WebDriverAgent-cqwiaxwylofgtnhcdqrsepmafdut/Logs/Test/E6197F24-75D7-4A1D-8F22-827E71897594/Session-WebDriverAgentRunner-2017-01-24_100608-jshJQg.log} [Xcode] The file “ProjectSettings.xcconfig” couldn’t be opened because there is no such file. (/Users/myuser/Node/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Configurations/ProjectSettings.xcconfig) [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' 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' 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' Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.2' [Xcode] Testing failed: 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 43613) [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 /Users/myuser/Node/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=26721d29e548bc2efaa92e319249abb3c783c457 -configuration Debug' in directory '/Users/myuser/Node/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent' [debug] [XCUITest] Unable to get device time. Using local system time [debug] [XCUITest] Output from idevicedate: Tue Jan 24 10:06:10 CET 2017 [XCUITest] Waiting for WebDriverAgent to start on device [debug] [XCUITest] Log file for xcodebuild test: /Users/myuser/Library/Developer/Xcode/DerivedData/WebDriverAgent-cqwiaxwylofgtnhcdqrsepmafdut/Logs/Test/E873DE42-A380-4AED-ABC0-B04CBCCE40E8/Session-WebDriverAgentRunner-2017-01-24_100610-84PxsY.log [Xcode] 2017-01-24 10:06:11.343 xcodebuild[43760:1209182] Error Domain=IDETestOperationsObserverErrorDomain Code=3 "Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/myuser/Library/Developer/Xcode/DerivedData/WebDriverAgent-cqwiaxwylofgtnhcdqrsepmafdut/Logs/Test/E873DE42-A380-4AED-ABC0-B04CBCCE40E8/Session-WebDriverAgentRunner-2017-01-24_100610-84PxsY.log" UserInfo={NSLocalizedDescription=Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/myuser/Library/Developer/Xcode/DerivedData/WebDriverAgent-cqwiaxwylofgtnhcdqrsepmafdut/Logs/Test/E873DE42-A380-4AED-ABC0-B04CBCCE40E8/Session-WebDriverAgentRunner-2017-01-24_100610-84PxsY.log} [Xcode] 2017-01-24 10:06:11.345 xcodebuild[43760:1209185] Connection peer refused channel request for "dtxproxy:XCTestManager_IDEInterface:XCTestManager_DaemonConnectionInterface"; channel canceled [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. Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.2' 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:355: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:355: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 43767) [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 [MJSONWP] Encountered internal error running command: Error: xcodebuild failed with code 65 at SubProcess. (../../lib/webdriveragent.js:355: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 13131 ms - 167 ^C[Appium] Received SIGINT - shutting down