运行 仪器命令时出现问题

Having isssue while running instruments command

我在 MacBook pro

中使用 instruments -s devices 命令时遇到问题
admin@Admins-MacBook-Pro ~ % instruments -s devices  
zsh: command not found: instruments

xcode 的路径已经设置。

xcode-select --install也安装了。

Xcode13 中没有“instruments”实用程序,因此当您 运行 “instruments -s devices” 时,它将 return zsh:未找到命令:仪器

实际上 Apple 建议使用 xc运行 xctrace 而不是 Xcode13 中的仪器。

因此在 xcode13 中,下面的命令将列出所有设备

xc运行 xctrace 列出设备