Instruments command-line won't work for me

On three different machines (all running Xcode 13 and Big Sur), it always tells me that the command-line developer tools need to be installed. I've "installed" them four times so far on one machine, and at least twice on the other two.

Accepted Reply

Make sure you've read the release notes and are using the right tool:

Deprecations The deprecated instruments command-line tool has been removed; instead, use xctrace.

Replies

Make sure you've read the release notes and are using the right tool:

Deprecations The deprecated instruments command-line tool has been removed; instead, use xctrace.

Me too. any solution?

  • Are you using xctrace, as per the release note?

Add a Comment

The answer is: it's "behaving correctly," because the command is deprecated, and removed in Monterey.

instead of "instruments -s devices" type " xcrun xctrace list devices"

  • "xcrun xctrace list devices" It worked well on my side. Xcode Version 13.4.1

Add a Comment