Skip to content

Instantly share code, notes, and snippets.

@hardik-d
Created December 9, 2016 03:23
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 hardik-d/4ffd4ce1a32665373b7e776e90d2569e to your computer and use it in GitHub Desktop.
Save hardik-d/4ffd4ce1a32665373b7e776e90d2569e to your computer and use it in GitHub Desktop.
Can't run test using XCUITest driver
[debug] [iOS] Setting location services to 0
[debug] [iOS] De-authorizing location services for app
[debug] [iOSSim] Updating location client file: /Users/hardik/Library/Developer/CoreSimulator/Devices/2445419D-5BBF-4C62-840D-433E89EE38ED/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 '2445419D-5BBF-4C62-840D-433E89EE38ED' not booted. Booting up now
[debug] [iOSSim] Killing all iOS Simulators
[iOSSim] Starting simulator with command: open -Fn /Applications/Xcode.app/Contents/Developer/Applications/Simulator.app --args -CurrentDeviceUDID 2445419D-5BBF-4C62-840D-433E89EE38ED
[iOSSim] Simulator log at '/Users/hardik/Library/Logs/CoreSimulator/2445419D-5BBF-4C62-840D-433E89EE38ED/system.log'
[iOSSim] Tailing simulator logs until we encounter the string "com.apple.springboard"
[iOSSim] We will time out after 60000ms
[debug] [iOSSim] Waiting an extra 10000ms for the simulator to really finish booting
[debug] [iOSSim] Done waiting extra time for simulator
[iOSSim] Simulator booted in 15440ms
[debug] [XCUITest] Installing app '/Users/hardik/PNM Consumer.app' on device
[XCUITest] Using WDA path: '/Users/hardik/.nvm/versions/node/v5.0.0/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent'
[XCUITest] Using WDA agent: '/Users/hardik/.nvm/versions/node/v5.0.0/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 /Users/hardik/.nvm/versions/node/v5.0.0/lib/node_modules/appium/node_modules/appium-xcuitest-driver/WebDriverAgent/WebDriverAgent.xcodeproj -scheme WebDriverAgentRunner -destination id=2445419D-5BBF-4C62-840D-433E89EE38ED -configuration Debug' in directory '/Users/hardik/.nvm/versions/node/v5.0.0/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/hardik/Library/Developer/Xcode/DerivedData/WebDriverAgent-bgoqknnwqfgrfdcxvewemiwqqedk/Logs/Test/98351B71-39E9-47AB-992B-2227D707D12D/Session-WebDriverAgentRunner-2016-12-08_191720-Einu74.log
[debug] [WebDriverAgent] Sim: Dec 8 19:17:20 Hardiks-MBP CoreSimulatorBridge[50739]: Requesting installation of file:///Users/hardik/Library/Developer/Xcode/DerivedData/WebDriverAgent-bgoqknnwqfgrfdcxvewemiwqqedk/Build/Products/Debug-iphonesimulator/WebDriverAgentRunner-Runner.app/ with options: {
[debug] [WebDriverAgent] Sim: CFBundleIdentifier = "com.apple.test.WebDriverAgentRunner-Runner";
[debug] [WebDriverAgent] Sim: PackageType = Developer;
[debug] [WebDriverAgent] Sim: SimulatorRootPath = "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk";
[debug] [WebDriverAgent] Sim: SimulatorUserPath = "/Users/hardik/Library/Developer/CoreSimulator/Devices/2445419D-5BBF-4C62-840D-433E89EE38ED/data";
[debug] [WebDriverAgent] Sim: }
[debug] [WebDriverAgent] Sim: Dec 8 19:17:24 Hardiks-MBP CoreSimulatorBridge[50739]: Requesting launch of com.apple.test.WebDriverAgentRunner-Runner with options: {
[debug] [WebDriverAgent] Sim: arguments = (
[debug] [WebDriverAgent] Sim: "-NSTreatUnknownArgumentsAsOpen",
[debug] [WebDriverAgent] Sim: NO,
[debug] [WebDriverAgent] Sim: "-ApplePersistenceIgnoreState",
[debug] [WebDriverAgent] Sim: YES
[debug] [WebDriverAgent] Sim: );
[debug] [WebDriverAgent] Sim: environment = {
[debug] [WebDriverAgent] Sim: "DTX_CONNECTION_SERVICES_PATH" = "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Developer/Library/PrivateFrameworks/DTXConnectionServices.framework";
[debug] [WebDriverAgent] Sim: "DYLD_FRAMEWORK_PATH" = "/Users/hardik/Library/Developer/Xcode/DerivedData/WebDriverAgent-bgoqknnwqfgrfdcxvewemiwqqedk/Build/Products/Debug-iphonesimulator:/Users/hardik/Library/Developer/Xcode/DerivedData/WebDriverAgent-bgoqknnwqfgrfdcxvewemiwqqedk/Build/Products/Debug-iphonesimulator:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks";
[debug] [WebDriverAgent] Sim: "DYLD_LIBRARY_PATH" = "/Users/hardik/Library/Developer/Xcode/DerivedData/WebDriverAgent-bgoqknnwqfgrfdcxvewemiwqqedk/Build/Products/Debug-iphonesimulator:/Users/hardik/Library/Developer/Xcode/DerivedData/WebDriverAgent-bgoqknnwqfgrfdcxvewemiwqqedk/Build/Products/Debug-iphonesimulator:/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks";
[debug] [WebDriverAgent] Sim: NSUnbufferedIO = YES;
[debug] [WebDriverAgent] Sim: "OS_ACTIVITY_DT_MODE" = YES;
[debug] [WebDriverAgent] Sim: "XCODE_DBG_XPC_EXCLUSIONS" = "com.apple.dt.xctestSymbolicator";
[debug] [WebDriverAgent] Sim: XCTestConfigurationFilePath = "/var/folders/jc/0nhy5khd4xjdw3tdg1w39wk80000gn/T/com.apple.dt.XCTest/89600FE6-BC6A-48BF-A243-39F9FFCA8837/remote-container/tmp/WebDriverAgentRunner-89600FE6-BC6A-48BF-A243-39F9FFCA8837.xctestconfiguration";
[debug] [WebDriverAgent] Sim: "__XCODE_BUILT_PRODUCTS_DIR_PATHS" = "/Users/hardik/Library/Developer/Xcode/DerivedData/WebDriverAgent-bgoqknnwqfgrfdcxvewemiwqqedk/Build/Products/Debug-iphonesimulator";
[debug] [WebDriverAgent] Sim: "__XPC_DYLD_FRAMEWORK_PATH" = "/Users/hardik/Library/Developer/Xcode/DerivedData/WebDriverAgent-bgoqknnwqfgrfdcxvewemiwqqedk/Build/Products/Debug-iphonesimulator";
[debug] [WebDriverAgent] Sim: "__XPC_DYLD_LIBRARY_PATH" = "/Users/hardik/Library/Developer/Xcode/DerivedData/WebDriverAgent-bgoqknnwqfgrfdcxvewemiwqqedk/Build/Products/Debug-iphonesimulator";
[debug] [WebDriverAgent] Sim: };
[debug] [WebDriverAgent] Sim: stderr = "/dev/ttys001";
[debug] [WebDriverAgent] Sim: stdout = "/dev/ttys001";
[debug] [WebDriverAgent] Sim: "wait_for_debugger" = 0;
[debug] [WebDriverAgent] Sim: }
[debug] [WebDriverAgent] Sim: Dec 8 19:17:24 Hardiks-MBP CoreSimulatorBridge[50739]: [Common] [FBSSystemService][0xacf0] Sending request to open "com.apple.test.WebDriverAgentRunner-Runner"
[debug] [WebDriverAgent] Sim: Dec 8 19:17:24 Hardiks-MBP CoreSimulatorBridge[50739]: [Common] [FBSSystemService][0xacf0] Request successful: <FBSProcessHandle: 0x7f8f78517c80; XCTRunner:50845; valid: YES>
[debug] [WebDriverAgent] Sim: Dec 8 19:17:24 Hardiks-MBP XCTRunner[50845]: assertion failed: 15G1004 14A345: libxpc.dylib + 62597 [37A9DF49-35C1-3D93-B854-B35CACF0100F]: 0x7d
[debug] [WebDriverAgent] Sim: Dec 8 19:17:24 Hardiks-MBP XCTRunner[50845]: Running tests...
[debug] [WebDriverAgent] Sim: Dec 8 19:17:30 Hardiks-MBP XCTRunner[50845]: Continuing to run tests in the background with task ID 1
[debug] [WebDriverAgent] Sim: Dec 8 19:17:30 --- last message repeated 13 times ---
[debug] [WebDriverAgent] Sim: Dec 8 19:17:30 Hardiks-MBP XCTRunner[50845]: Built at Dec 8 2016 18:51:16
[XCUITest] Detected that WebDriverAgent is running at url 'http://192.168.1.23:8100'
[debug] [WebDriverAgent] Sim: Dec 8 19:17:30 Hardiks-MBP XCTRunner[50845]: ServerURLHere->http://192.168.1.23:8100<-ServerURLHere
[XCUITest] WebDriverAgent started at url 'http://192.168.1.23:8100'
[debug] [JSONWP Proxy] Proxying [POST /session] to [POST http://localhost:8100/session] with body: {"desiredCapabilities":{"bundleId":"com.paynearme.mobile.consumer.DEV","arguments":[],"environment":{},"shouldWaitForQuiescence":true}}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{"sessionId":"EF43E032-B889-4828-8EC5-2D80630C4113","capabilities":{"device":"iphone","browserName":"PNM-DEV","sdkVersion":"10.0","CFBundleIdentifier":"com.paynearme.mobile.consumer.DEV"}},"sessionId":"EF43E032-B889-4828-8EC5-2D80630C4113","status":0}
[debug] [XCUITest] Setting initial orientation to 'PORTRAIT'
[debug] [JSONWP Proxy] Proxying [POST /orientation] to [POST http://localhost:8100/session/EF43E032-B889-4828-8EC5-2D80630C4113/orientation] with body: {"orientation":"PORTRAIT"}
[debug] [JSONWP Proxy] Got response with status 200: {"value":{},"sessionId":"EF43E032-B889-4828-8EC5-2D80630C4113","status":0}
[Appium] New XCUITestDriver session created successfully, session ed22a770-4e2e-46d0-8c33-11f93c8cc446 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,"platformName":"iOS","platformVersion":"10.0","deviceName":"iPhone 6","locationServicesEnabled":"false","locationServicesAuthorized":"false","automationName":"XCUITest","bundleID":"pnminc-dev","autoDismissAlerts":"true","sendKeyStrategy":"setValue","app":"/Users/hardik/PNM Consumer.app"}
[HTTP] <-- POST /wd/hub/session 200 56004 ms - 557
[HTTP] --> POST /wd/hub/session/ed22a770-4e2e-46d0-8c33-11f93c8cc446/timeouts/implicit_wait {"ms":0}
[debug] [MJSONWP] Calling AppiumDriver.implicitWait() with args: [0,"ed22a770-4e2e-46d0-8c33-11f93c8cc446"]
[debug] [XCUITest] Executing command 'implicitWait'
[debug] [BaseDriver] Set implicit wait to 0ms
[debug] [MJSONWP] Responding to client with driver.implicitWait() result: null
[HTTP] <-- POST /wd/hub/session/ed22a770-4e2e-46d0-8c33-11f93c8cc446/timeouts/implicit_wait 200 6 ms - 76
[HTTP] --> GET /wd/hub/session/ed22a770-4e2e-46d0-8c33-11f93c8cc446/contexts {}
[debug] [MJSONWP] Calling AppiumDriver.getContexts() with args: ["ed22a770-4e2e-46d0-8c33-11f93c8cc446"]
[debug] [XCUITest] Executing command 'getContexts'
[debug] [iOS] Getting list of available contexts
[debug] [iOS] Retrieving contexts and views
[debug] [iOS] Selecting by url: false
[debug] [RemoteDebugger] useNewSafari --> false
[debug] [RemoteDebugger] Debugger socket connected to ::1:27753
[debug] [RemoteDebugger] Sending connection key request
[debug] [RemoteDebugger] Sending '_rpc_reportIdentifier:' message to remote debugger
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRSimulatorBuildKey":"14A345","WIRSimulatorProductVersionKey":"10.0","WIRSimulatorNameKey":"iPhone"},"__selector":"_rpc_reportSetup:"}'
[debug] [RemoteDebugger] Received response from socket send: '["iPhone","14A345","10.0"]'
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationDictionaryKey":{"PID:50854":{"WIRRemoteAutomationEnabledKey":false,"WIRIsApplicationActiveKey":1,"WIRIsApplicationReadyKey":false,"WIRApplicationIdentifierKey":"PID:50854","WIRIsApplicationProxyKey":false,"WIRApplicationNameKey":"PNM-DEV","WIRApplicationBundleIdentifierKey":"com.paynearme.mobile.consumer.DEV"}}},"__selector":"_rpc_reportConnectedApplicationList:"}'
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRDriverDictionaryKey":{}},"__selector":"_rpc_reportConnectedDriverList:"}'
[debug] [RemoteDebugger] Notified of connected drivers: {}.
[debug] [RemoteDebugger] Connected to application
[debug] [RemoteDebugger] Sim name: iPhone
[debug] [RemoteDebugger] Sim build: 14A345
[debug] [RemoteDebugger] Sim platform version: 10.0
[debug] [RemoteDebugger] Selecting application
[debug] [RemoteDebugger] Found app id key 'PID:50854' for bundle 'com.paynearme.mobile.consumer.DEV'
[debug] [RemoteDebugger] Trying out the possible app ids: PID:50854
[debug] [RemoteDebugger] Selecting app PID:50854 (try #1 of 20)
[debug] [RemoteDebugger] Sending '_rpc_forwardGetListing:' message to remote debugger
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRRemoteAutomationEnabledKey":false,"WIRIsApplicationActiveKey":1,"WIRIsApplicationReadyKey":false,"WIRApplicationIdentifierKey":"PID:50855","WIRIsApplicationProxyKey":true,"WIRApplicationNameKey":"SafariViewService","WIRApplicationBundleIdentifierKey":"com.apple.SafariViewService","WIRHostApplicationIdentifierKey":"PID:50854"},"__selector":"_rpc_applicationConnected:"}'
[debug] [RemoteDebugger] We were notified we might have connected to the wrong app. Using id PID:50855 instead of PID:50854
[debug] [RemoteDebugger] Notified that new application 'PID:50855' has connected
[debug] [RemoteDebugger] Current applications available:
[debug] [RemoteDebugger] Application: 'PID:50854'
[debug] [RemoteDebugger] id: "PID:50854"
[debug] [RemoteDebugger] isProxy: false
[debug] [RemoteDebugger] name: "PNM-DEV"
[debug] [RemoteDebugger] bundleId: "com.paynearme.mobile.consumer.DEV"
[debug] [RemoteDebugger] hostId: undefined
[debug] [RemoteDebugger] isActive: 1
[debug] [RemoteDebugger] isAutomationEnabled: false
[debug] [RemoteDebugger] Application: 'PID:50855'
[debug] [RemoteDebugger] id: "PID:50855"
[debug] [RemoteDebugger] isProxy: true
[debug] [RemoteDebugger] name: "SafariViewService"
[debug] [RemoteDebugger] bundleId: "com.apple.SafariViewService"
[debug] [RemoteDebugger] hostId: "PID:50854"
[debug] [RemoteDebugger] isActive: 1
[debug] [RemoteDebugger] isAutomationEnabled: false
[debug] [RemoteDebugger] pageDict: "Waiting for data"
[debug] [RemoteDebugger] Found app id key 'PID:50854' for bundle 'com.paynearme.mobile.consumer.DEV'
[debug] [RemoteDebugger] Found separate bundleId 'com.apple.SafariViewService' acting as proxy for 'com.paynearme.mobile.consumer.DEV', with app id 'PID:50855'
[debug] [RemoteDebugger] Using proxied app id 'PID:50855'
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRRemoteAutomationEnabledKey":false,"WIRIsApplicationActiveKey":1,"WIRIsApplicationReadyKey":false,"WIRApplicationIdentifierKey":"PID:50857","WIRIsApplicationProxyKey":true,"WIRApplicationNameKey":"","WIRApplicationBundleIdentifierKey":"com.apple.WebKit.WebContent","WIRHostApplicationIdentifierKey":"PID:50855"},"__selector":"_rpc_applicationConnected:"}'
[debug] [RemoteDebugger] We were notified we might have connected to the wrong app. Using id PID:50857 instead of PID:50855
[debug] [RemoteDebugger] Notified that new application 'PID:50857' has connected
[debug] [RemoteDebugger] Current applications available:
[debug] [RemoteDebugger] Application: 'PID:50854'
[debug] [RemoteDebugger] id: "PID:50854"
[debug] [RemoteDebugger] isProxy: false
[debug] [RemoteDebugger] name: "PNM-DEV"
[debug] [RemoteDebugger] bundleId: "com.paynearme.mobile.consumer.DEV"
[debug] [RemoteDebugger] hostId: undefined
[debug] [RemoteDebugger] isActive: 1
[debug] [RemoteDebugger] isAutomationEnabled: false
[debug] [RemoteDebugger] Application: 'PID:50855'
[debug] [RemoteDebugger] id: "PID:50855"
[debug] [RemoteDebugger] isProxy: true
[debug] [RemoteDebugger] name: "SafariViewService"
[debug] [RemoteDebugger] bundleId: "com.apple.SafariViewService"
[debug] [RemoteDebugger] hostId: "PID:50854"
[debug] [RemoteDebugger] isActive: 1
[debug] [RemoteDebugger] isAutomationEnabled: false
[debug] [RemoteDebugger] pageDict: "Waiting for data"
[debug] [RemoteDebugger] Application: 'PID:50857'
[debug] [RemoteDebugger] id: "PID:50857"
[debug] [RemoteDebugger] isProxy: true
[debug] [RemoteDebugger] name: ""
[debug] [RemoteDebugger] bundleId: "com.apple.WebKit.WebContent"
[debug] [RemoteDebugger] hostId: "PID:50855"
[debug] [RemoteDebugger] isActive: 1
[debug] [RemoteDebugger] isAutomationEnabled: false
[debug] [RemoteDebugger] pageDict: "Waiting for data"
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:50854","WIRListingKey":{"1":{"WIRTitleKey":"","WIRTypeKey":"WIRTypeWeb","WIRURLKey":"file:///Users/hardik/Library/Developer/CoreSimulator/Devices/2445419D-5BBF-4C62-840D-433E89EE38ED/data/Containers/Bundle/Application/A09BC768-145D-4649-9320-734E46AACFD2/PNM%20Consumer.app/www/mobile/index.html","WIRPageIdentifierKey":1}}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received response from socket send: '["PID:50854",{"1":{"WIRTitleKey":"","WIRTypeKey...'
[debug] [RemoteDebugger] Received page change notice for app 'PID:50854' but listening for 'PID:50855'. Ignoring.
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRRemoteAutomationEnabledKey":false,"WIRIsApplicationActiveKey":1,"WIRIsApplicationReadyKey":true,"WIRApplicationIdentifierKey":"PID:50854","WIRIsApplicationProxyKey":false,"WIRApplicationNameKey":"PNM-DEV","WIRApplicationBundleIdentifierKey":"com.paynearme.mobile.consumer.DEV"},"__selector":"_rpc_applicationUpdated:"}'
[debug] [RemoteDebugger] Notified that application 'PID:50854' has been updated.
[debug] [RemoteDebugger] Current applications available:
[debug] [RemoteDebugger] Application: 'PID:50854'
[debug] [RemoteDebugger] id: "PID:50854"
[debug] [RemoteDebugger] isProxy: false
[debug] [RemoteDebugger] name: "PNM-DEV"
[debug] [RemoteDebugger] bundleId: "com.paynearme.mobile.consumer.DEV"
[debug] [RemoteDebugger] hostId: undefined
[debug] [RemoteDebugger] isActive: 1
[debug] [RemoteDebugger] isAutomationEnabled: false
[debug] [RemoteDebugger] pageDict: [{"id":1,"title":"","url":"file:///Users/hardik/Library/Developer/CoreSimulator/Devices/2445419D-5BBF-4C62-840D-433E89EE38ED/data/Containers/Bundle/Application/A09BC768-145D-4649-9320-734E46AACFD2/PNM%20Consumer.app/www/mobile/index.html","isKey":false}]
[debug] [RemoteDebugger] Application: 'PID:50855'
[debug] [RemoteDebugger] id: "PID:50855"
[debug] [RemoteDebugger] isProxy: true
[debug] [RemoteDebugger] name: "SafariViewService"
[debug] [RemoteDebugger] bundleId: "com.apple.SafariViewService"
[debug] [RemoteDebugger] hostId: "PID:50854"
[debug] [RemoteDebugger] isActive: 1
[debug] [RemoteDebugger] isAutomationEnabled: false
[debug] [RemoteDebugger] pageDict: "Waiting for data"
[debug] [RemoteDebugger] Application: 'PID:50857'
[debug] [RemoteDebugger] id: "PID:50857"
[debug] [RemoteDebugger] isProxy: true
[debug] [RemoteDebugger] name: ""
[debug] [RemoteDebugger] bundleId: "com.apple.WebKit.WebContent"
[debug] [RemoteDebugger] hostId: "PID:50855"
[debug] [RemoteDebugger] isActive: 1
[debug] [RemoteDebugger] isAutomationEnabled: false
[debug] [RemoteDebugger] pageDict: "Waiting for data"
[debug] [RemoteDebugger] Error checking application: 'New application has connected'. Retrying connection
[debug] [RemoteDebugger] Found app id key 'PID:50854' for bundle 'com.paynearme.mobile.consumer.DEV'
[debug] [RemoteDebugger] Found separate bundleId 'com.apple.SafariViewService' acting as proxy for 'com.paynearme.mobile.consumer.DEV', with app id 'PID:50855'
[debug] [RemoteDebugger] Trying out the possible app ids: PID:50855
[debug] [RemoteDebugger] Selecting app PID:50855 (try #2 of 20)
[debug] [RemoteDebugger] Sending '_rpc_forwardGetListing:' message to remote debugger
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:50855","WIRListingKey":{}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received response from socket send: '["PID:50855",{}]'
[debug] [RemoteDebugger] Page changed: {}
[debug] [RemoteDebugger] Empty page dictionary received
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRRemoteAutomationEnabledKey":false,"WIRIsApplicationActiveKey":1,"WIRIsApplicationReadyKey":true,"WIRApplicationIdentifierKey":"PID:50855","WIRIsApplicationProxyKey":true,"WIRApplicationNameKey":"SafariViewService","WIRApplicationBundleIdentifierKey":"com.apple.SafariViewService","WIRHostApplicationIdentifierKey":"PID:50854"},"__selector":"_rpc_applicationUpdated:"}'
[debug] [RemoteDebugger] Notified that application 'PID:50855' has been updated.
[debug] [RemoteDebugger] Current applications available:
[debug] [RemoteDebugger] Application: 'PID:50854'
[debug] [RemoteDebugger] id: "PID:50854"
[debug] [RemoteDebugger] isProxy: false
[debug] [RemoteDebugger] name: "PNM-DEV"
[debug] [RemoteDebugger] bundleId: "com.paynearme.mobile.consumer.DEV"
[debug] [RemoteDebugger] hostId: undefined
[debug] [RemoteDebugger] isActive: 1
[debug] [RemoteDebugger] isAutomationEnabled: false
[debug] [RemoteDebugger] pageDict: [{"id":1,"title":"","url":"file:///Users/hardik/Library/Developer/CoreSimulator/Devices/2445419D-5BBF-4C62-840D-433E89EE38ED/data/Containers/Bundle/Application/A09BC768-145D-4649-9320-734E46AACFD2/PNM%20Consumer.app/www/mobile/index.html","isKey":false}]
[debug] [RemoteDebugger] Application: 'PID:50855'
[debug] [RemoteDebugger] id: "PID:50855"
[debug] [RemoteDebugger] isProxy: true
[debug] [RemoteDebugger] name: "SafariViewService"
[debug] [RemoteDebugger] bundleId: "com.apple.SafariViewService"
[debug] [RemoteDebugger] hostId: "PID:50854"
[debug] [RemoteDebugger] isActive: 1
[debug] [RemoteDebugger] isAutomationEnabled: false
[debug] [RemoteDebugger] pageDict: []
[debug] [RemoteDebugger] Application: 'PID:50857'
[debug] [RemoteDebugger] id: "PID:50857"
[debug] [RemoteDebugger] isProxy: true
[debug] [RemoteDebugger] name: ""
[debug] [RemoteDebugger] bundleId: "com.apple.WebKit.WebContent"
[debug] [RemoteDebugger] hostId: "PID:50855"
[debug] [RemoteDebugger] isActive: 1
[debug] [RemoteDebugger] isAutomationEnabled: false
[debug] [RemoteDebugger] pageDict: "Waiting for data"
[debug] [RemoteDebugger] Error checking application: 'Error: Empty page dictionary received'. Retrying connection
[debug] [RemoteDebugger] Found app id key 'PID:50854' for bundle 'com.paynearme.mobile.consumer.DEV'
[debug] [RemoteDebugger] Found separate bundleId 'com.apple.SafariViewService' acting as proxy for 'com.paynearme.mobile.consumer.DEV', with app id 'PID:50855'
[debug] [RemoteDebugger] Trying out the possible app ids: PID:50855
[debug] [RemoteDebugger] Selecting app PID:50855 (try #3 of 20)
[debug] [RemoteDebugger] Sending '_rpc_forwardGetListing:' message to remote debugger
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:50855","WIRListingKey":{}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received response from socket send: '["PID:50855",{}]'
[debug] [RemoteDebugger] Page changed: {}
[debug] [RemoteDebugger] Empty page dictionary received
[debug] [RemoteDebugger] Error checking application: 'Error: Empty page dictionary received'. Retrying connection
[debug] [RemoteDebugger] Found app id key 'PID:50854' for bundle 'com.paynearme.mobile.consumer.DEV'
[debug] [RemoteDebugger] Found separate bundleId 'com.apple.SafariViewService' acting as proxy for 'com.paynearme.mobile.consumer.DEV', with app id 'PID:50855'
[debug] [RemoteDebugger] Trying out the possible app ids: PID:50855
[debug] [RemoteDebugger] Selecting app PID:50855 (try #4 of 20)
[debug] [RemoteDebugger] Sending '_rpc_forwardGetListing:' message to remote debugger
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:50855","WIRListingKey":{}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received response from socket send: '["PID:50855",{}]'
[debug] [RemoteDebugger] Page changed: {}
[debug] [RemoteDebugger] Empty page dictionary received
[debug] [RemoteDebugger] Error checking application: 'Error: Empty page dictionary received'. Retrying connection
[debug] [RemoteDebugger] Found app id key 'PID:50854' for bundle 'com.paynearme.mobile.consumer.DEV'
[debug] [RemoteDebugger] Found separate bundleId 'com.apple.SafariViewService' acting as proxy for 'com.paynearme.mobile.consumer.DEV', with app id 'PID:50855'
[debug] [RemoteDebugger] Trying out the possible app ids: PID:50855
[debug] [RemoteDebugger] Selecting app PID:50855 (try #5 of 20)
[debug] [RemoteDebugger] Sending '_rpc_forwardGetListing:' message to remote debugger
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:50855","WIRListingKey":{}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received response from socket send: '["PID:50855",{}]'
[debug] [RemoteDebugger] Page changed: {}
[debug] [RemoteDebugger] Empty page dictionary received
[debug] [RemoteDebugger] Error checking application: 'Error: Empty page dictionary received'. Retrying connection
[debug] [RemoteDebugger] Found app id key 'PID:50854' for bundle 'com.paynearme.mobile.consumer.DEV'
[debug] [RemoteDebugger] Found separate bundleId 'com.apple.SafariViewService' acting as proxy for 'com.paynearme.mobile.consumer.DEV', with app id 'PID:50855'
[debug] [RemoteDebugger] Trying out the possible app ids: PID:50855
[debug] [RemoteDebugger] Selecting app PID:50855 (try #6 of 20)
[debug] [RemoteDebugger] Sending '_rpc_forwardGetListing:' message to remote debugger
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:50855","WIRListingKey":{}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received response from socket send: '["PID:50855",{}]'
[debug] [RemoteDebugger] Page changed: {}
[debug] [RemoteDebugger] Empty page dictionary received
[debug] [RemoteDebugger] Error checking application: 'Error: Empty page dictionary received'. Retrying connection
[debug] [RemoteDebugger] Found app id key 'PID:50854' for bundle 'com.paynearme.mobile.consumer.DEV'
[debug] [RemoteDebugger] Found separate bundleId 'com.apple.SafariViewService' acting as proxy for 'com.paynearme.mobile.consumer.DEV', with app id 'PID:50855'
[debug] [RemoteDebugger] Trying out the possible app ids: PID:50855
[debug] [RemoteDebugger] Selecting app PID:50855 (try #7 of 20)
[debug] [RemoteDebugger] Sending '_rpc_forwardGetListing:' message to remote debugger
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:50855","WIRListingKey":{}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received response from socket send: '["PID:50855",{}]'
[debug] [RemoteDebugger] Page changed: {}
[debug] [RemoteDebugger] Empty page dictionary received
[debug] [RemoteDebugger] Error checking application: 'Error: Empty page dictionary received'. Retrying connection
[debug] [RemoteDebugger] Found app id key 'PID:50854' for bundle 'com.paynearme.mobile.consumer.DEV'
[debug] [RemoteDebugger] Found separate bundleId 'com.apple.SafariViewService' acting as proxy for 'com.paynearme.mobile.consumer.DEV', with app id 'PID:50855'
[debug] [RemoteDebugger] Trying out the possible app ids: PID:50855
[debug] [RemoteDebugger] Selecting app PID:50855 (try #8 of 20)
[debug] [RemoteDebugger] Sending '_rpc_forwardGetListing:' message to remote debugger
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:50855","WIRListingKey":{}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received response from socket send: '["PID:50855",{}]'
[debug] [RemoteDebugger] Page changed: {}
[debug] [RemoteDebugger] Empty page dictionary received
[debug] [RemoteDebugger] Error checking application: 'Error: Empty page dictionary received'. Retrying connection
[debug] [RemoteDebugger] Found app id key 'PID:50854' for bundle 'com.paynearme.mobile.consumer.DEV'
[debug] [RemoteDebugger] Found separate bundleId 'com.apple.SafariViewService' acting as proxy for 'com.paynearme.mobile.consumer.DEV', with app id 'PID:50855'
[debug] [RemoteDebugger] Trying out the possible app ids: PID:50855
[debug] [RemoteDebugger] Selecting app PID:50855 (try #9 of 20)
[debug] [RemoteDebugger] Sending '_rpc_forwardGetListing:' message to remote debugger
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:50855","WIRListingKey":{}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received response from socket send: '["PID:50855",{}]'
[debug] [RemoteDebugger] Page changed: {}
[debug] [RemoteDebugger] Empty page dictionary received
[debug] [RemoteDebugger] Error checking application: 'Error: Empty page dictionary received'. Retrying connection
[debug] [RemoteDebugger] Found app id key 'PID:50854' for bundle 'com.paynearme.mobile.consumer.DEV'
[debug] [RemoteDebugger] Found separate bundleId 'com.apple.SafariViewService' acting as proxy for 'com.paynearme.mobile.consumer.DEV', with app id 'PID:50855'
[debug] [RemoteDebugger] Trying out the possible app ids: PID:50855
[debug] [RemoteDebugger] Selecting app PID:50855 (try #10 of 20)
[debug] [RemoteDebugger] Sending '_rpc_forwardGetListing:' message to remote debugger
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:50855","WIRListingKey":{}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received response from socket send: '["PID:50855",{}]'
[debug] [RemoteDebugger] Page changed: {}
[debug] [RemoteDebugger] Empty page dictionary received
[debug] [RemoteDebugger] Error checking application: 'Error: Empty page dictionary received'. Retrying connection
[debug] [RemoteDebugger] Found app id key 'PID:50854' for bundle 'com.paynearme.mobile.consumer.DEV'
[debug] [RemoteDebugger] Found separate bundleId 'com.apple.SafariViewService' acting as proxy for 'com.paynearme.mobile.consumer.DEV', with app id 'PID:50855'
[debug] [RemoteDebugger] Trying out the possible app ids: PID:50855
[debug] [RemoteDebugger] Selecting app PID:50855 (try #11 of 20)
[debug] [RemoteDebugger] Sending '_rpc_forwardGetListing:' message to remote debugger
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:50855","WIRListingKey":{}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received response from socket send: '["PID:50855",{}]'
[debug] [RemoteDebugger] Page changed: {}
[debug] [RemoteDebugger] Empty page dictionary received
[debug] [RemoteDebugger] Error checking application: 'Error: Empty page dictionary received'. Retrying connection
[debug] [RemoteDebugger] Found app id key 'PID:50854' for bundle 'com.paynearme.mobile.consumer.DEV'
[debug] [RemoteDebugger] Found separate bundleId 'com.apple.SafariViewService' acting as proxy for 'com.paynearme.mobile.consumer.DEV', with app id 'PID:50855'
[debug] [RemoteDebugger] Trying out the possible app ids: PID:50855
[debug] [RemoteDebugger] Selecting app PID:50855 (try #12 of 20)
[debug] [RemoteDebugger] Sending '_rpc_forwardGetListing:' message to remote debugger
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:50855","WIRListingKey":{}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received response from socket send: '["PID:50855",{}]'
[debug] [RemoteDebugger] Page changed: {}
[debug] [RemoteDebugger] Empty page dictionary received
[debug] [RemoteDebugger] Error checking application: 'Error: Empty page dictionary received'. Retrying connection
[debug] [RemoteDebugger] Found app id key 'PID:50854' for bundle 'com.paynearme.mobile.consumer.DEV'
[debug] [RemoteDebugger] Found separate bundleId 'com.apple.SafariViewService' acting as proxy for 'com.paynearme.mobile.consumer.DEV', with app id 'PID:50855'
[debug] [RemoteDebugger] Trying out the possible app ids: PID:50855
[debug] [RemoteDebugger] Selecting app PID:50855 (try #13 of 20)
[debug] [RemoteDebugger] Sending '_rpc_forwardGetListing:' message to remote debugger
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:50855","WIRListingKey":{}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received response from socket send: '["PID:50855",{}]'
[debug] [RemoteDebugger] Page changed: {}
[debug] [RemoteDebugger] Empty page dictionary received
[debug] [RemoteDebugger] Error checking application: 'Error: Empty page dictionary received'. Retrying connection
[debug] [RemoteDebugger] Found app id key 'PID:50854' for bundle 'com.paynearme.mobile.consumer.DEV'
[debug] [RemoteDebugger] Found separate bundleId 'com.apple.SafariViewService' acting as proxy for 'com.paynearme.mobile.consumer.DEV', with app id 'PID:50855'
[debug] [RemoteDebugger] Trying out the possible app ids: PID:50855
[debug] [RemoteDebugger] Selecting app PID:50855 (try #14 of 20)
[debug] [RemoteDebugger] Sending '_rpc_forwardGetListing:' message to remote debugger
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:50855","WIRListingKey":{}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received response from socket send: '["PID:50855",{}]'
[debug] [RemoteDebugger] Page changed: {}
[debug] [RemoteDebugger] Empty page dictionary received
[debug] [RemoteDebugger] Error checking application: 'Error: Empty page dictionary received'. Retrying connection
[debug] [RemoteDebugger] Found app id key 'PID:50854' for bundle 'com.paynearme.mobile.consumer.DEV'
[debug] [RemoteDebugger] Found separate bundleId 'com.apple.SafariViewService' acting as proxy for 'com.paynearme.mobile.consumer.DEV', with app id 'PID:50855'
[debug] [RemoteDebugger] Trying out the possible app ids: PID:50855
[debug] [RemoteDebugger] Selecting app PID:50855 (try #15 of 20)
[debug] [RemoteDebugger] Sending '_rpc_forwardGetListing:' message to remote debugger
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:50855","WIRListingKey":{}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received response from socket send: '["PID:50855",{}]'
[debug] [RemoteDebugger] Page changed: {}
[debug] [RemoteDebugger] Empty page dictionary received
[debug] [RemoteDebugger] Error checking application: 'Error: Empty page dictionary received'. Retrying connection
[debug] [RemoteDebugger] Found app id key 'PID:50854' for bundle 'com.paynearme.mobile.consumer.DEV'
[debug] [RemoteDebugger] Found separate bundleId 'com.apple.SafariViewService' acting as proxy for 'com.paynearme.mobile.consumer.DEV', with app id 'PID:50855'
[debug] [RemoteDebugger] Trying out the possible app ids: PID:50855
[debug] [RemoteDebugger] Selecting app PID:50855 (try #16 of 20)
[debug] [RemoteDebugger] Sending '_rpc_forwardGetListing:' message to remote debugger
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:50855","WIRListingKey":{}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received response from socket send: '["PID:50855",{}]'
[debug] [RemoteDebugger] Page changed: {}
[debug] [RemoteDebugger] Empty page dictionary received
[debug] [RemoteDebugger] Error checking application: 'Error: Empty page dictionary received'. Retrying connection
[debug] [RemoteDebugger] Found app id key 'PID:50854' for bundle 'com.paynearme.mobile.consumer.DEV'
[debug] [RemoteDebugger] Found separate bundleId 'com.apple.SafariViewService' acting as proxy for 'com.paynearme.mobile.consumer.DEV', with app id 'PID:50855'
[debug] [RemoteDebugger] Trying out the possible app ids: PID:50855
[debug] [RemoteDebugger] Selecting app PID:50855 (try #17 of 20)
[debug] [RemoteDebugger] Sending '_rpc_forwardGetListing:' message to remote debugger
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:50855","WIRListingKey":{}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received response from socket send: '["PID:50855",{}]'
[debug] [RemoteDebugger] Page changed: {}
[debug] [RemoteDebugger] Empty page dictionary received
[debug] [RemoteDebugger] Error checking application: 'Error: Empty page dictionary received'. Retrying connection
[debug] [RemoteDebugger] Found app id key 'PID:50854' for bundle 'com.paynearme.mobile.consumer.DEV'
[debug] [RemoteDebugger] Found separate bundleId 'com.apple.SafariViewService' acting as proxy for 'com.paynearme.mobile.consumer.DEV', with app id 'PID:50855'
[debug] [RemoteDebugger] Trying out the possible app ids: PID:50855
[debug] [RemoteDebugger] Selecting app PID:50855 (try #18 of 20)
[debug] [RemoteDebugger] Sending '_rpc_forwardGetListing:' message to remote debugger
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:50855","WIRListingKey":{}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received response from socket send: '["PID:50855",{}]'
[debug] [RemoteDebugger] Page changed: {}
[debug] [RemoteDebugger] Empty page dictionary received
[debug] [RemoteDebugger] Error checking application: 'Error: Empty page dictionary received'. Retrying connection
[debug] [RemoteDebugger] Found app id key 'PID:50854' for bundle 'com.paynearme.mobile.consumer.DEV'
[debug] [RemoteDebugger] Found separate bundleId 'com.apple.SafariViewService' acting as proxy for 'com.paynearme.mobile.consumer.DEV', with app id 'PID:50855'
[debug] [RemoteDebugger] Trying out the possible app ids: PID:50855
[debug] [RemoteDebugger] Selecting app PID:50855 (try #19 of 20)
[debug] [RemoteDebugger] Sending '_rpc_forwardGetListing:' message to remote debugger
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:50855","WIRListingKey":{}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received response from socket send: '["PID:50855",{}]'
[debug] [RemoteDebugger] Page changed: {}
[debug] [RemoteDebugger] Empty page dictionary received
[debug] [RemoteDebugger] Error checking application: 'Error: Empty page dictionary received'. Retrying connection
[debug] [RemoteDebugger] Found app id key 'PID:50854' for bundle 'com.paynearme.mobile.consumer.DEV'
[debug] [RemoteDebugger] Found separate bundleId 'com.apple.SafariViewService' acting as proxy for 'com.paynearme.mobile.consumer.DEV', with app id 'PID:50855'
[debug] [RemoteDebugger] Trying out the possible app ids: PID:50855
[debug] [RemoteDebugger] Selecting app PID:50855 (try #20 of 20)
[debug] [RemoteDebugger] Sending '_rpc_forwardGetListing:' message to remote debugger
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:50855","WIRListingKey":{}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received response from socket send: '["PID:50855",{}]'
[debug] [RemoteDebugger] Page changed: {}
[debug] [RemoteDebugger] Empty page dictionary received
[debug] [RemoteDebugger] Error checking application: 'Error: Empty page dictionary received'. Retrying connection
[RemoteDebugger] Error: Could not connect to a valid app after 20 tries.
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at RemoteDebugger.selectApp$ (lib/remote-debugger.js:252:6)
at tryCatch (/Users/hardik/.nvm/versions/node/v5.0.0/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/hardik/.nvm/versions/node/v5.0.0/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Users/hardik/.nvm/versions/node/v5.0.0/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Users/hardik/.nvm/versions/node/v5.0.0/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at run (/Users/hardik/.nvm/versions/node/v5.0.0/lib/node_modules/appium/node_modules/core-js/library/modules/es6.promise.js:108:47)
at /Users/hardik/.nvm/versions/node/v5.0.0/lib/node_modules/appium/node_modules/core-js/library/modules/es6.promise.js:119:28
at flush (/Users/hardik/.nvm/versions/node/v5.0.0/lib/node_modules/appium/node_modules/core-js/library/modules/$.microtask.js:19:5)
at doNTCallback0 (node.js:428:9)
at process._tickCallback (node.js:357:13)
[Error: Could not connect to a valid app after 20 tries.]
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRApplicationIdentifierKey":"PID:50857","WIRListingKey":{"1":{"WIRTitleKey":"","WIRTypeKey":"WIRTypeWeb","WIRURLKey":"about:blank","WIRPageIdentifierKey":1}}},"__selector":"_rpc_applicationSentListing:"}'
[debug] [RemoteDebugger] Received page change notice for app 'PID:50857' but listening for 'PID:50855'. Ignoring.
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRRemoteAutomationEnabledKey":false,"WIRIsApplicationActiveKey":1,"WIRIsApplicationReadyKey":true,"WIRApplicationIdentifierKey":"PID:50857","WIRIsApplicationProxyKey":true,"WIRApplicationNameKey":"","WIRApplicationBundleIdentifierKey":"com.apple.WebKit.WebContent","WIRHostApplicationIdentifierKey":"PID:50855"},"__selector":"_rpc_applicationUpdated:"}'
[debug] [RemoteDebugger] Notified that application 'PID:50857' has been updated.
[debug] [RemoteDebugger] Current applications available:
[debug] [RemoteDebugger] Application: 'PID:50854'
[debug] [RemoteDebugger] id: "PID:50854"
[debug] [RemoteDebugger] isProxy: false
[debug] [RemoteDebugger] name: "PNM-DEV"
[debug] [RemoteDebugger] bundleId: "com.paynearme.mobile.consumer.DEV"
[debug] [RemoteDebugger] hostId: undefined
[debug] [RemoteDebugger] isActive: 1
[debug] [RemoteDebugger] isAutomationEnabled: false
[debug] [RemoteDebugger] pageDict: [{"id":1,"title":"","url":"file:///Users/hardik/Library/Developer/CoreSimulator/Devices/2445419D-5BBF-4C62-840D-433E89EE38ED/data/Containers/Bundle/Application/A09BC768-145D-4649-9320-734E46AACFD2/PNM%20Consumer.app/www/mobile/index.html","isKey":false}]
[debug] [RemoteDebugger] Application: 'PID:50855'
[debug] [RemoteDebugger] id: "PID:50855"
[debug] [RemoteDebugger] isProxy: true
[debug] [RemoteDebugger] name: "SafariViewService"
[debug] [RemoteDebugger] bundleId: "com.apple.SafariViewService"
[debug] [RemoteDebugger] hostId: "PID:50854"
[debug] [RemoteDebugger] isActive: 1
[debug] [RemoteDebugger] isAutomationEnabled: false
[debug] [RemoteDebugger] pageDict: []
[debug] [RemoteDebugger] Application: 'PID:50857'
[debug] [RemoteDebugger] id: "PID:50857"
[debug] [RemoteDebugger] isProxy: true
[debug] [RemoteDebugger] name: ""
[debug] [RemoteDebugger] bundleId: "com.apple.WebKit.WebContent"
[debug] [RemoteDebugger] hostId: "PID:50855"
[debug] [RemoteDebugger] isActive: 1
[debug] [RemoteDebugger] isAutomationEnabled: false
[debug] [RemoteDebugger] pageDict: [{"id":1,"title":"","url":"about:blank","isKey":false}]
[MJSONWP] Encountered internal error running command: Error: Could not connect to a valid app after 20 tries.
at Object.wrappedLogger.errorAndThrow (lib/logger.js:60:13)
at RemoteDebugger.selectApp$ (lib/remote-debugger.js:252:6)
at tryCatch (/Users/hardik/.nvm/versions/node/v5.0.0/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:67:40)
at GeneratorFunctionPrototype.invoke [as _invoke] (/Users/hardik/.nvm/versions/node/v5.0.0/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:315:22)
at GeneratorFunctionPrototype.prototype.(anonymous function) [as throw] (/Users/hardik/.nvm/versions/node/v5.0.0/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:100:21)
at GeneratorFunctionPrototype.invoke (/Users/hardik/.nvm/versions/node/v5.0.0/lib/node_modules/appium/node_modules/babel-runtime/regenerator/runtime.js:136:37)
at run (/Users/hardik/.nvm/versions/node/v5.0.0/lib/node_modules/appium/node_modules/core-js/library/modules/es6.promise.js:108:47)
at /Users/hardik/.nvm/versions/node/v5.0.0/lib/node_modules/appium/node_modules/core-js/library/modules/es6.promise.js:119:28
at flush (/Users/hardik/.nvm/versions/node/v5.0.0/lib/node_modules/appium/node_modules/core-js/library/modules/$.microtask.js:19:5)
at doNTCallback0 (node.js:428:9)
at process._tickCallback (node.js:357:13)
[HTTP] <-- GET /wd/hub/session/ed22a770-4e2e-46d0-8c33-11f93c8cc446/contexts 500 381 ms - 219
[HTTP] --> GET /wd/hub/session/ed22a770-4e2e-46d0-8c33-11f93c8cc446/screenshot {}
[MJSONWP] Driver proxy active, passing request on via HTTP proxy
[debug] [XCUITest] Executing command 'proxyReqRes'
[debug] [JSONWP Proxy] Proxying [GET /wd/hub/session/ed22a770-4e2e-46d0-8c33-11f93c8cc446/screenshot] to [GET http://localhost:8100/session/EF43E032-B889-4828-8EC5-2D80630C4113/screenshot] with body: {}
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : \"iVBORw0KGgoAAAANSUhEUgAAAu4AAAU2CAYAAADK1zMGAAAAAXNSR0IArs4c6QAA\\r\\nABxpRE9UAAAAAgAAAAAAAAKbAAAAKAAAApsAAAKbAAV0+QhcFWwAAEAASURBVHgB\\r\\n1L15vwU5Vf3NyxFllKkbGpBJVOZREIUfjggijqAIgiCIMiuivtr7ZGXnm72yK1Xn\\r\\n3NuN9vNHfXays+ekknXq1jn3JW9401seXv26Zx9e9dpnOn3la9\\/wMK\\/XvKHxxI9L\\r\\nMvViTDbyCvlfff0bH5brDa2\\/u5pc2kl\\/4lV\\/6is+xl7ZYnzFr76+Xa97UFtj6Kgd\\r\\nYxp\\/\\/Ryf+Y1ckYdim77ooiM\\/XMMG465D+yy3Pf9Yx5SLsaWmvXaDv6stPJuLmKeo\\r\\nLXFfUeWRc+vx0c55wk7ooAd9dq4Ht9fXxIhv4YtH\\/Ge05DVr0+Rf84Y3hT\\/XRX6M\\r\\nS6bLucxov\\/aZ5x5e+0yzMWTVDt5zW9vYuuUXezM3i+kwtolr6vkYNkSdX9ttPNYT\\r\\nczfWjutftG+tacahrAfdL5rbPj+bmOa8nfluOtt5OpN\\/BD\\/XnO89vlaDf8iJe7\\/s\\r\\nBZLzvH2v8NrfzLnlkLGt8yW+\\/Lg9lz217bWf9rEjmnljw+2et91GtGcdVB9qJTrq\\r\\nNffkUr8+3uQiP8+72B02sw65D4nH5b7F6\\/3mk7PB\\/bkscsQ7x4jXaM+FHHVu2fXK\\r\\n1pYNnVEvf3VcakuH2GM8zjHkkOljr2ljZr\\/blF35sVx37Rk3+jeo\\/MxLfvv5uqfk\\r\\nIxrxFuq2anuc2+Rbbbxc9SrXy1q\\/X72Or2\\/1VFxv6PRljfeyV73u4Vde+dp5aVwX\\r\\nYxqP67WNbq5Xv7bPUeS8zhVxovcrr3xN8\\/Ordqn\\/muar2...
[JSONWP Proxy] Replacing sessionId EF43E032-B889-4828-8EC5-2D80630C4113 with ed22a770-4e2e-46d0-8c33-11f93c8cc446
[HTTP] <-- GET /wd/hub/session/ed22a770-4e2e-46d0-8c33-11f93c8cc446/screenshot 200 106 ms - 1015074
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRRemoteAutomationEnabledKey":false,"WIRIsApplicationActiveKey":1,"WIRIsApplicationReadyKey":true,"WIRApplicationIdentifierKey":"PID:50857","WIRIsApplicationProxyKey":true,"WIRApplicationNameKey":"","WIRApplicationBundleIdentifierKey":"com.apple.WebKit.WebContent","WIRHostApplicationIdentifierKey":"PID:50855"},"__selector":"_rpc_applicationDisconnected:"}'
[debug] [RemoteDebugger] Application 'PID:50857' disconnected. Removing from app dictionary.
[debug] [RemoteDebugger] Current app is PID:50855
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRRemoteAutomationEnabledKey":false,"WIRIsApplicationActiveKey":0,"WIRIsApplicationReadyKey":true,"WIRApplicationIdentifierKey":"PID:50855","WIRIsApplicationProxyKey":true,"WIRApplicationNameKey":"SafariViewService","WIRApplicationBundleIdentifierKey":"com.apple.SafariViewService","WIRHostApplicationIdentifierKey":"PID:50854"},"__selector":"_rpc_applicationUpdated:"}'
[debug] [RemoteDebugger] Notified that application 'PID:50855' has been updated.
[debug] [RemoteDebugger] Current applications available:
[debug] [RemoteDebugger] Application: 'PID:50854'
[debug] [RemoteDebugger] id: "PID:50854"
[debug] [RemoteDebugger] isProxy: false
[debug] [RemoteDebugger] name: "PNM-DEV"
[debug] [RemoteDebugger] bundleId: "com.paynearme.mobile.consumer.DEV"
[debug] [RemoteDebugger] hostId: undefined
[debug] [RemoteDebugger] isActive: 1
[debug] [RemoteDebugger] isAutomationEnabled: false
[debug] [RemoteDebugger] pageDict: [{"id":1,"title":"","url":"file:///Users/hardik/Library/Developer/CoreSimulator/Devices/2445419D-5BBF-4C62-840D-433E89EE38ED/data/Containers/Bundle/Application/A09BC768-145D-4649-9320-734E46AACFD2/PNM%20Consumer.app/www/mobile/index.html","isKey":false}]
[debug] [RemoteDebugger] Application: 'PID:50855'
[debug] [RemoteDebugger] id: "PID:50855"
[debug] [RemoteDebugger] isProxy: true
[debug] [RemoteDebugger] name: "SafariViewService"
[debug] [RemoteDebugger] bundleId: "com.apple.SafariViewService"
[debug] [RemoteDebugger] hostId: "PID:50854"
[debug] [RemoteDebugger] isActive: 0
[debug] [RemoteDebugger] isAutomationEnabled: false
[debug] [RemoteDebugger] pageDict: []
[BaseDriver] Shutting down because we waited 60 seconds for a command
[debug] [JSONWP Proxy] Proxying [DELETE /session/ed22a770-4e2e-46d0-8c33-11f93c8cc446] to [DELETE http://localhost:8100/session/EF43E032-B889-4828-8EC5-2D80630C4113] with no body
[Appium] Closing session, cause was 'New Command Timeout of 60 seconds expired. Try customizing the timeout using the 'newCommandTimeout' desired capability'
[Appium] Removing session ed22a770-4e2e-46d0-8c33-11f93c8cc446 from our master session list
[debug] [RemoteDebugger] Receiving data from remote debugger: '{"__argument":{"WIRRemoteAutomationEnabledKey":false,"WIRIsApplicationActiveKey":1,"WIRIsApplicationReadyKey":true,"WIRApplicationIdentifierKey":"PID:50854","WIRIsApplicationProxyKey":false,"WIRApplicationNameKey":"PNM-DEV","WIRApplicationBundleIdentifierKey":"com.paynearme.mobile.consumer.DEV"},"__selector":"_rpc_applicationDisconnected:"}'
[debug] [RemoteDebugger] Application 'PID:50854' disconnected. Removing from app dictionary.
[debug] [RemoteDebugger] Current app is PID:50855
[debug] [JSONWP Proxy] Got response with status 200: "{\n \"value\" : {\n\n },\n \"sessionId\" : \"EDDE52F0-CE03-4980-BF5E-A40748E25A1B\",\n \"status\" : 0\n}"
[XCUITest] Shutting down sub-processes
[XCUITest] Shutting down xcodebuild process (pid 50826)
[XCUITest] xcodebuild exited with code 'null' and signal 'SIGTERM'
[XCUITest] Shutting down Logger process (pid 50831)
[XCUITest] Simulator log exited with code 'null'
[debug] [XCUITest] Running iOS simulator reset flow
[debug] [XCUITest] Shutting down simulator
[debug] [iOSSim] Killing all iOS Simulators
[debug] [XCUITest] Cleaning simulator state.
[debug] [iOSSim] Cleaning app data files for 'PNM Consumer.app', 'com.paynearme.mobile.consumer.DEV'
[debug] [iOSSim] Checking whether simulator has been run before
[debug] [iOSSim] Simulator has been run before
[debug] [iOSSim] Building bundle path map
[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/hardik/Library/Developer/CoreSimulator/Devices/2445419D-5BBF-4C62-840D-433E89EE38ED/data/Containers/Data/Application/CFB7F81F-1CB1-47AA-9F3D-6272FAF35608'
[debug] [iOSSim] Deleting directory: '/Users/hardik/Library/Developer/CoreSimulator/Devices/2445419D-5BBF-4C62-840D-433E89EE38ED/data/Containers/Bundle/Application/A09BC768-145D-4649-9320-734E46AACFD2'
[debug] [iOSSim] Deleting file: '/Users/hardik/Library/Developer/CoreSimulator/Devices/Library/Preferences/com.paynearme.mobile.consumer.DEV.plist'
[debug] [iOSSim] Killing any simulator daemons for 2445419D-5BBF-4C62-840D-433E89EE38ED
[iOSSim] Cleaning simulator 2445419D-5BBF-4C62-840D-433E89EE38ED
[debug] [XCUITest] Resetting simulator
[debug] [XCUITest] Shutting down simulator
[debug] [iOSSim] Killing all iOS Simulators
[debug] [iOSLog] Stopping iOS log capture
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment