Instruments can't attach to running process on iPhone
I created a build for ad-hoc distribution of our product and installed the same on my device. Now I want to run the time profiler on the running process but Instruments is unable to attach to it. This is the error that I get when I try to attach to a running process on the iPhone: Target failed to run : Could not attach to process <app-name> (<pid>) I also tried "Choose Target" > app-name but that too failed with the following error: Target failed to run : Remote exception encountered : 'Failed to get task for pid <pid>' Here are the details of my setup: OS X 10.7.2 Xcode 4.2.1 (Build 4D502)