Having isssue while running instruments command

Viewed 1723

I'm having issue with instruments -s devices command in MacBook pro

admin@Admins-MacBook-Pro ~ % instruments -s devices  
zsh: command not found: instruments

the path of xcode is already set. enter image description here

xcode-select --install also installed.

enter image description here

1 Answers

There is no "instruments" util in Xcode13, because of which when you run "instruments -s devices" , it will return zsh: command not found: instruments

Actually Apple recommends using xcrun xctrace instead of instruments in Xcode13.

So in xcode13 , below command will list all the devices

xcrun xctrace list devices

Related