Skip to content

Instantly share code, notes, and snippets.

@vikramvi
Created January 18, 2017 15:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vikramvi/3814e9c9b797bec4440d45bd1abf6ed9 to your computer and use it in GitHub Desktop.
Save vikramvi/3814e9c9b797bec4440d45bd1abf6ed9 to your computer and use it in GitHub Desktop.
real device installation error with myconfig.xcconfig
[debug] [XCUITest] Using real device logger 'idevicesyslog'
[debug] [XCUITest] Using Xcode configuration file: '/Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/Crew-App-Automation/myconfig.xcconfig'
[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=97d9bb791384407fa67df34c07fbfa70e7efab09 -configuration Debug -xcconfig /Users/vikram-anna/Documents/Noa/Workspace/Mobile-Automation/iOS-Automation/Crew-App-Automation/myconfig.xcconfig' in directory '/usr/local/lib/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: Wed Jan 18 16:40:52 CET 2017
[XCUITest] Waiting for WebDriverAgent to start on device
[debug] [XCUITest] Log file for xcodebuild test: /Users/vikram-anna/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/F566E9FE-FEDB-41EB-922A-889E5EEE10AE/Session-WebDriverAgentRunner-2017-01-18_164053-j5vwTp.log
[Xcode] 2017-01-18 16:40:53.794 xcodebuild[43578:3482997] Error Domain=IDETestOperationsObserverErrorDomain Code=3 "Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/vikram-anna/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/F566E9FE-FEDB-41EB-922A-889E5EEE10AE/Session-WebDriverAgentRunner-2017-01-18_164053-j5vwTp.log" UserInfo={NSLocalizedDescription=Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/vikram-anna/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/F566E9FE-FEDB-41EB-922A-889E5EEE10AE/Session-WebDriverAgentRunner-2017-01-18_164053-j5vwTp.log}
[Xcode] 2017-01-18 16:40:53.795 xcodebuild[43578:3483059] Connection peer refused channel request for "dtxproxy:XCTestManager_IDEInterface:XCTestManager_DaemonConnectionInterface"; channel canceled <DTXChannel: 0x7fdaf42128f0>
[Xcode]
Testing failed:
No profiles for 'com.facebook.WebDriverAgentRunner' were found: Xcode couldn't find a provisioning profile matching 'com.facebook.WebDriverAgentRunner'.
Code signing is required for product type 'UI Testing Bundle' in SDK 'iOS 10.2'
[Xcode] ** 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.<anonymous> (../../lib/webdriveragent.js:355:25)
at emitTwo (events.js:106:13)
at SubProcess.emit (events.js:191:7)
at ChildProcess.<anonymous> (../../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.<anonymous> (../../lib/webdriveragent.js:355:25)
at emitTwo (events.js:106:13)
at SubProcess.emit (events.js:191:7)
at ChildProcess.<anonymous> (../../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 43579)
[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.<anonymous> (../../lib/webdriveragent.js:355:25)
at emitTwo (events.js:106:13)
at SubProcess.emit (events.js:191:7)
at ChildProcess.<anonymous> (../../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 4242 ms - 167
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment