Is there a way to start a debugserver with devicectl on an iOS 17+ device?

xcrun devicectl has support for installing and launching apps but does it support launching a debugserver? I've tried xcrun devicectl device process launch /usr/libexec/debugserver to no avail.

Is there something I'm missing or perhaps another tool that would let me start a debugserver from command line?

Post not yet marked as solved Up vote post of johnwillard Down vote post of johnwillard
886 views

Replies

I would also be interested in this. Previously with ios-deploy we had such capabilities but its not longer available.

I'm getting this error: xcrun: error: unable to find utility "devicectl", not a developer tool or in PATH Why don't I have devicectl installed?

I don’t have any answers to the main issue here, but I can answer the following:

Why don't I have devicectl installed?

devicectl is new in Xcode 15:

% xcrun -f devicectl
/Applications/Xcode.app/Contents/Developer/usr/bin/devicectl

Make sure your developer command-line tools point to an Xcode 15:

% xcode-select -p
/Applications/Xcode.app/Contents/Developer

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"