Skip to content

Instantly share code, notes, and snippets.

@anshu1987
Created February 20, 2018 18:54
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 anshu1987/de2c7f2c85da06573000d1b957f4bb7f to your computer and use it in GitHub Desktop.
Save anshu1987/de2c7f2c85da06573000d1b957f4bb7f to your computer and use it in GitHub Desktop.
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1519152198961 (00:13:18 GMT+0530 (IST))
[Appium] Merged W3C capabilities {"desiredCapabilities":{"xcodeOrgId":"2YVWH85J8... into desiredCapabilities object {"xcodeOrgId":"2YVWH85J83","version":"","device...
[Appium] Creating new XCUITestDriver (v2.64.0) session
[Appium] Capabilities:
[Appium] xcodeOrgId: 2YVWH85J83
[Appium] version:
[Appium] deviceName: iPhone
[Appium] platform: MAC
[Appium] xcodeSigningId: iPhone Developer
[Appium] newCommandTimeout: 120
[Appium] platformVersion: 11.1
[Appium] automationName: XCUITest
[Appium] browserName: safari
[Appium] javascriptEnabled: true
[Appium] udid: 4db5c905e8b54120bf086b6616ba63a38553d401
[Appium] platformName: iOS
[BaseDriver] The following capabilities were provided, but are not recognized by appium: version, platform, javascriptEnabled.
[BaseDriver] Session created with session id: 97c32715-e057-49ba-8511-4eb515d066d2
[debug] [XCUITest] Current user: 'gspann'
[debug] [XCUITest] Current version of libimobiledevice: stable 1.2.0 (bottled), HEAD
[debug] [XCUITest] Xcode version set to '9.2' (tools v9.2.0.0.1.1510905681)
[debug] [XCUITest] iOS SDK Version set to '11.2'
[debug] [BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1519152200333 (00:13:20 GMT+0530 (IST))
[debug] [XCUITest] Available devices: 4db5c905e8b54120bf086b6616ba63a38553d401
[debug] [XCUITest] Creating iDevice object with udid '4db5c905e8b54120bf086b6616ba63a38553d401'
[XCUITest] Determining device to run tests on: udid: '4db5c905e8b54120bf086b6616ba63a38553d401', real device: true
[XCUITest] Safari test requested
[debug] [BaseDriver] Event 'appConfigured' logged at 1519152200541 (00:13:20 GMT+0530 (IST))
[debug] [BaseDriver] Event 'resetStarted' logged at 1519152200541 (00:13:20 GMT+0530 (IST))
[debug] [XCUITest] Reset: running ios real device reset flow
[debug] [BaseDriver] Event 'resetComplete' logged at 1519152200542 (00:13:20 GMT+0530 (IST))
[debug] [iOSLog] Attempting iOS device log capture via libimobiledevice idevicesyslog
[debug] [iOSLog] Starting iOS device log capture with: 'idevicesyslog'
[XCUITest] Cannot get the name of the crashes folder for the device with udid '4db5c905e8b54120bf086b6616ba63a38553d401'. Original error: Command 'idevicename -u 4db5c905e8b54120bf086b6616ba63a38553d401' exited with code 255
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1519152200640 (00:13:20 GMT+0530 (IST))
[XCUITest] Setting up real device
[XCUITest] Using WDA path: '/Users/gspann/.nvm/versions/node/v9.2.0/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: '/Users/gspann/.nvm/versions/node/v9.2.0/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[debug] [XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [XCUITest] WDA is not listening at 'http://localhost:8100/'
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1519152200680 (00:13:20 GMT+0530 (IST))
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: '/usr/local/bin/carthage'
[debug] [XCUITest] Killing running processes 'xcodebuild.*4db5c905e8b54120bf086b6616ba63a38553d401, iproxy 8100' for the device 4db5c905e8b54120bf086b6616ba63a38553d401...
[debug] [XCUITest] 'pgrep -nif xcodebuild.*4db5c905e8b54120bf086b6616ba63a38553d401' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] 'pgrep -nif iproxy 8100' didn't detect any matching processes. Return code: 1
[debug] [XCUITest] Starting iproxy to forward traffic from local port 8100 to device port 8100 over USB
[debug] [XCUITest] Using Xcode 9.2, so fixing WDA codebase
[debug] [XCUITest] Generating xcode config file for orgId '2YVWH85J83' and signingId 'iPhone Developer'
[debug] [XCUITest] Writing xcode config file to /var/folders/1h/z05rdqw114vc9vct3lggljp80000gn/T/2018121-1423-1p69l2u.804l/appium-temp.xcconfig
[debug] [XCUITest] Using Xcode configuration file: '/var/folders/1h/z05rdqw114vc9vct3lggljp80000gn/T/2018121-1423-1p69l2u.804l/appium-temp.xcconfig'
[debug] [XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Users/gspann/.nvm/versions/node/v9.2.0/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=4db5c905e8b54120bf086b6616ba63a38553d401 IPHONEOS_DEPLOYMENT_TARGET=11.1 -xcconfig /var/folders/1h/z05rdqw114vc9vct3lggljp80000gn/T/2018121-1423-1p69l2u.804l/appium-temp.xcconfig' in directory '/Users/gspann/.nvm/versions/node/v9.2.0/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[debug] [XCUITest] Output from xcodebuild will not be logged. To see xcode logging, use 'showXcodeLog' desired capability
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [XCUITest] Log file for xcodebuild test: /var/folders/1h/z05rdqw114vc9vct3lggljp80000gn/T/com.apple.dt.XCTest/IDETestRunSession-E2EC7B74-987A-4D9C-88FC-5DDC3ABBC7C1/WebDriverAgentRunner-4AFD98E9-DA69-4768-95F6-7BC22E906315/Session-WebDriverAgentRunner-2018-02-21_001327-fIxRPN.log
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[debug] [JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[Xcode] 2018-02-21 00:13:31.371 xcodebuild[2867:18656] Error Domain=IDETestOperationsObserverErrorDomain Code=6 "Early unexpected exit, operation never finished bootstrapping - no restart will be attempted" UserInfo={NSLocalizedDescription=Early unexpected exit, operation never finished bootstrapping - no restart will be attempted}
[Xcode]
[Xcode] ** TEST EXECUTE FAILED **
[Xcode]
[Xcode]
[Xcode] dyld: Library not loaded: @rpath/XCTest.framework/XCTest
[Xcode] Referenced from: /var/containers/Bundle/Application/9884743B-FB26-4A7F-958C-E7B3E74C0E20/WebDriverAgentRunner-Runner.app/WebDriverAgentRunner-Runner
[Xcode] Reason: no suitable image found. Did find:
[Xcode] /private/var/containers/Bundle/Application/9884743B-FB26-4A7F-958C-E7B3E74C0E20/WebDriverAgentRunner-Runner.app/Frameworks/XCTest.framework/XCTest: code signing blocked mmap() of '/private/var/containers/Bundle/Application/9884743B-FB26-4A7F-958C-E7B3E74C0E20/WebDriverAgentRunner-Runner.app/Frameworks/XCTest.framework/XCTest'
[Xcode] /private/var/containers/Bundle/Application/9884743B-FB26-4A7F-958C-E7B3E74C0E20/WebDriverAgentRunner-Runner.app/Frameworks/XCTest.framework/XCTest: code signing blocked mmap() of '/private/var/containers/Bundle/Application/9884743B-FB26-4A7F-958C-E7B3E74C0E20/WebDriverAgentRunner-Runner.app/Frameworks/XCTest.framework/XCTest'
[Xcode]
[XCUITest] xcodebuild exited with code '65' and signal 'null'
[debug] [BaseDriver] Event 'wdaStartFailed' logged at 1519152211383 (00:13:31 GMT+0530 (IST))
[debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65". Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
[debug] [XCUITest] Quitting and uninstalling WebDriverAgent, then retrying
[XCUITest] Shutting down sub-processes
[XCUITest] Shutting down iproxy process (pid 2866)
[debug] [XCUITest] iproxy exited with code 'null'
[debug] [XCUITest] Removing WDA application from device
[XCUITest] Error: Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65". Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
at XCUITestDriver.quitAndUninstall$ (/Users/gspann/.nvm/versions/node/v9.2.0/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:375:13)
at tryCatch (/Users/gspann/.nvm/versions/node/v9.2.0/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/gspann/.nvm/versions/node/v9.2.0/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Users/gspann/.nvm/versions/node/v9.2.0/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Users/gspann/.nvm/versions/node/v9.2.0/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at <anonymous>
Error: Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65". Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
at XCUITestDriver.quitAndUninstall$ (/Users/gspann/.nvm/versions/node/v9.2.0/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:375:13)
at tryCatch (/Users/gspann/.nvm/versions/node/v9.2.0/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/gspann/.nvm/versions/node/v9.2.0/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Users/gspann/.nvm/versions/node/v9.2.0/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Users/gspann/.nvm/versions/node/v9.2.0/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at <anonymous>
[debug] [XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.
[debug] [iOSLog] Stopping iOS log capture
[MJSONWP] Encountered internal error running command: Error: Unable to launch WebDriverAgent because of xcodebuild failure: "xcodebuild failed with code 65". Make sure you follow the tutorial at https://github.com/appium/appium-xcuitest-driver/blob/master/docs/real-device-config.md. Try to remove the WebDriverAgentRunner application from the device if it is installed and reboot the device.
at XCUITestDriver.quitAndUninstall$ (/Users/gspann/.nvm/versions/node/v9.2.0/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:375:13)
at tryCatch (/Users/gspann/.nvm/versions/node/v9.2.0/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/gspann/.nvm/versions/node/v9.2.0/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/Users/gspann/.nvm/versions/node/v9.2.0/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Users/gspann/.nvm/versions/node/v9.2.0/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at <anonymous>
[HTTP] <-- POST /wd/hub/session 500 12627 ms - 470
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment