Not able to use devicectl usage to run ui tests

Hello,

I have a test bundle in my application and one of the strong request of our project is to run ui tests from command line having just application build. How to run unit tests on .app file that has a test target?

What we tried

xcrun devicectl device install app --device <device-identifier> <UITestBundle-Runner.app>

xcrun devicectl device process launch --device <device-identifier> --start-stopped <com.apptestbundle-Runner.xcrun>

It launches and is waiting pid to be attached. In lldb:

device select <device-identifier>

device process list

Seeing process 'UITestBundle-Runner' pid.

device process --pid 'pid id'

It attaches and I can see 'debugserver' in the pid list, but it does not start testing and I need tests to start and run.

Thanks!

Not able to use devicectl usage to run ui tests
 
 
Q