After update to Catalina Testcases are skipped.....Connection was refused to port 57486 [XCUITest] at Usbmux.connect

  1. Updated to MacOS catalina
  2. Updated appium desktop 1.15.1
  3. Java client 7.3.0

Capabilities :-

public static IOSDriver capability_phone() throws MalformedURLException {

final String URL_STRING = “http://0.0.0.0:4723/wd/hub”;

url = new URL(URL_STRING);

DesiredCapabilities cap = new DesiredCapabilities();
cap.setCapability(“deviceName”, deviceOne );
cap.setCapability(“udid”, deviceOne_UDID );
cap.setCapability(“platformVersion”, deviceOne_platform_version );
cap.setCapability(“platformName”,“IOS”);
cap.setCapability(“automationName”, “XCUITest”);
cap.setCapability(“bundleId”,"com.XXXXXXXXXXXXXXXXXXXX”);
cap.setCapability(“noReset”, true );
//cap.setCapability(“forceMjsonwp”, true);
//cap.setCapability(“autoAcceptAlerts”, true);
cap.setCapability(“xcodeSigningId”, “iPhone Developer”);
cap.setCapability(“xcodeOrgId”, “XXXXXXX”);
cap.setCapability(“wdaLaunchTimeout”, 5000);
cap.setCapability(“newCommandTimeout”, 160);

we = new IOSDriver( url , cap);

we .manage().timeouts().implicitlyWait(2, TimeUnit. SECONDS );

//System.out.println("IOS driver we :: "+ we);

System. out .println(" ~~~ !!! Setting the capabilities !!! ~~~ ");

return we ;
}


Below is the exception on the appium server :

[XCUITest] Continuing without capturing device logs: Connection was refused to port 57483 [XCUITest] Setting up real device [XCUITest] Error: Connection was refused to port 57486 [XCUITest] at Usbmux.connect (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-ios-device/lib/usbmux/index.js:183:13) [DevCon Factory] Releasing connections for f29645da08dedad0760f2efa2e451949ea4124d2 device on any port number [DevCon Factory] No cached connections have been found [BaseDriver] Event ‘newSessionStarted’ logged at 1576053574827 (14:09:34 GMT+0530 (IST)) [W3C] Encountered internal error running command: Error: Connection was refused to port 57486 [W3C] at Usbmux.connect (/Applications/Appium.app/Contents/Resources/app/node_modules/appium-ios-device/lib/usbmux/index.js:183:13) [HTTP] <-- POST /wd/hub/session 500 80492 ms - 702