I have the following error when I try to run a new project on my ipod:
Error launching remote program: failed to get the task for process 312.
The program be
After Xcode 5.0 tried and failed (it hung) to update certificates, ... which it suggested me to do. All I did then:
There is also a case that your error would happen.
If an app with same Bundle Identifier is launched at background ( probably an App Store version ), Xcode debugger will not know which App it should attach to. To solve it, remove/uninstall the App Store version, and click Run
in Xcode again.
The same story can apply if you once build the app with a bundle id then you changed the project bundle id and still kept both app versions. make sure you remove the old one.
This error happens when you have set Distribution Provisioning profile in code signing. Change it to Developer Provisioning Profile, then it will work. Worked for me for Xcode SDK 4.5.