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

后端 未结 9 1083
半阙折子戏
半阙折子戏 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 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.

提交回复
热议问题