unable to find utility "xctrace"

uh, that. honestly. I was runnin' a CLI tool which isn't of much relevance here, it gave me that error. So I looked around and found xcrun xctrace list devices which I'm not sure is relevant but that also gives the same error. xcrun: error: unable to find utility "xctrace", not a developer tool or in PATH

xctrace is built in, but it acts as a trampoline to the xctrace from your default developer tools. For example, my default developer tools are within the Xcode app:

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

so that’s where xctrace bounces to:

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

Share and Enjoy

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

unable to find utility "xctrace"
 
 
Q