Can't launch my app in Instruments: At least one target failed to launch

Andrew picture Andrew · Sep 19, 2013 · Viewed 33.5k times · Source

I have all my code signing entitlements set correctly. Running the app on my phone is fine, but launching it in instruments gives me an error message:

Error Starting Recording
At least one target failed to launch; aborting run

And then:

Target failed to run. Permisson to debug [app name] was denied. The app must be signed with a development identity (i.e. iOS Developer)

Any ideas how I could stop this from happening? Doesn't happen on my iPad.

Answer

harrywynn picture harrywynn · Oct 8, 2013

Edit the scheme for your target and under "Profile [App Name]" set the Build Configuration to Debug (it's usually Release by default).