Hey all,
I am working with Xcode 9.2 on both High Sierra and Sierra machines. I am trying to use (for the first time) the iprofiler command line tool to record an instruments trace of my process. But I'm getting an authorization error at startup that I am finding hard to troubleshoot. Just to make sure it wasn't my app, I switched the iprofiler command line to run /bin/ls and still had problems. I also tried with sudo in case that was an issue and it didn't help.
machine:~ user$ iprofiler -systemtrace /bin/ls
iprofiler error: DTPerformanceSession: Authorization failure.
machine:~ user$ sudo iprofiler -systemtrace /bin/ls
iprofiler error: DTPerformanceSession: Authorization failure.
Any ideas on where to look to figure out what is going on here?
Thanks!
Matthew