"Processor Trace cannot profile this process without proper permission"

Hello,

I'm no macOS 26.1 I'm running through the example shown in the WWDC video "Optimizing CPU Performance with Instruments." After right-clicking a test, clicking "Profile...", and trying to run a processor trace I get the error in the subject.

I have processor trace enabled on the CPU via system settings. I confirmed this by disabling it and re-enabling it and noting the error that appears when this is disabled is different from the one I'm now getting.

This did previously work but I haven't tried since macOS 26 is released. Is there something new I need to be doing to my Xcode project settings in order for this to be working?

As with all of apple's tooling, it'll take between 5-10 years to mature enough to be of any use. Check back around that timeframe.

Hi there,

Sorry for a late reply and the issue you're encountering.

In the newest versions of Instruments we've added better error handling, which should guide you through the steps and what to check (perhaps if you expand error in the popover it should already tell you).

Binary is expected to be signed with get-task-allow entitlement – could you please check if that is the case? You can verify binary's entitlements using: codesign -dvvv --entitlements=- <path>.

Kacper

"Processor Trace cannot profile this process without proper permission"
 
 
Q