Ios – get instruments – “Target failed to run”

instrumentsiosios-simulatoriphone

Target failed to run: Remote exception encountered: Faild to get task for pid 3103

Target failed to run

I'm running iPhone OS 3.1.3 on the device and I can run my App in debug mode on the device.

I downloaded and installed the xcode_3.2.2_and_iphone_sdk_3.2_final.dmg twice, without any luck.

Best Answer

I got the same issue when I switched to XCode 4 and I solved it by setting my release code-signing profile to my development profile instead of the app store profile that was previously set. Indeed, Xcode 4 profiles your app using the release build by default.