Appium 1.6.0 Released

help me out …how to update to appium 1.6.2 version by using npm. is there any specific commands?

Assuming you already have 1.6 installed and working, along with it’s dependencies, I believe all you need to do is run: npm install -g [email protected] --no-shrinkwrap from terminal.

sorry… in my appium latest updates it showing 1.5 version and don’t know
how to download and install 1.6 version… please help me out ,how should
i download and install for 1.6 appium version

@reddys There is currently no link to download or .dmg/.exe to install for Appium 1.6.X and there is currently no GUI. You must install it via terminal/command line. Assuming you are on MAC there is step by step guide in this thread that has been posted several times:

You can also search the forum for several other threads on how to install 1.6.

Once you have installed 1.6 and verified its working, you can update to 1.6.2 by npm install -g [email protected] --no-shrinkwrap

HI… is there any link for PYTHON APPIUM 1.6 VERSION

Both are different. You can download and setup Appium 1.6 separately (Appium 1.6.3 is available now). For Python you can download the client libraries from this link - http://appium.io/downloads.html

first in your cmd type
npm config set strict-ssl false
and then try to install again
After installation use
npm config set strict-ssl true

i can able to seen one Python client for Appium 1.5 version… i CAN’t able to see 1.6 version…please help me out

please help me out… i have mac environment… i need to update my PYTHON APPIUM 1.6 VERSION… how to do it from terminal…please help me out.(i am looking for PYTHON version)

Can anybody help me out here? I got error:

INFO: A new session could not be created. The desiredCapabilities object was not valid for the following reason(s): automationName XCUITest not part of Appium,Selendroid,WebDriverAgent.

and I have installed all the dependencies mentioned in appium-xcuitest-driver document, still got no luck

Appium:1.6.3
Xcode: 8.1
iOS: 9.3.5
java-client: 4.1.2

Thank you

Please share the capabilities and complete logs as gist file

Hi,

I think the older version of Python should work. You just need to upgrade Appium. I have not used Python, but have used Java. I haven’t updated Java client for Appium 1.6. I just upgraded Appium and it works fine.

Please try and check if the steps in the article help you install Appium using npm.

1 Like

@jlipps Is the performance better on iOS in Appium 1.6?

thanks for your help guys…i have updated my appium to 1.6.0 version… please help me out i should i run My APPIUM INSPECTOR?

thanks for your help guys…i have updated my appium to 1.6.0 version… please help me out how should i run My APPIUM INSPECTOR?

A quick search of this forum found:

https://github.com/mykola-mokhnach/Appium-iOS-Inspector96

1 Like

thanks so much guys… i can able to inspect the element …when i executed my script i am getting below error([XCUITest] Error: xcodebuild failed with code 65)

my logs are:

