. App/.ipa not opening on simulator/real iOS device

  • Platform you are automating : iOS
  • Appium version: 1.21
  • Simulator/Emulator or Real Device
  • Your OS: 11.3.1
  • xCode version: 13

I am trying to open my .app/.ipa through Appium desktop and app does get installed on device but its not installing webdriverAgent on the device
Done with all signing process but still the issue happening
Console logs getting as

[XCUITest] Unable to start WebDriverAgent session because of xcodebuild failure: An unknown server-side error occurred while processing the command. Original error: Could not proxy command to the remote server. Original error: connect ECONNREFUSED

[XCUITest] Quitting and uninstalling WebDriverAgent

[WebDriverAgent] Shutting down sub-processes

Could you post the capabilities that you are using?

caps.setCapability(“deviceName”,“iPhone 11”);
caps.setCapability(“app”, “/Users/Download/*.app”);

Ok, so I’m reading that as the Simulator capabilities, and that you are more concerned with getting this working on Simulator. Please correct me if I’ve gotten that wrong.

I’m going to suggest that you try Appium v1.22.0. Release notes are here:

I’m making this suggestion specifically based on this part of the release notes:

iOS General
Xcode 13 and iOS 15 support

I hope this fixes your problem.