iPhone 17.5
MacOS 14.5
Appium 2.11.5
XCUITest 7.27
XCode 16
I’ve been dealing with this problem for a couple of days, the most standard configuration is done in WebDriverAgent(XCode), I make a build of WDARunner, after making a test of the same TARGET, it installs me WDA on the iPhone, starts it (the screen fades and there is an inscription that it is automation and how it can be turned off). As soon as I turn off this test or reboot the phone, of course WDA is disabled, and when trying to run it manually again, nothing works, it just opens for a second and closes immediately, to run it again you need to run the test again from the XCode application.
I tried IDB, when I tried to use capabilities related to WDA startup, it wrote that it didn’t find it.
And no, I don’t want to run the test and WDA through XCode every time. Thank you all in advance, please help me. I did everything I saw, cleared data, checked certificates, reinstalled and more.
UPD:
[Appium] Welcome to Appium v2.11.5[Appium] The autodetected Appium home path: - Pastebin.com - Appium Logs, try run Inspector.
And regarding your post above, I’ve tried them already. I’ve seen about Framework, I’ve tried running it and uninstalling it. But the most important commands from them do not run, because of the absence of such a file or subcommand.
Here is the proof of the word admin@37-139-52-208 ~ % xcrun devicectl device process launchError: Missing ex - Pastebin.com
More information will be given by what I used and the appium:usePreinstalledWDA setting, when running from the console and from the inspector. It is the same everywhere, it opens the WebDriverAgentRunner-Runner application and closes it immediately. And even if I use the command devicectl device process launch --device 00008020-000E4080368A002E --terminate-existing --environment-variables ‘{“USE_PORT”: “54377”, “WDA_PRODUCT_BUNDLE_IDENTIFIER”: “com. aui.WebDriverAgentRunner.xctrunner”, ‘MJPEG_SERVER_PORT’: ‘54378’}’ com.aui.WebDriverAgentRunner.xctrunner
It says it has run, but it just opens the application and closes it immediately.