[Appium] Welcome to Appium v1.6.1
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“deviceName”:“iPhone”,“unicodekeyboard”:true,“udid”:“ff5da79129faf1ea77e78d83bc1b7b0d72a6c9fc”,“platformName”:“Ios”,“app”:"/Users/akshataome/Ramanuj_WorkSpace/16112016/inputs/omm/builds/ios/DellOMM.ipa",“resetkeyboard”:true,“autoAcceptAlerts”:true,“automationName”:“XCUITest”,“bundleid”:“beta.dell.com”}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{“deviceName”:“iPhone”,“unicodekeyboard”:true,“udid”:“ff5da79129faf1ea77e78d83bc1b7b0d72a6c9fc”,“platformName”:“Ios”,“app”:"/Users/akshataome/Ramanuj_WorkSpace/16112016/inputs/omm/builds/ios/DellOMM.ipa",“resetkeyboard”:true,“autoAcceptAlerts”:true,“automationName”:“XCUITest”,“bundleid”:“beta.dell.com”},null,null,null,null]
[Appium] Creating new XCUITestDriver session
[Appium] Capabilities:
[Appium] deviceName: ‘iPhone’
[Appium] unicodekeyboard: true
[Appium] udid: ‘ff5da79129faf1ea77e78d83bc1b7b0d72a6c9fc’
[Appium] platformName: ‘Ios’
[Appium] app: ‘/Users/akshataome/Ramanuj_WorkSpace/16112016/inputs/omm/builds/ios/DellOMM.ipa’
[Appium] resetkeyboard: true
[Appium] autoAcceptAlerts: true
[Appium] automationName: ‘XCUITest’
[Appium] bundleid: ‘beta.dell.com
[debug] [XCUITest] XCUITestDriver version: 2.2.0
[BaseDriver] The following capabilities were provided, but are not recognized by appium: unicodekeyboard, resetkeyboard, bundleid.
[BaseDriver] Session created with session id: e5d72dd7-9875-46b6-bb52-4b708872e19e
[debug] [XCUITest] Xcode version set to ‘8.2.1’
[debug] [XCUITest] iOS SDK Version set to ‘10.2’
[debug] [XCUITest] Available devices: ff5da79129faf1ea77e78d83bc1b7b0d72a6c9fc
[debug] [XCUITest] Creating iDevice object with udid ff5da79129faf1ea77e78d83bc1b7b0d72a6c9fc
[XCUITest] Determining device to run tests on: udid: ‘ff5da79129faf1ea77e78d83bc1b7b0d72a6c9fc’, real device: true
[BaseDriver] Using local app ‘/Users/akshataome/Ramanuj_WorkSpace/16112016/inputs/omm/builds/ios/DellOMM.ipa’
[debug] [BaseDriver] Copying local zip to tmp dir
[debug] [BaseDriver] Unzipping /var/folders/l_/k6n22q1n193gj46t4qfswwt80000gn/T/20161122-5274-12khy7g.d51k9e8kt9/appium-app.zip
[debug] [BaseDriver] Testing zip archive: /var/folders/l_/k6n22q1n193gj46t4qfswwt80000gn/T/20161122-5274-12khy7g.d51k9e8kt9/appium-app.zip
[BaseDriver] Unzipped local app to ‘/var/folders/l_/k6n22q1n193gj46t4qfswwt80000gn/T/20161122-5274-12khy7g.d51k9e8kt9/Payload/Dell OMM.app’
[debug] [XCUITest] Checking whether app ‘/var/folders/l_/k6n22q1n193gj46t4qfswwt80000gn/T/20161122-5274-12khy7g.d51k9e8kt9/Payload/Dell OMM.app’ is actually present
[debug] [XCUITest] App is present
[debug] [ios-app-utils] Getting bundle ID from app ‘/var/folders/l_/k6n22q1n193gj46t4qfswwt80000gn/T/20161122-5274-12khy7g.d51k9e8kt9/Payload/Dell OMM.app’: ‘beta.dell.omm’
[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] Error checking install status: Command ‘ios-deploy --exists --id ff5da79129faf1ea77e78d83bc1b7b0d72a6c9fc --bundle_id beta.dell.omm’ exited with code 255
[debug] [XCUITest] App is not installed. Will try to install.
[debug] [XCUITest] App installed successfully.
[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=ff5da79129faf1ea77e78d83bc1b7b0d72a6c9fc -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/akshataome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/9E4BF613-B6C8-4A21-B508-B0B719E4462F/Session-WebDriverAgentRunner-2016-12-22_123950-cjTSrH.log
[Xcode] 2016-12-22 12:39:52.830 xcodebuild[5331:1175688] Error Domain=IDETestOperationsObserverErrorDomain Code=3 “Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/akshataome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/9E4BF613-B6C8-4A21-B508-B0B719E4462F/Session-WebDriverAgentRunner-2016-12-22_123950-cjTSrH.log” UserInfo={NSLocalizedDescription=Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/akshataome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/9E4BF613-B6C8-4A21-B508-B0B719E4462F/Session-WebDriverAgentRunner-2016-12-22_123950-cjTSrH.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’
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:
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’
** 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 5336)
[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=ff5da79129faf1ea77e78d83bc1b7b0d72a6c9fc -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/akshataome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/3A357AC9-CB45-4ACA-8253-6D0013C0EB8F/Session-WebDriverAgentRunner-2016-12-22_123956-PRywJo.log
[Xcode] 2016-12-22 12:39:58.524 xcodebuild[5588:1176146] Error Domain=IDETestOperationsObserverErrorDomain Code=3 “Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/akshataome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/3A357AC9-CB45-4ACA-8253-6D0013C0EB8F/Session-WebDriverAgentRunner-2016-12-22_123956-PRywJo.log” UserInfo={NSLocalizedDescription=Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/akshataome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/3A357AC9-CB45-4ACA-8253-6D0013C0EB8F/Session-WebDriverAgentRunner-2016-12-22_123956-PRywJo.log}

[Xcode] 2016-12-22 12:39:58.525 xcodebuild[5588:1176170] Connection peer refused channel request for “dtxproxy:XCTestManager_IDEInterface:XCTestManager_DaemonConnectionInterface”; channel canceled <DTXChannel: 0x7faf0b675b90>

[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 **

[Xcode]
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 5593)
[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:5274) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): Error: Can’t stop process; it’s not currently running
(node:5274) 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 14952 ms - 167

thanks so much guys… i can able to inspect the element …when i executed my script i am getting below error([XCUITest] Error: xcodebuild failed with code 65)

my logs are:

[Appium] Welcome to Appium v1.6.1
@pavanbachu

[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {“desiredCapabilities”:{“deviceName”:“iPhone”,“unicodekeyboard”:true,“udid”:“ff5da79129faf1ea77e78d83bc1b7b0d72a6c9fc”,“platformName”:“Ios”,“app”:"/Users/akshataome/Ramanuj_WorkSpace/16112016/inputs/omm/builds/ios/DellOMM.ipa",“resetkeyboard”:true,“autoAcceptAlerts”:true,“automationName”:“XCUITest”,“bundleid”:“beta.dell.com”}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{“deviceName”:“iPhone”,“unicodekeyboard”:true,“udid”:“ff5da79129faf1ea77e78d83bc1b7b0d72a6c9fc”,“platformName”:“Ios”,“app”:"/Users/akshataome/Ramanuj_WorkSpace/16112016/inputs/omm/builds/ios/DellOMM.ipa",“resetkeyboard”:true,“autoAcceptAlerts”:true,“automationName”:“XCUITest”,“bundleid”:“beta.dell.com”},null,null,null,null]
[Appium] Creating new XCUITestDriver session
[Appium] Capabilities:
[Appium] deviceName: ‘iPhone’
[Appium] unicodekeyboard: true
[Appium] udid: ‘ff5da79129faf1ea77e78d83bc1b7b0d72a6c9fc’
[Appium] platformName: ‘Ios’
[Appium] app: ‘/Users/akshataome/Ramanuj_WorkSpace/16112016/inputs/omm/builds/ios/DellOMM.ipa’
[Appium] resetkeyboard: true
[Appium] autoAcceptAlerts: true
[Appium] automationName: ‘XCUITest’
[Appium] bundleid: ‘beta.dell.com
[debug] [XCUITest] XCUITestDriver version: 2.2.0
[BaseDriver] The following capabilities were provided, but are not recognized by appium: unicodekeyboard, resetkeyboard, bundleid.
[BaseDriver] Session created with session id: e5d72dd7-9875-46b6-bb52-4b708872e19e
[debug] [XCUITest] Xcode version set to ‘8.2.1’
[debug] [XCUITest] iOS SDK Version set to ‘10.2’
[debug] [XCUITest] Available devices: ff5da79129faf1ea77e78d83bc1b7b0d72a6c9fc
[debug] [XCUITest] Creating iDevice object with udid ff5da79129faf1ea77e78d83bc1b7b0d72a6c9fc
[XCUITest] Determining device to run tests on: udid: ‘ff5da79129faf1ea77e78d83bc1b7b0d72a6c9fc’, real device: true
[BaseDriver] Using local app ‘/Users/akshataome/Ramanuj_WorkSpace/16112016/inputs/omm/builds/ios/DellOMM.ipa’
[debug] [BaseDriver] Copying local zip to tmp dir
[debug] [BaseDriver] Unzipping /var/folders/l_/k6n22q1n193gj46t4qfswwt80000gn/T/20161122-5274-12khy7g.d51k9e8kt9/appium-app.zip
[debug] [BaseDriver] Testing zip archive: /var/folders/l_/k6n22q1n193gj46t4qfswwt80000gn/T/20161122-5274-12khy7g.d51k9e8kt9/appium-app.zip
[BaseDriver] Unzipped local app to ‘/var/folders/l_/k6n22q1n193gj46t4qfswwt80000gn/T/20161122-5274-12khy7g.d51k9e8kt9/Payload/Dell OMM.app’
[debug] [XCUITest] Checking whether app ‘/var/folders/l_/k6n22q1n193gj46t4qfswwt80000gn/T/20161122-5274-12khy7g.d51k9e8kt9/Payload/Dell OMM.app’ is actually present
[debug] [XCUITest] App is present
[debug] [ios-app-utils] Getting bundle ID from app ‘/var/folders/l_/k6n22q1n193gj46t4qfswwt80000gn/T/20161122-5274-12khy7g.d51k9e8kt9/Payload/Dell OMM.app’: ‘beta.dell.omm’
[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] Error checking install status: Command ‘ios-deploy --exists --id ff5da79129faf1ea77e78d83bc1b7b0d72a6c9fc --bundle_id beta.dell.omm’ exited with code 255
[debug] [XCUITest] App is not installed. Will try to install.
[debug] [XCUITest] App installed successfully.
[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=ff5da79129faf1ea77e78d83bc1b7b0d72a6c9fc -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/akshataome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/9E4BF613-B6C8-4A21-B508-B0B719E4462F/Session-WebDriverAgentRunner-2016-12-22_123950-cjTSrH.log
[Xcode] 2016-12-22 12:39:52.830 xcodebuild[5331:1175688] Error Domain=IDETestOperationsObserverErrorDomain Code=3 “Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/akshataome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/9E4BF613-B6C8-4A21-B508-B0B719E4462F/Session-WebDriverAgentRunner-2016-12-22_123950-cjTSrH.log” UserInfo={NSLocalizedDescription=Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/akshataome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/9E4BF613-B6C8-4A21-B508-B0B719E4462F/Session-WebDriverAgentRunner-2016-12-22_123950-cjTSrH.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’
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:
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’
** 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 5336)
[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=ff5da79129faf1ea77e78d83bc1b7b0d72a6c9fc -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/akshataome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/3A357AC9-CB45-4ACA-8253-6D0013C0EB8F/Session-WebDriverAgentRunner-2016-12-22_123956-PRywJo.log
[Xcode] 2016-12-22 12:39:58.524 xcodebuild[5588:1176146] Error Domain=IDETestOperationsObserverErrorDomain Code=3 “Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/akshataome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/3A357AC9-CB45-4ACA-8253-6D0013C0EB8F/Session-WebDriverAgentRunner-2016-12-22_123956-PRywJo.log” UserInfo={NSLocalizedDescription=Test operation was canceled. If you believe this error represents a bug, please attach the log file at /Users/akshataome/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/3A357AC9-CB45-4ACA-8253-6D0013C0EB8F/Session-WebDriverAgentRunner-2016-12-22_123956-PRywJo.log}

[Xcode] 2016-12-22 12:39:58.525 xcodebuild[5588:1176170] Connection peer refused channel request for “dtxproxy:XCTestManager_IDEInterface:XCTestManager_DaemonConnectionInterface”; channel canceled

[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 **

[Xcode]
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/childprocess.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/childprocess.js:215:12)
[XCUITest] Shutting down sub-processes
[XCUITest] Shutting down Logger process (pid 5593)
[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:5274) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 4): Error: Can’t stop process; it’s not currently running
(node:5274) 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/childprocess.js:215:12)
[HTTP] <-- POST /wd/hub/session 500 14952 ms - 167

You need to sign the WebDriverAgent project Team and Runner in XCode.

I’d recommend reading through this thread:
https://discuss.appium.io/t/xcodebuild-failed-with-code-65-warning-the-server-did-not-provide-any-stacktrace-information-command-duration-or-timeout-32-63-seconds/12756/3