Xcode instruments "unable to attach to task. Port invalid" error

Hi Dev Community,


I am trying to profile (in this instance memory leaks) an iOS device using Xcode Developer Tool "Instruments." The device is detected and selectable within Instruments and the application I am trying to run is Safari OS. (Creating a HTML5 Web Application)

After selecting the process and starting the recording session, I get an "unable to attach to task; Invalid Port" error. I have read the documentation and search for additional resource online and I have not found anything to resolve this matter.


Any assistance will be helpful.


Thanks


Ralph


Replies

Profiling system applications is restricted. You'll only be able to profile applications you built and installed from Xcode.