Error launching remote program: failed to get the task for process on xcode 4.2

寵の児 提交于 2019-12-11 11:14:28

问题


I'm having some problems debugging apps directly on my iphone. I'm using xcode 4.2 and a jailbroken ios 5.0.1 device and when trying to launch the app on my iphone from excode I get the following message: "Error launching remote program: failed to get the task for process (some number here)" But if I now try to use the app directly on the iphone it works perfectly. Does anyone know how to fix it? thank you.


回答1:


For xcode 4: you have to create Entitlements.plist file from menu->File->New->New File->Code Signing->Entitlemens. it is going to be create Entitlements.Plist in your application folder

and Targets->build Settings->Code Signing Entitlements, you have click here two time and write "Entitlements.plist"

I did this and xcode don not get anymore error



来源:https://stackoverflow.com/questions/8777080/error-launching-remote-program-failed-to-get-the-task-for-process-on-xcode-4-2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!