Search code examples
iosxcodeinstrumentsxcode-instruments

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.


Solution

  • 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."