Appium 1.6.0 Released

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

Your webdriver agent needs to be linked with provisioning profile , the
config should be given as capability

Can anyone let me know how to automate scroll down feature in windows UWP application?
What is the syntax to be used?

Thanks in Advance.

I am trying to instal appium 1.6 on windows 10 but unable to succeed through a command line .
npm install -g [email protected]

. getting following error

Hi Guys,

Just want to know if my simulator iOS app is build with iOS sdk 10.2 using xcode 8.X
would it be possible for me to run my test on that app installing it in simulator iPhone6(9.3) which is from xcode 7.3.1 with appium 1.6.3

For trying this i gave automation name capability as “XCUITest”
launched my simulator iPhone6(9.3) which is from xcode 7.3.1 and installed the app on it. And set used the capability no-reset in my appium server

While running the test i am getting the configuration error

Original error: Could not update plist: Plist file doesn’t exist: ‘/info.plist’

Can you please help me on this ?

Actually, I was asking about installing Appium with the GUI as it’s the case for Appium 1.5.3: https://bitbucket.org/appium/appium.app/downloads/

Appium GUI version for 1.6 is not available as of now. Maybe the moderators will have some answers on by when it will be released. Till then we will have to use the non GUI version if we want to use Appium 1.6.x

@vijay.alapati Could you tell me how you resolve the issue?

Can anyone tell me how to replace the default app(integration app) by my own test app? please provide steps… i wonder and appreciate if anyone can reply… Thanks in advance!

You are talking about system app?

regular adb install command with -r should be enough:

adb install -r your_app.apk

No i am asking that on MAC IOS, WebdriverAgent.xcodeproject has “integration app” right, it is test app. how do i can test my own app? how do i can include my own app with Webdriveragent folder?
my app is getting installed, but not opened, if i use
“bundleid” as “com.myown.app” instead of “com.facebook.IntegrationApps” and i already used my own app path for installing.

Could you please provide details step for appium 1.6.0. So,I can setup in my mac machine.

I wrote a blog post for this purpose. I hope this will help.

Hi upendra , IT is still not working

*Log
Last login: Fri Feb 3 12:53:26 on ttys003
CISM-MACMINI-20:~ cis$ sudo npm install -g appium@latest
Password:
/usr/local/bin/appium → /usr/local/lib/node_modules/appium/build/lib/main.js

[email protected] install /usr/local/lib/node_modules/appium/node_modules/sqlite3
node-pre-gyp install --fallback-to-build

[sqlite3] Success: “/usr/local/lib/node_modules/appium/node_modules/sqlite3/lib/binding/node-v48-darwin-x64/node_sqlite3.node” is installed via remote

[email protected] install /usr/local/lib/node_modules/appium/node_modules/appium-chromedriver
node install-npm.js

info Chromedriver Install Installing Chromedriver version ‘2.25’ for platform ‘mac’ and architecture ‘64’
info Chromedriver Install Opening temp file to write chromedriver_mac64 to…
info Chromedriver Install Downloading https://chromedriver.storage.googleapis.com/2.25/chromedriver_mac64.zip
RequestError: Error: self signed certificate in certificate chain
at new RequestError (/usr/local/lib/node_modules/appium/node_modules/request-promise/lib/errors.js:11:15)
at Request.RP$callback [as _callback] (/usr/local/lib/node_modules/appium/node_modules/request-promise/lib/rp.js:60:32)
at self.callback (/usr/local/lib/node_modules/appium/node_modules/request/request.js:186:22)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at Request.onRequestError (/usr/local/lib/node_modules/appium/node_modules/request/request.js:845:8)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at TLSSocket.socketErrorListener (_http_client.js:310:9)
at emitOne (events.js:96:13)
at TLSSocket.emit (events.js:188:7)
at emitErrorNT (net.js:1278:8)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
/usr/local/lib
└── (empty)

npm ERR! Darwin 16.3.0
npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “install” “-g” “appium@latest”
npm ERR! node v6.9.5
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node install-npm.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script ‘node install-npm.js’.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the appium-chromedriver package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install-npm.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs appium-chromedriver
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls appium-chromedriver
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/cis/npm-debug.log
npm ERR! code 1
CISM-MACMINI-20:~ cis$ npm config set strict-ssl false
CISM-MACMINI-20:~ cis$ sudo npm install -g appium@latest
/usr/local/bin/appium → /usr/local/lib/node_modules/appium/build/lib/main.js

[email protected] install /usr/local/lib/node_modules/appium/node_modules/sqlite3
node-pre-gyp install --fallback-to-build

[sqlite3] Success: “/usr/local/lib/node_modules/appium/node_modules/sqlite3/lib/binding/node-v48-darwin-x64/node_sqlite3.node” is installed via remote

[email protected] install /usr/local/lib/node_modules/appium/node_modules/appium-chromedriver
node install-npm.js

info Chromedriver Install Installing Chromedriver version ‘2.25’ for platform ‘mac’ and architecture ‘64’
info Chromedriver Install Opening temp file to write chromedriver_mac64 to…
info Chromedriver Install Downloading https://chromedriver.storage.googleapis.com/2.25/chromedriver_mac64.zip
RequestError: Error: self signed certificate in certificate chain
at new RequestError (/usr/local/lib/node_modules/appium/node_modules/request-promise/lib/errors.js:11:15)
at Request.RP$callback [as _callback] (/usr/local/lib/node_modules/appium/node_modules/request-promise/lib/rp.js:60:32)
at self.callback (/usr/local/lib/node_modules/appium/node_modules/request/request.js:186:22)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at Request.onRequestError (/usr/local/lib/node_modules/appium/node_modules/request/request.js:845:8)
at emitOne (events.js:96:13)
at ClientRequest.emit (events.js:188:7)
at TLSSocket.socketErrorListener (_http_client.js:310:9)
at emitOne (events.js:96:13)
at TLSSocket.emit (events.js:188:7)
at emitErrorNT (net.js:1278:8)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
/usr/local/lib
└── (empty)

npm ERR! Darwin 16.3.0
npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “install” “-g” “appium@latest”
npm ERR! node v6.9.5
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE

npm ERR! [email protected] install: node install-npm.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script ‘node install-npm.js’.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the appium-chromedriver package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install-npm.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs appium-chromedriver
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls appium-chromedriver
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/cis/npm-debug.log
npm ERR! code 1
CISM-MACMINI-20:~ cis$ npm config set strict-ssl true

Please try installing with Node 7.5