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

Viewed 12

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!

0 Answers
Related