NGC6543
NGC6543

Reputation: 179

Profiling iOS app with Instruments fails: No allocated PMI record error

I'd like to profile my app using Instruments App.

My app is built without an error. I built it with Product > Profile menu. enter image description here

After the build is finished, the Instruments app is automatically launched. I select the CPU Profiler template, and click record button to start the profile.

enter image description here

But the app couldn't even start because the Instruments says that

No allocated PMI Record

What's worse is that after this message, my iPhone is bricked, and I have to forcefully reboot the device.

I've searched the google but there aren't any useful explanation regarding this message.

I'm wondering:

  1. what this "PMI" mean
  2. why this message show up

If anyone happens to have any clue, please let me know. Thanks in advance!

Upvotes: 16

Views: 1684

Answers (1)

Nikolay Tabunchenko
Nikolay Tabunchenko

Reputation: 939

Try to use Time Profiler. It provides almost the same functionality.

Cmd + I -> Time Profiler.

Upvotes: 0

Related Questions