Xcode fails to get the task for process XXX. How do I solve this? (iPhone SDK 4.0)

后端 未结 9 1048
半阙折子戏
半阙折子戏 2020-12-30 18:39

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         


        
相关标签:
9条回答
  • 2020-12-30 18:58

    After Xcode 5.0 tried and failed (it hung) to update certificates, ... which it suggested me to do. All I did then:

    • Restart Xcode 5.0
    • Open Window > Organizer
    • Select Devices at the top
    • Select my device (which had a green bullet)
    • Click the (+) Add to Member Center at the bottom and follow the few simple steps
    0 讨论(0)
  • 2020-12-30 19:09

    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.

    0 讨论(0)
  • 2020-12-30 19:11

    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.

    0 讨论(0)
提交回复
热议问题