CPU Profiling with instruments fails to start

When trying to profile any process with the Instruments CPU Profiler I get this message: (Before run started) No allocated PMI record.

Not sure what to do here. I tried other instruments like time profile and that works fine so not sure what to do here... Didn't find any people having similar issues when googling so I'm hoping someone here can help me out.

Im using a m1 max 14 inch macbook pro with macOS 12.3 and instruments 13.0 (13A1030d)

Answered by Developer Tools Engineer in 707768022

Hi Ruben-elk!

We believe that this issue should be fixed in Instruments 13.3 (currently stable shipping version). Could you please try that out and let us know if it works for you?

Best,

Kacper

Accepted Answer

Hi Ruben-elk!

We believe that this issue should be fixed in Instruments 13.3 (currently stable shipping version). Could you please try that out and let us know if it works for you?

Best,

Kacper

Unfortunately, this issue is still happening in Instruments 14.0 (14A309). I'm unable to profile my app.

Please verify this issue, we are stuck in here! @Kacper

What does the 'PMI' mean, by the way?

Met the same problem for xcode 14.0.1. Anything I did wrong? Or is it a regression?

I'm having this problem with Instruments 14.0.1 (14A400).

I can't profile my App.

iPhone 14 Pro Max

iOS 16.1

Same problem with instruments Version 14.1 (14B47b) iOS 16.1.2 iPhone 14 Pro Max

Ditto: Same problem with instruments Version 14.1 (14B47b) iOS 16.1.2 iPhone 14 Pro Max

Same problem with instruments Version 15.0 (15A240d) iOS 17.0 iPhone 12 Pro Max

Same problem Instruments Version 15.0 (15A240d) iPhone 15 Pro 17.0.2

Same Problem on Instruments Version 15.0 (15A240d). iPhone 11 Pro 17.0.2

Same Problem on Instruments Version 15.1 (15C5042i). iPhone 15 Pro iOS 17.2 (21C5040g)

Same problem on Instruments 15.0.1 (15A507). iPhone 13 iOS 17.1.2. Mac M1 2020, Sonoma 14.1.1

Same problem on Instruments Version 15.0.1 (15A507), iPhone 14 Pro iOS 17.0.3 Mac M2 Pro 2023, Sonoma 14.1.2 (23B92).

Any workaround?

Same problem on Instruments Version Version 15.0.1 (15A507), iPhone 15 Pro Max iOS 17.1.1, M1 MBP Ventura (13.6.2 (22G320)), and Intel MBP (Sonoma 14.0).

Has anyone filed a bug about this? If so, please post your bug number here. If not, please do so.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

It's 12/12/2023 , Xcode Version 15.1 (15C65), and still. Sigh...

CPU Profiling with instruments fails to start
 
 
Q