Skip to content

Instantly share code, notes, and snippets.

@MrShakes
Created April 11, 2018 20:31
Show Gist options
  • Save MrShakes/d61a2d67dc8af583695bf2e4e293d931 to your computer and use it in GitHub Desktop.
Save MrShakes/d61a2d67dc8af583695bf2e4e293d931 to your computer and use it in GitHub Desktop.
[Appium] Welcome to Appium v1.7.2 (REV 73df50459590ea6f5736393158dddf82affd7fde)
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"platformName":"iOS","platformVersion":"11.2","deviceName":"iPhone Simulator","app":"/Users/olabosiposhoroye/Desktop/Awork/nxhealthpe/platforms/ios/build/emulator/nxhealthpe.app","automationName":"XCUITest","autoWebview":true,"requestOrigins":{"url":"http://webdriver.io","version":"4.12.0","name":"webdriverio"}}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"javascriptEnabled":true,"locationContextEnabled":true,"handlesAlerts":true,"rotatable":true,"platformName":"iOS","platformVersion":"11.2","deviceName":"iPhone Simulator","app":"/Users/olabosiposhoroye/Desktop/Awork/nxhealthpe/platforms/ios/build/emulator/nxhealthpe.app","automationName":"XCUITest","autoWebview":true,"requestOrigins":{"url":"http://webdriver.io","version":"4.12.0","name":"webdriverio"}},null,null]
[debug] [BaseDriver] Event 'newSessionRequested' logged at 1523115474570 (16:37:54 GMT+0100 (WAT))
[Appium] Creating new XCUITestDriver (v2.64.0) session
[Appium] Capabilities:
[Appium] javascriptEnabled: true
[Appium] locationContextEnabled: true
[Appium] handlesAlerts: true
[Appium] rotatable: true
[Appium] platformName: iOS
[Appium] platformVersion: 11.2
[Appium] deviceName: iPhone Simulator
[Appium] app: /Users/olabosiposhoroye/Desktop/Awork/nxhealthpe/platforms/ios/build/emulator/nxhealthpe.app
[Appium] automationName: XCUITest
[Appium] autoWebview: true
[Appium] requestOrigins: {
[Appium] url: http://webdriver.io
[Appium] version: 4.12.0
[Appium] name: webdriverio
[Appium] }
[BaseDriver] The following capabilities were provided, but are not recognized by appium: javascriptEnabled, locationContextEnabled, handlesAlerts, rotatable, requestOrigins.
[BaseDriver] Session created with session id: d470a290-1923-42d1-9c05-fbe4b094e95a
[debug] [XCUITest] Current user: 'olabosiposhoroye'
[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 1523115486916 (16:38:06 GMT+0100 (WAT))
[debug] [XCUITest] Changing deviceName from 'iPhone Simulator' to 'iPhone 6'
[iOSSim] Constructing iOS simulator for Xcode version 9.2 with udid 'F553770E-47BB-4EF2-9D1F-1CF149278EDF'
[XCUITest] Determining device to run tests on: udid: 'F553770E-47BB-4EF2-9D1F-1CF149278EDF', real device: false
[BaseDriver] Using local app '/Users/olabosiposhoroye/Desktop/Awork/nxhealthpe/platforms/ios/build/emulator/nxhealthpe.app'
[debug] [BaseDriver] Event 'appConfigured' logged at 1523115488265 (16:38:08 GMT+0100 (WAT))
[debug] [XCUITest] Checking whether app '/Users/olabosiposhoroye/Desktop/Awork/nxhealthpe/platforms/ios/build/emulator/nxhealthpe.app' is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOS] Getting bundle ID from app '/Users/olabosiposhoroye/Desktop/Awork/nxhealthpe/platforms/ios/build/emulator/nxhealthpe.app': 'nx.health.pe'
[debug] [BaseDriver] Event 'resetStarted' logged at 1523115488305 (16:38:08 GMT+0100 (WAT))
[XCUITest] Not scrubbing third party app in anticipation of uninstall
[debug] [BaseDriver] Event 'resetComplete' logged at 1523115488713 (16:38:08 GMT+0100 (WAT))
[debug] [XCUITest] Starting log capture for iOS Simulator with udid 'F553770E-47BB-4EF2-9D1F-1CF149278EDF', using 'xcrun simctl spawn F553770E-47BB-4EF2-9D1F-1CF149278EDF log stream --style compact'
[debug] [BaseDriver] Event 'logCaptureStarted' logged at 1523115491100 (16:38:11 GMT+0100 (WAT))
[XCUITest] Setting up simulator
[debug] [iOS] No reason to set locale
[debug] [iOS] No iOS / app preferences to set
[debug] [iOSSim] Matched 1 Simulator cache item for cleanup: /Users/olabosiposhoroye/Library/Developer/CoreSimulator/Devices/F553770E-47BB-4EF2-9D1F-1CF149278EDF/data/Library/Caches/com.apple.mobile.installd.staging
[debug] [iOSSim] Setting common Simulator preferences to {"ConnectHardwareKeyboard":false}
[debug] [iOSSim] Updated F553770E-47BB-4EF2-9D1F-1CF149278EDF Simulator preferences at '/Users/olabosiposhoroye/Library/Preferences/com.apple.iphonesimulator.plist' with {"ConnectHardwareKeyboard":false}
[debug] [iOSSim] The count of running Simulator UI client instances is 1
[iOSSim] Both Simulator with UDID F553770E-47BB-4EF2-9D1F-1CF149278EDF and the UI client are currently running
[debug] [BaseDriver] Event 'simStarted' logged at 1523115494248 (16:38:14 GMT+0100 (WAT))
[debug] [XCUITest] Reset requested. Removing app with id 'nx.health.pe' from the device
[debug] [XCUITest] Installing '/Users/olabosiposhoroye/Desktop/Awork/nxhealthpe/platforms/ios/build/emulator/nxhealthpe.app' on Simulator with UUID 'F553770E-47BB-4EF2-9D1F-1CF149278EDF'...
[debug] [XCUITest] The app has been installed successfully.
[debug] [BaseDriver] Event 'appInstalled' logged at 1523115505759 (16:38:25 GMT+0100 (WAT))
[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'
[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 1523115506097 (16:38:26 GMT+0100 (WAT))
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: '/usr/local/bin/carthage'
[debug] [XCUITest] Running WebDriverAgent bootstrap script to install dependencies
[XCUITest] Fetching dependencies
[XCUITest] *** Checking out RoutingHTTPServer at "v1.0.1"
[XCUITest] Failed to check out repository into /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Carthage/Checkouts/RoutingHTTPServer: Could not create working directory (Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “RoutingHTTPServer” in the folder “Checkouts”." UserInfo={NSFilePath=/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Carthage/Checkouts/RoutingHTTPServer, NSUnderlyingError=0x7fb4c2f38050 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}})
[debug] [BaseDriver] Event 'wdaStartFailed' logged at 1523115512777 (16:38:32 GMT+0100 (WAT))
[debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: "Command 'Scripts/bootstrap.sh -d' exited with code 1".
[debug] [XCUITest] Quitting and uninstalling WebDriverAgent, then retrying
[XCUITest] Shutting down sub-processes
[debug] [XCUITest] Removing WDA application from device
[debug] [BaseDriver] Event 'wdaStartAttempted' logged at 1523115524008 (16:38:44 GMT+0100 (WAT))
[XCUITest] Launching WebDriverAgent on the device
[debug] [XCUITest] Carthage found: '/usr/local/bin/carthage'
[debug] [XCUITest] Running WebDriverAgent bootstrap script to install dependencies
[XCUITest] Fetching dependencies
[XCUITest] *** Checking out RoutingHTTPServer at "v1.0.1"
[XCUITest] Failed to check out repository into /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Carthage/Checkouts/RoutingHTTPServer: Could not create working directory (Error Domain=NSCocoaErrorDomain Code=513 "You don’t have permission to save the file “RoutingHTTPServer” in the folder “Checkouts”." UserInfo={NSFilePath=/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/Carthage/Checkouts/RoutingHTTPServer, NSUnderlyingError=0x7fb89dd4c350 {Error Domain=NSPOSIXErrorDomain Code=13 "Permission denied"}})
[debug] [BaseDriver] Event 'wdaStartFailed' logged at 1523115524216 (16:38:44 GMT+0100 (WAT))
[debug] [XCUITest] Unable to launch WebDriverAgent because of xcodebuild failure: "Command 'Scripts/bootstrap.sh -d' exited with code 1".
[debug] [XCUITest] Quitting and uninstalling WebDriverAgent, then retrying
[XCUITest] Shutting down sub-processes
[debug] [XCUITest] Removing WDA application from device
[XCUITest] Error: Unable to launch WebDriverAgent because of xcodebuild failure: "Command 'Scripts/bootstrap.sh -d' exited with code 1".
at XCUITestDriver.quitAndUninstall$ (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:375:13)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
Error: Unable to launch WebDriverAgent because of xcodebuild failure: "Command 'Scripts/bootstrap.sh -d' exited with code 1".
at XCUITestDriver.quitAndUninstall$ (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:375:13)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[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: "Command 'Scripts/bootstrap.sh -d' exited with code 1".
at XCUITestDriver.quitAndUninstall$ (/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/lib/driver.js:375:13)
at tryCatch (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/usr/local/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
[HTTP] <-- POST /wd/hub/session 500 51220 ms - 257
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment