kingfateh khan
kingfateh khan

Reputation: 115

Having isssue while running instruments command

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

Upvotes: 3

Views: 3785

Answers (1)

Abhi
Abhi

Reputation: 238

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

Upvotes: 15

Related Questions