Hey guys, how are you doing?
I recently updated Appium to 1.9.0 and I’m having an error when trying to run tests. The device starts and both the WDA and our app is installed, but once the app runs I get this error:
/Users/foo/bar/ios/test/common/base_test.rb:17:in `setup'
/Library/Ruby/Gems/2.3.0/gems/appium_lib-9.13.0/lib/appium_lib/driver.rb:519:in `start_driver'
/Library/Ruby/Gems/2.3.0/gems/appium_lib-9.13.0/lib/appium_lib/driver.rb:328:in `check_server_version_xcuitest'
Error: test_module_downloadable_and_qr(DownloadableAndQr): Appium::Core::Error::NotSupportedAppiumServer: XCUITest requires Appium version >= 1.6.0
I’m pretty sure that the Appium version is over 1.6.0 since I just installed the latest version. I think maybe the version number is incorrectly parsed since it jumped to 1.10.0 and that means an extra character
I’m running Mojave 10.14.1 on a MacBook Pro.
These are the Appium logs:
[Appium] Welcome to Appium v1.10.0
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session
[HTTP] {"desiredCapabilities":{"platformName":"iOS","platformVersion":"12.1","deviceName":"iPad Air 2","deviceName2":"iPhone Simulator","automationName":"XCUITest","noReset":false,"app":"/var/tmp/Debug-iphonesimulator/AvatureMobile.app"},"capabilities":{"alwaysMatch":{"platformName":"iOS","appium:platformVersion":"12.1","appium:deviceName":"iPad Air 2","appium:deviceName2":"iPhone Simulator","appium:automationName":"XCUITest","appium:noReset":false,"appium:app":"/var/tmp/Debug-iphonesimulator/AvatureMobile.app"},"firstMatch":[{}]}}
[W3C] Calling AppiumDriver.createSession() with args: [{"platformName":"iOS","platformVersion":"12.1","deviceName":"iPad Air 2","deviceName2":"iPhone Simulator","automationName":"XCUITest","noReset":false,"app":"/var/tmp/Debug-iphonesimulator/AvatureMobile.app"},null,{"alwaysMatch":{"platformName":"iOS","appium:platformVersion":"12.1","appium:deviceName":"iPad Air 2","appium:deviceName2":"iPhone Simulator","appium:automationName":"XCUITest","appium:noReset":false,"appium:app":"/var/tmp/Debug-iphonesimulator/AvatureMobile.app"},"firstMatch":[{}]}]
[BaseDriver] Event 'newSessionRequested' logged at 1544199214040 (13:13:34 GMT-0300 (-03))
[Appium] Creating new XCUITestDriver (v2.104.0) session
[Appium] Capabilities:
[Appium] platformName: iOS
[Appium] platformVersion: 12.1
[Appium] deviceName: iPad Air 2
[Appium] deviceName2: iPhone Simulator
[Appium] automationName: XCUITest
[Appium] noReset: false
[Appium] app: /var/tmp/Debug-iphonesimulator/AvatureMobile.app
[BaseDriver] W3C capabilities {"alwaysMatch":{"platformNa... and MJSONWP desired capabilities {"platformName":"iOS","plat... were provided
[BaseDriver] Creating session with W3C capabilities: {"alwaysMatch":{"platformNa...
[BaseDriver] The following capabilities were provided, but are not recognized by appium: deviceName2.
[BaseDriver] Session created with session id: 76e3332e-c76a-4045-85e1-c6e0201e81e9
[XCUITest] Current user: 'footer'
[iOSSim] Constructing iOS simulator for Xcode version 10.1 with udid 'B88B7088-6352-41AA-A999-9BF3F8C9F98B'
[XCUITest] Determining device to run tests on: udid: 'B88B7088-6352-41AA-A999-9BF3F8C9F98B', real device: false
[XCUITest] Xcode version set to '10.1'
[XCUITest] iOS SDK Version set to '12.1'
[BaseDriver] Event 'xcodeDetailsRetrieved' logged at 1544199215366 (13:13:35 GMT-0300 (-03))
[BaseDriver] Using local app '/var/tmp/Debug-iphonesimulator/AvatureMobile.app'
[BaseDriver] Event 'appConfigured' logged at 1544199215369 (13:13:35 GMT-0300 (-03))
[XCUITest] Checking whether app '/var/tmp/Debug-iphonesimulator/AvatureMobile.app' is actually present on file system
[XCUITest] App is present
[iOS] Getting bundle ID from app '/var/tmp/Debug-iphonesimulator/AvatureMobile.app': 'net.avature.mobile.debug'
[BaseDriver] Event 'resetStarted' logged at 1544199215410 (13:13:35 GMT-0300 (-03))
[XCUITest] Not scrubbing third party app in anticipation of uninstall
[BaseDriver] Event 'resetComplete' logged at 1544199215663 (13:13:35 GMT-0300 (-03))
[XCUITest] Continuing without capturing device logs: iOS Simulator with udid B88B7088-6352-41AA-A999-9BF3F8C9F98B is not running
[XCUITest] Setting up simulator
[iOS] No reason to set locale
[iOS] No iOS / app preferences to set
[iOSSim] Setting preferences of B88B7088-6352-41AA-A999-9BF3F8C9F98B Simulator to {"ConnectHardwareKeyboard":false}
[iOSSim] Setting common Simulator preferences to {"RotateWindowWhenSignaledByGuest":true,"ConnectHardwareKeyboard":false}
[iOSSim] Updated B88B7088-6352-41AA-A999-9BF3F8C9F98B Simulator preferences at '/Users/foobar/Library/Preferences/com.apple.iphonesimulator.plist' with {"DevicePreferences":{"B88B7088-6352-41AA-A999-9BF3F8C9F98B":{"ConnectHardwareKeyboard":false}},"RotateWindowWhenSignaledByGuest":true,"ConnectHardwareKeyboard":false}
[iOSSim] Booting Simulator with UDID B88B7088-6352-41AA-A999-9BF3F8C9F98B...
[iOSSim] Starting Simulator UI with command: open -Fn /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app --args -CurrentDeviceUDID B88B7088-6352-41AA-A999-9BF3F8C9F98B -ConnectHardwareKeyboard 0
[iOSSim] Simulator with UDID B88B7088-6352-41AA-A999-9BF3F8C9F98B booted in 27 seconds
[BaseDriver] Event 'simStarted' logged at 1544199243169 (13:14:03 GMT-0300 (-03))
[XCUITest] Starting log capture for iOS Simulator with udid 'B88B7088-6352-41AA-A999-9BF3F8C9F98B', using 'xcrun simctl spawn B88B7088-6352-41AA-A999-9BF3F8C9F98B log stream --style compact'
[BaseDriver] Event 'logCaptureStarted' logged at 1544199244994 (13:14:04 GMT-0300 (-03))
[XCUITest] Verifying application platform
[XCUITest] CFBundleSupportedPlatforms: ["iPhoneSimulator"]
[XCUITest] Reset requested. Removing app with id 'net.avature.mobile.debug' from the device
[XCUITest] Cleaning installd cache to save the disk space
[XCUITest] Installing '/var/tmp/Debug-iphonesimulator/AvatureMobile.app' on Simulator with UUID 'B88B7088-6352-41AA-A999-9BF3F8C9F98B'...
[simctl] Error: simctl error running 'install': An error was encountered processing the command (domain=IXUserPresentableErrorDomain, code=1):
[simctl] This app could not be installed at this time.
[simctl] Failed to load Info.plist from bundle at path /Users/foobar/Library/Developer/CoreSimulator/Devices/B88B7088-6352-41AA-A999-9BF3F8C9F98B/data/Library/Caches/com.apple.mobile.installd.staging/temp.FZmEET/extracted/Payload/AvatureMobile.app
[simctl] Failed to load Info.plist from bundle at path /Users/foobar/Library/Developer/CoreSimulator/Devices/B88B7088-6352-41AA-A999-9BF3F8C9F98B/data/Library/Caches/com.apple.mobile.installd.staging/temp.FZmEET/extracted/Payload/AvatureMobile.app
[simctl] Underlying error (domain=MIInstallerErrorDomain, code=35):
[simctl] Failed to load Info.plist from bundle at path /Users/foobar/Library/Developer/CoreSimulator/Devices/B88B7088-6352-41AA-A999-9BF3F8C9F98B/data/Library/Caches/com.apple.mobile.installd.staging/temp.FZmEET/extracted/Payload/AvatureMobile.app
[simctl] at Object.wrappedLogger.errorAndThrow (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-support/lib/logging.js:78:13)
[simctl] at /Applications/Appium.app/Contents/Resources/app/node_modules/node-simctl/lib/simctl.js:49:11
[simctl] at Generator.throw ()
[simctl] at asyncGeneratorStep (/Applications/Appium.app/Contents/Resources/app/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:24)
[simctl] at _throw (/Applications/Appium.app/Contents/Resources/app/node_modules/@babel/runtime/helpers/asyncToGenerator.js:29:9)
[simctl] at run (/Applications/Appium.app/Contents/Resources/app/node_modules/core-js/modules/es6.promise.js:75:22)
[simctl] at /Applications/Appium.app/Contents/Resources/app/node_modules/core-js/modules/es6.promise.js:92:30
[simctl] at flush (/Applications/Appium.app/Contents/Resources/app/node_modules/core-js/modules/_microtask.js:18:9)
[simctl] at process._tickCallback (internal/process/next_tick.js:61:11)
[XCUITest] Got an error on '/var/tmp/Debug-iphonesimulator/AvatureMobile.app' install: simctl error running 'install': An error was encountered processing the command (domain=IXUserPresentableErrorDomain, code=1):
[XCUITest] This app could not be installed at this time.
[XCUITest] Failed to load Info.plist from bundle at path /Users/foobar/Library/Developer/CoreSimulator/Devices/B88B7088-6352-41AA-A999-9BF3F8C9F98B/data/Library/Caches/com.apple.mobile.installd.staging/temp.FZmEET/extracted/Payload/AvatureMobile.app
[XCUITest] Failed to load Info.plist from bundle at path /Users/foobar/Library/Developer/CoreSimulator/Devices/B88B7088-6352-41AA-A999-9BF3F8C9F98B/data/Library/Caches/com.apple.mobile.installd.staging/temp.FZmEET/extracted/Payload/AvatureMobile.app
[XCUITest] Underlying error (domain=MIInstallerErrorDomain, code=35):
[XCUITest] Failed to load Info.plist from bundle at path /Users/foobar/Library/Developer/CoreSimulator/Devices/B88B7088-6352-41AA-A999-9BF3F8C9F98B/data/Library/Caches/com.apple.mobile.installd.staging/temp.FZmEET/extracted/Payload/AvatureMobile.app
[XCUITest] installd requires the cache to be available in order to install '/var/tmp/Debug-iphonesimulator/AvatureMobile.app'. Restoring the cache
[XCUITest] Retrying application install
[XCUITest] The app has been installed successfully.
[BaseDriver] Event 'appInstalled' logged at 1544199258471 (13:14:18 GMT-0300 (-03))
[XCUITest] Using WDA path: '/Applications/Appium.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: > '/Applications/Appium.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj'
[XCUITest] No obsolete cached processes from previous WDA sessions listening on port 8100 have been found
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[XCUITest] WDA is not listening at 'http://localhost:8100/'
[XCUITest] WDA is currently not running. There is nothing to cache
[XCUITest] Trying to start WebDriverAgent 2 times with 10000ms interval
[BaseDriver] Event 'wdaStartAttempted' logged at 1544199258606 (13:14:18 GMT-0300 (-03))
[XCUITest] Launching WebDriverAgent on the device
[XCUITest] Carthage found: '/usr/local/bin/carthage'
[XCUITest] Killing running processes 'xcodebuild.*B88B7088-6352-41AA-A999-9BF3F8C9F98B, iproxy 8100, B88B7088-6352-41AA-A999-9BF3F8C9F98B.*XCTRunner' for the device B88B7088-6352-41AA-A999-9BF3F8C9F98B...
[XCUITest] 'pgrep -nif xcodebuild.*B88B7088-6352-41AA-A999-9BF3F8C9F98B' didn't detect any matching processes. Return code: 1
[XCUITest] 'pgrep -nif iproxy 8100' didn't detect any matching processes. Return code: 1
[XCUITest] 'pgrep -nif B88B7088-6352-41AA-A999-9BF3F8C9F98B.*XCTRunner' didn't detect any matching processes. Return code: 1
[XCUITest] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /Applications/Appium.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=B88B7088-6352-41AA-A999-9BF3F8C9F98B IPHONEOS_DEPLOYMENT_TARGET=12.1' in directory '/Applications/Appium.app/Contents/Resources/app/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Output from xcodebuild will not be logged. To change this, use 'showXcodeLog' desired capability
[XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"code":"ETIMEDOUT","connect":true}
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[XCUITest] Log file for xcodebuild test: /Users/foobar/Library/Developer/Xcode/DerivedData/WebDriverAgent-cvqckynzuuktkogfpkkkgyompmoj/Logs/Test/Test-WebDriverAgentRunner-2018.12.07_13-14-22--0300.xcresult/2_Test/Diagnostics/WebDriverAgentRunner-B8274BCE-0617-4B96-85BD-1603839E7D0E/WebDriverAgentRunner-E94EF598-88EE-484B-B740-592DD2834C64/Session-WebDriverAgentRunner-2018-12-07_131453-4osf7n.log
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got an unexpected response: {"errno":"ECONNREFUSED","code":"ECONNREFUSED","syscall":"connect","address":"127.0.0.1","port":8100}
[JSONWP Proxy] Matched '/status' to command name 'getStatus'
[JSONWP Proxy] Proxying [GET /status] to [GET http://localhost:8100/status] with no body
[JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n \"state\" : \"success\",\n \"os\" : {\n \"name\" : \"iOS\",\n \"version\" : \"12.1\",\n \"sdkVersion\" : \"12.0\"\n },\n \"ios\" : {\n \"simulatorVersion\" : \"12.1\",\n \"ip\" : \"172.20.233.65\"\n },\n \"build\" : {\n \"upgradedAt\" : \"1544194246322\",\n \"time\" : \"Dec 7 2018 13:14:26\",\n \"productBundleIdentifier\" : \"com.facebook.WebDriverAgentRunner\"\n }\n },\n \"sessionId\" : \"8AA6A02B-1C6D-4C0F-BDEA-19DF8BB969B8\",\n \"status\" : 0\n}"
[XCUITest] WebDriverAgent information:
[XCUITest] {
[XCUITest] "state": "success",
[XCUITest] "os": {
[XCUITest] "name": "iOS",
[XCUITest] "version": "12.1",
[XCUITest] "sdkVersion": "12.0"
[XCUITest] },
[XCUITest] "ios": {
[XCUITest] "simulatorVersion": "12.1",
[XCUITest] "ip": "172.20.233.65"
[XCUITest] },
[XCUITest] "build": {
[XCUITest] "upgradedAt": "1544194246322",
[XCUITest] "time": "Dec 7 2018 13:14:26",
[XCUITest] "productBundleIdentifier": "com.facebook.WebDriverAgentRunner"
[XCUITest] }
[XCUITest] }
[XCUITest] WebDriverAgent successfully started after 40048ms
[BaseDriver] Event 'wdaSessionAttempted' logged at 1544199298765 (13:14:58 GMT-0300 (-03))
[XCUITest] Sending createSession command to WDA
[JSONWP Proxy] Matched '/session' to command name 'createSession'
[JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"net.avature.mobile.debug","arguments":[],"environment":{},"shouldWaitForQuiescence":true,"shouldUseTestManagerForVisibilityDetection":false,"maxTypingFrequency":60,"shouldUseSingletonTestManager":true}}
[JSONWP Proxy] Got response with status 200: {"value":{"sessionId":"8AD9943C-E17D-423B-91C3-B126D920942C","capabilities":{"device":"ipad","browserName":" ","sdkVersion":"12.1","CFBundleIdentifier":"com.apple.springboard"}},"sessionId":"8AD9943C-E17D-423B-91C3-B126D920942C","status":0}
[BaseDriver] Event 'wdaSessionStarted' logged at 1544199301924 (13:15:01 GMT-0300 (-03))
[BaseDriver] Event 'wdaStarted' logged at 1544199301924 (13:15:01 GMT-0300 (-03))
[XCUITest] Skipping setting of the initial display orientation. Set the "orientation" capability to either "LANDSCAPE" or "PORTRAIT", if this is an undesired behavior.
[BaseDriver] Event 'orientationSet' logged at 1544199301925 (13:15:01 GMT-0300 (-03))
[Appium] New XCUITestDriver session created successfully, session 76e3332e-c76a-4045-85e1-c6e0201e81e9 added to master session list
[BaseDriver] Event 'newSessionStarted' logged at 1544199301928 (13:15:01 GMT-0300 (-03))
[W3C (76e3332e)] Cached the protocol value 'W3C' for the new session 76e3332e-c76a-4045-85e1-c6e0201e81e9
[W3C (76e3332e)] Responding to client with driver.createSession() result: {"capabilities":{"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"platformName":"iOS","platformVersion":"12.1","deviceName":"iPad Air 2","deviceName2":"iPhone Simulator","automationName":"XCUITest","noReset":false,"app":"/var/tmp/Debug-iphonesimulator/AvatureMobile.app","udid":"B88B7088-6352-41AA-A999-9BF3F8C9F98B"}}
[HTTP] <-- POST /wd/hub/session 200 87895 ms - 527
[HTTP]
[HTTP] --> POST /wd/hub/session/76e3332e-c76a-4045-85e1-c6e0201e81e9/timeouts
[HTTP] {"implicit":30000}
[W3C (76e3332e)] Calling AppiumDriver.timeouts() with args: [null,null,null,null,30000,"76e3332e-c76a-4045-85e1-c6e0201e81e9"]
[XCUITest] Executing command 'timeouts'
[BaseDriver] W3C timeout argument: {"implicit":30000}}
[BaseDriver] Set implicit wait to 30000ms
[W3C (76e3332e)] Responding to client with driver.timeouts() result: null
[HTTP] <-- POST /wd/hub/session/76e3332e-c76a-4045-85e1-c6e0201e81e9/timeouts 200 207 ms - 14
[HTTP]
[HTTP] --> GET /wd/hub/status
[HTTP] {}
[GENERIC] Calling AppiumDriver.getStatus() with args: []
[GENERIC] Responding to client with driver.getStatus() result: {"build":{"version":"1.10.0"}}
[HTTP] <-- GET /wd/hub/status 200 2 ms - 68
[HTTP]
[BaseDriver] Shutting down because we waited 60 seconds for a command
[XCUITest] Not clearing log files. Use `clearSystemFiles` capability to turn on.
[iOSLog] Stopping iOS log capture
[Appium] Closing session, cause was 'New Command Timeout of 60 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability'
[Appium] Removing session 76e3332e-c76a-4045-85e1-c6e0201e81e9 from our master session list
Thanks and have a great day everyone!
Octavio