CaffeineShots
CaffeineShots

Reputation: 2162

I can't run instrument in xcode

Im new to instrument and ios development. I have this app and I want to test it in instrument to see how this is set inside my app but I can't run any of instrument in my machine whenever I choose one here enter image description here

it directs me to this

enter image description here

then when I choose one, this alert pop up

enter image description here

could anyone help me? Thanks in advance.

Upvotes: 1

Views: 155

Answers (2)

Leo Chapiro
Leo Chapiro

Reputation: 13984

Try to run this command from a term:

sudo chmod a+rwxt /Library/Caches/com.apple.dt.instruments

Take a look at "Unable to Profile as *.tracetemplate "could not be opened."

Upvotes: 2

Quentin Hayot
Quentin Hayot

Reputation: 7876

Your Xcode installation looks corrupted. Uninstalling and reinstalling Xcode should fix your issue.

Upvotes: 0

Related Questions