Skip to content

Instantly share code, notes, and snippets.

@VTINFOJames
Created February 9, 2017 16:38
Show Gist options
  • Save VTINFOJames/15b938bf33d53f1039bcb6cc48c2f373 to your computer and use it in GitHub Desktop.
Save VTINFOJames/15b938bf33d53f1039bcb6cc48c2f373 to your computer and use it in GitHub Desktop.
JamesMacDonalds:~ jamesmacdonald$ appium
[Appium] Welcome to Appium v1.6.4-beta
[Appium] Appium REST http interface listener started on 0.0.0.0:4723
[HTTP] --> POST /wd/hub/session {"desiredCapabilities":{"app":"/Users/jamesmacdonald/Library/Developer/Xcode/DerivedData/Build/Products/[Development] Sales-iphonesimulator/Sales.app","locationServicesAuthorized":true,"appiumVersion":"1.6.3","platformVersion":"10.3","automationName":"xcuitest","bundleId":"com.vtinfo.sales","browserName":"","deviceOrientation":"portrait","platformName":"iOS","locationServicesEnabled":true,"deviceName":"iPad Air 2"}}
[debug] [MJSONWP] Calling AppiumDriver.createSession() with args: [{"app":"/Users/jamesmacdonald/Library/Developer/Xcode/DerivedData/Build/Products/[Development] Sales-iphonesimulator/Sales.app","locationServicesAuthorized":true,"appiumVersion":"1.6.3","platformVersion":"10.3","automationName":"xcuitest","bundleId":"com.vtinfo.sales","browserName":"","deviceOrientation":"portrait","platformName":"iOS","locationServicesEnabled":true,"deviceName":"iPad Air 2"},null,null,null,null]
[Appium] Creating new XCUITestDriver (v2.7.0) session
[Appium] Capabilities:
[Appium] app: '/Users/jamesmacdonald/Library/Developer/Xcode/DerivedData/Build/Products/[Development] Sales-iphonesimulator/Sales.app'
[Appium] locationServicesAuthorized: true
[Appium] appiumVersion: '1.6.3'
[Appium] platformVersion: '10.3'
[Appium] automationName: 'xcuitest'
[Appium] bundleId: 'com.vtinfo.sales'
[Appium] browserName: ''
[Appium] deviceOrientation: 'portrait'
[Appium] platformName: 'iOS'
[Appium] locationServicesEnabled: true
[Appium] deviceName: 'iPad Air 2'
[debug] [XCUITest] XCUITestDriver version: 2.7.0
[BaseDriver] The following capabilities were provided, but are not recognized by appium: appiumVersion, deviceOrientation.
[BaseDriver] Session created with session id: 240cc92f-0aff-47d7-87e3-b08341dafd33
[debug] [XCUITest] Xcode version set to '8.3'
[debug] [XCUITest] iOS SDK Version set to '10.3'
[iOSSim] Constructing iOS simulator for Xcode version 8.3 with udid 'B710E6DF-CDD3-4996-8B97-3884B5FE6485'
[XCUITest] Determining device to run tests on: udid: 'B710E6DF-CDD3-4996-8B97-3884B5FE6485', real device: false
[BaseDriver] Using local app '/Users/jamesmacdonald/Library/Developer/Xcode/DerivedData/Build/Products/[Development] Sales-iphonesimulator/Sales.app'
[debug] [XCUITest] Checking whether app '/Users/jamesmacdonald/Library/Developer/Xcode/DerivedData/Build/Products/[Development] Sales-iphonesimulator/Sales.app' is actually present on file system
[debug] [XCUITest] App is present
[debug] [iOSLog] Starting iOS 10.3 simulator log capture
[debug] [iOSLog] System log path: /Users/jamesmacdonald/Library/Logs/CoreSimulator/B710E6DF-CDD3-4996-8B97-3884B5FE6485/system.log
[debug] [XCUITest] Reset: shutting down simulator
[debug] [iOSSim] Killing all iOS Simulators
[debug] [XCUITest] Reset: fullReset is not on. Performing 'fast reset' by removing app resources
[debug] [iOSSim] Cleaning app data files for 'Sales.app', 'com.vtinfo.sales'
[debug] [iOSSim] Checking whether simulator has been run before
[debug] [iOSSim] Simulator has been run before
[debug] [iOSSim] Building bundle path map
[debug] [iOSSim] Deleting directory: '/Users/jamesmacdonald/Library/Developer/CoreSimulator/Devices/B710E6DF-CDD3-4996-8B97-3884B5FE6485/data/Containers/Data/Application/B11187AD-75D8-41AF-A72B-289E433A7D45'
[debug] [iOSSim] Deleting file: '/Users/jamesmacdonald/Library/Developer/CoreSimulator/Devices/Library/Preferences/com.vtinfo.sales.plist'
[XCUITest] Setting up simulator
[debug] [iOS] No reason to set locale
[debug] [iOS] Setting iOS and app preferences
[debug] [iOSSim] Checking whether simulator has been run before
[debug] [iOSSim] Simulator has been run before
[debug] [iOS] Setting location services to 1
[debug] [iOS] Authorizing location services for app
[debug] [iOSSim] Updating location client file: /Users/jamesmacdonald/Library/Developer/CoreSimulator/Devices/B710E6DF-CDD3-4996-8B97-3884B5FE6485/data/Library/Caches/locationd/clients.plist
[debug] [iOS] Updated plist files, rebooting the simulator if it's already open
[debug] [iOS] Killing the simulator
[debug] [iOSSim] Killing all iOS Simulators
[XCUITest] Simulator with udid 'B710E6DF-CDD3-4996-8B97-3884B5FE6485' not booted. Booting up now
[debug] [iOSSim] Killing all iOS Simulators
[iOSSim] Starting simulator with command: open -Fn /Users/jamesmacdonald/Downloads/Xcode-beta.app/Contents/Developer/Applications/Simulator.app --args -ConnectHardwareKeyboard 0 -CurrentDeviceUDID B710E6DF-CDD3-4996-8B97-3884B5FE6485
[iOSSim] Simulator booted in 20631ms
[debug] [XCUITest] Installing app '/Users/jamesmacdonald/Library/Developer/Xcode/DerivedData/Build/Products/[Development] Sales-iphonesimulator/Sales.app' on device
[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] Beginning test with command 'xcodebuild build-for-testing test-without-building -project /usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=B710E6DF-CDD3-4996-8B97-3884B5FE6485 -configuration Debug' in directory '/usr/local/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[debug] [XCUITest] Waiting up to 60000ms for WebDriverAgent to start
[debug] [XCUITest] Log file for xcodebuild test: /Users/jamesmacdonald/Library/Developer/Xcode/DerivedData/WebDriverAgent-brdadhpuduowllgivnnvuygpwhzy/Logs/Test/D411BC47-6259-4666-9387-4FB7B1ED4034/Session-WebDriverAgentRunner-2017-02-09_113419-wuy2E6.log
[debug] [XCUITest] WebDriverAgent successfully started after 15871ms
[debug] [XCUITest] Sending createSession command to WDA
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"com.vtinfo.sales","arguments":[],"environment":{},"shouldWaitForQuiescence":true}}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"sessionId":"04EA2053-34E3-44A7-A70E-A42A2A4E2CAD","capabilities":{"device":"ipad","browserName":"Sales","sdkVersion":"10.3","CFBundleIdentifier":"com.vtinfo.sales"}},"sessionId":"04EA2053-34E3-44A7-A70E-A42A2A4E2CAD","status":0}
[debug] [XCUITest] Setting initial orientation to 'PORTRAIT'
[debug] [JSONWP Proxy] Proxying [POST /orientation] to [POST http://localhost:8100/session/04EA2053-34E3-44A7-A70E-A42A2A4E2CAD/orientation] with body: {"orientation":"PORTRAIT"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{},"sessionId":"04EA2053-34E3-44A7-A70E-A42A2A4E2CAD","status":0}
[Appium] New XCUITestDriver session created successfully, session 240cc92f-0aff-47d7-87e3-b08341dafd33 added to master session list
[debug] [MJSONWP] Responding to client with driver.createSession() result: {"webStorageEnabled":false,"locationContextEnabled":false,"browserName":"","platform":"MAC","javascriptEnabled":true,"databaseEnabled":false,"takesScreenshot":true,"networkConnectionEnabled":false,"app":"/Users/jamesmacdonald/Library/Developer/Xcode/DerivedData/Build/Products/[Development] Sales-iphonesimulator/Sales.app","locationServicesAuthorized":true,"appiumVersion":"1.6.3","platformVersion":"10.3","automationName":"xcuitest","bundleId":"com.vtinfo.sales","deviceOrientation":"portrait","platformName":"iOS","locationServicesEnabled":true,"deviceName":"iPad Air 2","udid":"B710E6DF-CDD3-4996-8B97-3884B5FE6485"}
[HTTP] <-- POST /wd/hub/session 200 47276 ms - 692
[HTTP] --> POST /wd/hub/session/240cc92f-0aff-47d7-87e3-b08341dafd33/element {"using":"class name","value":"XCUIElementTypeNavigationBar"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["class name","XCUIElementTypeNavigationBar","240cc92f-0aff-47d7-87e3-b08341dafd33"]
[debug] [XCUITest] Executing command 'findElement'
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, accessibility id
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/04EA2053-34E3-44A7-A70E-A42A2A4E2CAD/element] with body: {"using":"class name","value":"XCUIElementTypeNavigationBar"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"ELEMENT":"73230C29-49BA-4D71-B5A2-B35ED1DC0DC1","type":"XCUIElementTypeNavigationBar","label":null},"sessionId":"04EA2053-34E3-44A7-A70E-A42A2A4E2CAD","status":0}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"73230C29-49BA-4D71-B5A2-B35ED1DC0DC1","type":"XCUIElementTypeNavigationBar","label":null}
[HTTP] <-- POST /wd/hub/session/240cc92f-0aff-47d7-87e3-b08341dafd33/element 200 321 ms - 173
[HTTP] --> GET /wd/hub/session/240cc92f-0aff-47d7-87e3-b08341dafd33/element/73230C29-49BA-4D71-B5A2-B35ED1DC0DC1/attribute/name {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [XCUITest] Executing command 'proxyReqRes'
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/240cc92f-0aff-47d7-87e3-b08341dafd33/element/73230C29-49BA-4D71-B5A2-B35ED1DC0DC1/attribute/name] to [GET http://localhost:8100/session/04EA2053-34E3-44A7-A70E-A42A2A4E2CAD/element/73230C29-49BA-4D71-B5A2-B35ED1DC0DC1/attribute/name] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : \"Account\",\n \"sessionId\" : \"04EA2053-34E3-44A7-A70E-A42A2A4E2CAD\",\n \"status\" : 0\n}"
[JSONWP Proxy] Replacing sessionId 04EA2053-34E3-44A7-A70E-A42A2A4E2CAD with 240cc92f-0aff-47d7-87e3-b08341dafd33
[HTTP] <-- GET /wd/hub/session/240cc92f-0aff-47d7-87e3-b08341dafd33/element/73230C29-49BA-4D71-B5A2-B35ED1DC0DC1/attribute/name 200 171 ms - 81
[HTTP] --> POST /wd/hub/session/240cc92f-0aff-47d7-87e3-b08341dafd33/element {"using":"class name","value":"XCUIElementTypeTextField"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["class name","XCUIElementTypeTextField","240cc92f-0aff-47d7-87e3-b08341dafd33"]
[debug] [XCUITest] Executing command 'findElement'
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, accessibility id
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/04EA2053-34E3-44A7-A70E-A42A2A4E2CAD/element] with body: {"using":"class name","value":"XCUIElementTypeTextField"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"ELEMENT":"6E5D5F44-F4A3-46FA-B1ED-0D9F8B7DF006","type":"XCUIElementTypeTextField","label":"Username"},"sessionId":"04EA2053-34E3-44A7-A70E-A42A2A4E2CAD","status":0}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"6E5D5F44-F4A3-46FA-B1ED-0D9F8B7DF006","type":"XCUIElementTypeTextField","label":"Username"}
[HTTP] <-- POST /wd/hub/session/240cc92f-0aff-47d7-87e3-b08341dafd33/element 200 244 ms - 175
[HTTP] --> POST /wd/hub/session/240cc92f-0aff-47d7-87e3-b08341dafd33/element/6E5D5F44-F4A3-46FA-B1ED-0D9F8B7DF006/click {"id":"6E5D5F44-F4A3-46FA-B1ED-0D9F8B7DF006"}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [XCUITest] Executing command 'proxyReqRes'
[debug] [JSONWP Proxy] Proxying [POST /wd/hub/session/240cc92f-0aff-47d7-87e3-b08341dafd33/element/6E5D5F44-F4A3-46FA-B1ED-0D9F8B7DF006/click] to [POST http://localhost:8100/session/04EA2053-34E3-44A7-A70E-A42A2A4E2CAD/element/6E5D5F44-F4A3-46FA-B1ED-0D9F8B7DF006/click] with body: {"id":"6E5D5F44-F4A3-46FA-B1ED-0D9F8B7DF006"}
[debug] [JSONWP Proxy] Got response with status 200: {"status":0,"id":"6E5D5F44-F4A3-46FA-B1ED-0D9F8B7DF006","value":"","sessionId":"04EA2053-34E3-44A7-A70E-A42A2A4E2CAD"}
[JSONWP Proxy] Replacing sessionId 04EA2053-34E3-44A7-A70E-A42A2A4E2CAD with 240cc92f-0aff-47d7-87e3-b08341dafd33
[HTTP] <-- POST /wd/hub/session/240cc92f-0aff-47d7-87e3-b08341dafd33/element/6E5D5F44-F4A3-46FA-B1ED-0D9F8B7DF006/click 200 768 ms - 118
[HTTP] --> GET /wd/hub/session/240cc92f-0aff-47d7-87e3-b08341dafd33/element/6E5D5F44-F4A3-46FA-B1ED-0D9F8B7DF006/text {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [XCUITest] Executing command 'proxyReqRes'
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/240cc92f-0aff-47d7-87e3-b08341dafd33/element/6E5D5F44-F4A3-46FA-B1ED-0D9F8B7DF006/text] to [GET http://localhost:8100/session/04EA2053-34E3-44A7-A70E-A42A2A4E2CAD/element/6E5D5F44-F4A3-46FA-B1ED-0D9F8B7DF006/text] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : \"Username\",\n \"sessionId\" : \"04EA2053-34E3-44A7-A70E-A42A2A4E2CAD\",\n \"status\" : 0\n}"
[JSONWP Proxy] Replacing sessionId 04EA2053-34E3-44A7-A70E-A42A2A4E2CAD with 240cc92f-0aff-47d7-87e3-b08341dafd33
[HTTP] <-- GET /wd/hub/session/240cc92f-0aff-47d7-87e3-b08341dafd33/element/6E5D5F44-F4A3-46FA-B1ED-0D9F8B7DF006/text 200 575 ms - 82
[HTTP] --> GET /wd/hub/session/240cc92f-0aff-47d7-87e3-b08341dafd33/element/6E5D5F44-F4A3-46FA-B1ED-0D9F8B7DF006/text {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [XCUITest] Executing command 'proxyReqRes'
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/240cc92f-0aff-47d7-87e3-b08341dafd33/element/6E5D5F44-F4A3-46FA-B1ED-0D9F8B7DF006/text] to [GET http://localhost:8100/session/04EA2053-34E3-44A7-A70E-A42A2A4E2CAD/element/6E5D5F44-F4A3-46FA-B1ED-0D9F8B7DF006/text] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : \"Username\",\n \"sessionId\" : \"04EA2053-34E3-44A7-A70E-A42A2A4E2CAD\",\n \"status\" : 0\n}"
[JSONWP Proxy] Replacing sessionId 04EA2053-34E3-44A7-A70E-A42A2A4E2CAD with 240cc92f-0aff-47d7-87e3-b08341dafd33
[HTTP] <-- GET /wd/hub/session/240cc92f-0aff-47d7-87e3-b08341dafd33/element/6E5D5F44-F4A3-46FA-B1ED-0D9F8B7DF006/text 200 470 ms - 82
[HTTP] --> POST /wd/hub/session/240cc92f-0aff-47d7-87e3-b08341dafd33/element {"using":"class name","value":"XCUIElementTypeKeyboard"}
[debug] [MJSONWP] Calling AppiumDriver.findElement() with args: ["class name","XCUIElementTypeKeyboard","240cc92f-0aff-47d7-87e3-b08341dafd33"]
[debug] [XCUITest] Executing command 'findElement'
[debug] [BaseDriver] Valid locator strategies for this request: xpath, id, name, class name, -ios predicate string, accessibility id
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/04EA2053-34E3-44A7-A70E-A42A2A4E2CAD/element] with body: {"using":"class name","value":"XCUIElementTypeKeyboard"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"ELEMENT":"BC49520A-0DC7-44DC-A0B1-963BEB6E9ABD","type":"XCUIElementTypeKeyboard","label":null},"sessionId":"04EA2053-34E3-44A7-A70E-A42A2A4E2CAD","status":0}
[debug] [MJSONWP] Responding to client with driver.findElement() result: {"ELEMENT":"BC49520A-0DC7-44DC-A0B1-963BEB6E9ABD","type":"XCUIElementTypeKeyboard","label":null}
[HTTP] <-- POST /wd/hub/session/240cc92f-0aff-47d7-87e3-b08341dafd33/element 200 418 ms - 168
[HTTP] --> GET /wd/hub/session/240cc92f-0aff-47d7-87e3-b08341dafd33/element/BC49520A-0DC7-44DC-A0B1-963BEB6E9ABD/enabled {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [XCUITest] Executing command 'proxyReqRes'
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/240cc92f-0aff-47d7-87e3-b08341dafd33/element/BC49520A-0DC7-44DC-A0B1-963BEB6E9ABD/enabled] to [GET http://localhost:8100/session/04EA2053-34E3-44A7-A70E-A42A2A4E2CAD/element/BC49520A-0DC7-44DC-A0B1-963BEB6E9ABD/enabled] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : true,\n \"sessionId\" : \"04EA2053-34E3-44A7-A70E-A42A2A4E2CAD\",\n \"status\" : 0\n}"
[JSONWP Proxy] Replacing sessionId 04EA2053-34E3-44A7-A70E-A42A2A4E2CAD with 240cc92f-0aff-47d7-87e3-b08341dafd33
[HTTP] <-- GET /wd/hub/session/240cc92f-0aff-47d7-87e3-b08341dafd33/element/BC49520A-0DC7-44DC-A0B1-963BEB6E9ABD/enabled 200 232 ms - 76
[HTTP] --> POST /wd/hub/session/240cc92f-0aff-47d7-87e3-b08341dafd33/element/6E5D5F44-F4A3-46FA-B1ED-0D9F8B7DF006/value {"id":"6E5D5F44-F4A3-46FA-B1ED-0D9F8B7DF006","value":["CDC13MOE@VTINFO.COM"]}
[debug] [MJSONWP] Calling AppiumDriver.setValue() with args: [["CDC13MOE@VTINFO.COM"],"6E5D5F44-F4A3-46FA-B1ED-0D9F8B7DF006","240cc92f-0aff-47d7-87e3-b08341dafd33"]
[debug] [XCUITest] Executing command 'setValue'
[debug] [JSONWP Proxy] Proxying [POST /element/6E5D5F44-F4A3-46FA-B1ED-0D9F8B7DF006/value] to [POST http://localhost:8100/session/04EA2053-34E3-44A7-A70E-A42A2A4E2CAD/element/6E5D5F44-F4A3-46FA-B1ED-0D9F8B7DF006/value] with body: {"value":["C","D","C","1","3","M","O","E","@","V","T","I","N","F","O",".","C","O","M"]}
[debug] [JSONWP Proxy] Got response with status 200: {"value":"-[XCTestDriver managerProxy]: unrecognized selector sent to instance 0x600000054fa0\n\n(\n\t0 CoreFoundation 0x000000010c008b0b __exceptionPreprocess + 171\n\t1 libobjc.A.dylib 0x000000010ba6f141 objc_exception_throw + 48\n\t2 CoreFoundation 0x000000010c078134 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132\n\t3 CoreFoundation 0x000000010bf8f840 ___forwarding___ + 1024\n\t4 CoreFoundation 0x000000010bf8f3b8 _CF_forwarding_prep_0 + 120\n\t5 WebDriverAgentLib 0x000000011d99a03e __29+[FBKeyboard typeText:error:]_block_invoke + 126\n\t6 WebDriverAgentLib 0x000000011d99ea65 +[FBRunLoopSpinner spinUntilCompletion:] + 149\n\t7 WebDriverAgentLib 0x000000011d999e44 +[FBKeyboard typeText:error:] + 436\n\t8 WebDriverAgentLib 0x000000011d9a862b -[XCUIElement(FBTyping) fb_typeText:error:] + 155\n\t9 WebDriverAg...
[debug] [JSONWP Proxy] Proxying [GET /element/6E5D5F44-F4A3-46FA-B1ED-0D9F8B7DF006/attribute/type] to [GET http://localhost:8100/session/04EA2053-34E3-44A7-A70E-A42A2A4E2CAD/element/6E5D5F44-F4A3-46FA-B1ED-0D9F8B7DF006/attribute/type] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : \"XCUIElementTypeTextField\",\n \"sessionId\" : \"04EA2053-34E3-44A7-A70E-A42A2A4E2CAD\",\n \"status\" : 0\n}"
[XCUITest] Cannot type in the text field because of UnknownError: An unknown server-side error occurred while processing the command. Original error: -[XCTestDriver managerProxy]: unrecognized selector sent to instance 0x600000054fa0
(
0 CoreFoundation 0x000000010c008b0b __exceptionPreprocess + 171
1 libobjc.A.dylib 0x000000010ba6f141 objc_exception_throw + 48
2 CoreFoundation 0x000000010c078134 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3 CoreFoundation 0x000000010bf8f840 ___forwarding___ + 1024
4 CoreFoundation 0x000000010bf8f3b8 _CF_forwarding_prep_0 + 120
5 WebDriverAgentLib 0x000000011d99a03e __29+[FBKeyboard typeText:error:]_block_invoke + 126
6 WebDriverAgentLib 0x000000011d99ea65 +[FBRunLoopSpinner spinUntilCompletion:] + 149
7 WebDriverAgentLib 0x000000011d999e44 +[FBKeyboard typeText:error:] + 436
8 WebDriverAgentLib 0x000000011d9a862b -[XCUIElement(FBTyping) fb_typeText:error:] + 155
9 WebDriverAgentLib 0x000000011d9b3ef2 +[FBElementCommands handleSetValue:] + 802
10 WebDriverAgentLib 0x000000011d99db13 -[FBRoute_TargetAction mountRequest:intoResponse:] + 179
11 WebDriverAgentLib 0x000000011d995134 __37-[FBWebServer registerRouteHandlers:]_block_invoke + 548
12 RoutingHTTPServer 0x000000011da2bc18 -[RoutingHTTPServer handleRoute:withRequest:response:] + 136
13 RoutingHTTPServer 0x000000011da2c4fa __72-[RoutingHTTPServer routeMethod:withPath:parameters:request:connection:]_block_invoke + 47
14 libdispatch.dylib 0x000000010f1ce792 _dispatch_client_callout + 8
15 libdispatch.dylib 0x000000010f1b74e0 _dispatch_barrier_sync_f_slow_invoke + 292
16 libdispatch.dylib 0x000000010f1ce792 _dispatch_client_callout + 8
17 libdispatch.dylib 0x000000010f1b6247 _dispatch_main_queue_callback_4CF + 1041
18 CoreFoundation 0x000000010bfcd909 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
19 CoreFoundation 0x000000010bf93ae4 __CFRunLoopRun + 2164
20 CoreFoundation 0x000000010bf93016 CFRunLoopRunSpecific + 406
21 Foundation 0x000000010b5581c0 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 274
22 Foundation 0x000000010b55809b -[NSRunLoop(NSRunLoop) run] + 76
23 WebDriverAgentLib 0x000000011d994026 -[FBWebServer startServing] + 262
24 WebDriverAgentRunner 0x000000011d4d5254 -[UITestingUITests testRunner] + 100
25 CoreFoundation 0x000000010bf90c6c __invoking___ + 140
26 CoreFoundation 0x000000010bf90b40 -[NSInvocation invoke] + 320
27 XCTest 0x000000010b42bae6 __24-[XCTestCase invokeTest]_block_invoke_2 + 491
28 XCTest 0x000000010b468416 -[XCTestContext performInScope:] + 190
29 XCTest 0x000000010b42b8e8 -[XCTestCase invokeTest] + 254
30 XCTest 0x000000010b42c1b6 -[XCTestCase performTest:] + 565
31 XCTest 0x000000010b42927c __27-[XCTestSuite performTest:]_block_invoke + 300
32 XCTest 0x000000010b428e6c -[XCTestSuite _performProtectedSectionForTest:testSection:] + 29
33 XCTest 0x000000010b429052 -[XCTestSuite performTest:] + 214
34 XCTest 0x000000010b42927c __27-[XCTestSuite performTest:]_block_invoke + 300
35 XCTest 0x000000010b428e6c -[XCTestSuite _performProtectedSectionForTest:testSection:] + 29
36 XCTest 0x000000010b429052 -[XCTestSuite performTest:] + 214
37 XCTest 0x000000010b42927c __27-[XCTestSuite performTest:]_block_invoke + 300
38 XCTest 0x000000010b428e6c -[XCTestSuite _performProtectedSectionForTest:testSection:] + 29
39 XCTest 0x000000010b429052 -[XCTestSuite performTest:] + 214
40 XCTest 0x000000010b473f2e __44-[XCTTestRunSession runTestsAndReturnError:]_block_invoke + 40
41 XCTest 0x000000010b43808f -[XCTestObservationCenter _observeTestExecutionForBlock:] + 574
42 XCTest 0x000000010b473dcd -[XCTTestRunSession runTestsAndReturnError:] + 281
43 XCTest 0x000000010b413e00 -[XCTestDriver runTestsAndReturnError:] + 254
44 XCTest 0x000000010b46bd22 _XCTestMain + 559
45 CoreFoundation 0x000000010bfaeb5c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
46 CoreFoundation 0x000000010bf93e54 __CFRunLoopDoBlocks + 356
47 CoreFoundation 0x000000010bf935ee __CFRunLoopRun + 894
48 CoreFoundation 0x000000010bf93016 CFRunLoopRunSpecific + 406
49 GraphicsServices 0x000000010e453a24 GSEventRunModal + 62
50 UIKit 0x000000010c42bda4 UIApplicationMain + 159
51 XCTRunner 0x000000010b39388b XCTRunner + 6283
52 libdyld.dylib 0x000000010f21765d start + 1
53 ??? 0x0000000000000005 0x0 + 5
).
Trying to apply a workaround...
[debug] [BaseDriver] Set implicit wait to 0ms
[debug] [BaseDriver] Waiting up to 0 ms for condition
[debug] [JSONWP Proxy] Proxying [POST /element] to [POST http://localhost:8100/session/04EA2053-34E3-44A7-A70E-A42A2A4E2CAD/element] with body: {"using":"class name","value":"XCUIElementTypeKeyboard"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"ELEMENT":"35CFD868-8152-4028-80C6-CFEB8E051651","type":"XCUIElementTypeKeyboard","label":null},"sessionId":"04EA2053-34E3-44A7-A70E-A42A2A4E2CAD","status":0}
[debug] [XCUITest] Keyboard found. Continuing with text input.
[debug] [BaseDriver] Set implicit wait to 0ms
[debug] [JSONWP Proxy] Proxying [POST /element/6E5D5F44-F4A3-46FA-B1ED-0D9F8B7DF006/value] to [POST http://localhost:8100/session/04EA2053-34E3-44A7-A70E-A42A2A4E2CAD/element/6E5D5F44-F4A3-46FA-B1ED-0D9F8B7DF006/value] with body: {"value":["C","D","C","1","3","M","O","E","@","V","T","I","N","F","O",".","C","O","M"]}
[debug] [JSONWP Proxy] Got response with status 200: {"value":"-[XCTestDriver managerProxy]: unrecognized selector sent to instance 0x600000054fa0\n\n(\n\t0 CoreFoundation 0x000000010c008b0b __exceptionPreprocess + 171\n\t1 libobjc.A.dylib 0x000000010ba6f141 objc_exception_throw + 48\n\t2 CoreFoundation 0x000000010c078134 -[NSObject(NSObject) doesNotRecognizeSelector:] + 132\n\t3 CoreFoundation 0x000000010bf8f840 ___forwarding___ + 1024\n\t4 CoreFoundation 0x000000010bf8f3b8 _CF_forwarding_prep_0 + 120\n\t5 WebDriverAgentLib 0x000000011d99a03e __29+[FBKeyboard typeText:error:]_block_invoke + 126\n\t6 WebDriverAgentLib 0x000000011d99ea65 +[FBRunLoopSpinner spinUntilCompletion:] + 149\n\t7 WebDriverAgentLib 0x000000011d999e44 +[FBKeyboard typeText:error:] + 436\n\t8 WebDriverAgentLib 0x000000011d9a862b -[XCUIElement(FBTyping) fb_typeText:error:] + 155\n\t9 WebDriverAg...
[HTTP] <-- POST /wd/hub/session/240cc92f-0aff-47d7-87e3-b08341dafd33/element/6E5D5F44-F4A3-46FA-B1ED-0D9F8B7DF006/value 500 2245 ms - 5770
[HTTP] --> DELETE /wd/hub/session/240cc92f-0aff-47d7-87e3-b08341dafd33 {}
[debug] [MJSONWP] Calling AppiumDriver.deleteSession() with args: ["240cc92f-0aff-47d7-87e3-b08341dafd33"]
[debug] [JSONWP Proxy] Proxying [DELETE /session/240cc92f-0aff-47d7-87e3-b08341dafd33] to [DELETE http://localhost:8100/session/04EA2053-34E3-44A7-A70E-A42A2A4E2CAD] with no body
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n\n },\n \"sessionId\" : \"B2328E46-4A9F-44A6-A5E2-183F6A5A9783\",\n \"status\" : 0\n}"
[XCUITest] Shutting down sub-processes
[XCUITest] Shutting down xcodebuild process (pid 8844)
[XCUITest] xcodebuild exited with code 'null' and signal 'SIGTERM'
[debug] [XCUITest] Reset: shutting down simulator
[debug] [iOSSim] Killing all iOS Simulators
[debug] [XCUITest] Reset: fullReset is not on. Performing 'fast reset' by removing app resources
[debug] [iOSSim] Cleaning app data files for 'Sales.app', 'com.vtinfo.sales'
[debug] [iOSSim] Checking whether simulator has been run before
[debug] [iOSSim] Simulator has been run before
[debug] [iOSSim] Deleting directory: '/Users/jamesmacdonald/Library/Developer/CoreSimulator/Devices/B710E6DF-CDD3-4996-8B97-3884B5FE6485/data/Containers/Data/Application/B11187AD-75D8-41AF-A72B-289E433A7D45'
[debug] [iOSSim] Deleting file: '/Users/jamesmacdonald/Library/Developer/CoreSimulator/Devices/Library/Preferences/com.vtinfo.sales.plist'
[debug] [XCUITest] Resetting simulator
[debug] [XCUITest] Shutting down simulator
[debug] [iOSSim] Killing all iOS Simulators
[debug] [iOSLog] Stopping iOS log capture
[Appium] Removing session 240cc92f-0aff-47d7-87e3-b08341dafd33 from our master session list
[debug] [MJSONWP] Received response: null
[debug] [MJSONWP] But deleting session, so not returning
[debug] [MJSONWP] Responding to client with driver.deleteSession() result: null
[HTTP] <-- DELETE /wd/hub/session/240cc92f-0aff-47d7-87e3-b08341dafd33 200 12036 ms - 76
^C[Appium] Received SIGINT - shutting down
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment