Until very recently, instruments worked fine. I don't know what I did to make it mad, but now it won't attach to any device that I try to Profile with; no device at all. I've tried an iPhone, iPad, and 2 iPod touches; no luck! I'm using XCode 4.
Here is the sequence of events:
Background points:
Looking at the Console of the device, i see these messages:
unknown lockdownd[17] <Error>: 001d5000 handle_connection: Could not receive USB message #16 from Instruments. Killing connection
unknown com.apple.mobile.lockdown[17] <Notice>: Could not receive size of message
Any help would be most appreciated
There was a discussion on the apple developer forums about this issue:
Instruments does not work on Xcode 4 with device
It appears that different Apple products will change/update the MobileDevice framework. Some of these updates break the Instruments integration.
To fix this on my own machine, I installed the iTunes 10.5 beta v6. Fire up XCode, and I'm back in business Instrumenting on my device.