Failed to get the task for process 1640. Error when trying to run iPhone app on device

扶醉桌前 提交于 2019-12-30 18:09:48

问题


I am getting the following error whenever I try to install my Cocos2d game on an iPhone device.

Failed to get the task for process 1640

I am using xCode 4.0.2 which I really hate as it is simply too complicated. I have set the build settings for my target but when I click on the project it says no build settings have been configured as shown in the screenshot below:

Although the app fails to run on the device but when I use my iPhone and click on the app it does run without using xCode.


回答1:


Make sure you are using a debug configuration and not a release or ad hoc configuration to deploy to the device.

Go to the Build select box at the upper left of the Xcode main window. Select the "Scheme" that isn't building and select Edit Scheme.

In the next dialog select Run on the left hand side and Info on the right. Make sure Build Configuration is set to Debug.



来源:https://stackoverflow.com/questions/5734130/failed-to-get-the-task-for-process-1640-error-when-trying-to-run-iphone-app-on

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