cmyr / cargo-instruments

A cargo plugin to generate Xcode Instruments trace files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't seem to find xctrace

EdmundsEcho opened this issue · comments

This tool may well save me a lot of pain as I'm not a frequent user of instruments.

I ran into the following: Despite being able to run xctrace in the terminal, I get the following error.

> cargo instruments --template sys 

> Failed instruments errored: xcrun: error: unable to find utility "xctrace", not a developer tool or in PATH

Any ideas?

Maybe there's something helpful in #42 ?

This fixed it for me: nodejs/node-gyp#569

sudo xcode-select -s /Applications/Xcode.app/Contents/Developer