Xcode 6.3.2: Instruments keep asking for trace template?

366 views Asked by At

I've been trying to use the various Instruments provided in Xcode to check for memory leaks and some lag I get when using my Application.

However, despite looking at several tutorials. I keep getting an error every time I try to use Xcode. When starting the tests, I am greeted by a panel prompting me to pick an instrument.

enter image description here

After picking the Time Profiler, I hit Choose, and am immediately prompted by the following screen:

enter image description here

This usually isn't what I see in any of the tutorials. And it's also where the problem starts. No matter what I pick, or what Instrument I choose to import data with, I always get the following errors:

enter image description here

I was told I should reinstall Xcode. So after removing the Application, and reinstalling it, I tried again. Same error.

I've tried looking for solutions online as well. All I found was this similar SO Question , which had no answer to it.

Does anyone know why this is occurring, and what I can do to resolve it?

2

There are 2 answers

0
makezImage On

This might work:

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

Open Terminal app from application. Simply Copy & paste & then press Enter. Exit Xcode, Then again launch the instruments with your testing app , this time it should load it then asking for selecting the templates from dialog box.

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

All d best.