Can't Get Appium To Connect to Device

Trying to connect to a running IOS simulator. The console just keeps giving this:
Proxying [GET /status] to [GET] with no body
[WD Proxy] connect ECONNREFUSED

Here’s my capabilities:
“platformName”: “iOS”,
“platformVersion”: “15”,
“deviceName”: “iPhone 13”,
“udid”: “29800D64-34A4-491D-A27C-63B03BBDACCB”,
“automationName”: “XCUITest”

2 things:

  1. I’ve had trouble in the past with generic names on simulators, especially if there are more than one with the same name. I rename them to something like, ‘iphone13_15.1’.
  2. You don’t need the udid for simulator. I’ve found in the past that adding the udid to a simulator run can cause problems.

Also you’ll want to add “app”: capability. Make sure the app you are testing is compiled for simulator. Should be .app file not .ipa.

1 Like