Failed to get task process - xcode test application for iPhone

I am currently involved in the design / development of computers, and I began to develop an application for the iPhone. I have jailbroken iPhone 4S iOS 5.1.1 and Macbook Air 2012 with Xcode 4.3.3

I read / looked through a lot of tutorials on testing an application on a device without having a developer account in Apple Developers (I'm just a student and don't want to spend $ 99 on testing an application that won't be placed on the App Store, I just want to find out).

I followed all the steps (by editing SDKsettings.plist without signing the code on the build settings ...), the application works fine on the iPhone simulator, but when I want to test it on my iPhone, the application appears on the springboard, but when I run it, it instantly crashes, and on Xcode I have a message in the debug area that says:

> error: failed to launch > '/Users/amine/Library/Developer/Xcode/DerivedData/Mes_horaires_de_travail-dfzorjqmnecsnafvctvhgsuphwws/Build/Products/Release-iphoneos/Mes > horaires de travail.app/Mes horaires de travail' -- failed to get the > task for process 28720 

This is not the first application that crashes on startup. Can someone help me with this error? I found this tip , but I don't have a menu on Xcode to create Entitlements.plist to test the solution.

Thank you very much.

PS: Please be kind, I'm just a beginner ... ^ _ ^

+4
source share
2 answers

Change your development profile to Debug not Release. You cannot check the release profile on your device.

+10
source

A bit late, but googles showed me this page, so for future reference:

I have the same problem recently, although I worked in debug mode, however, errors with code notifications forced me to experiment with code signing identifiers, and one for the debug profile still pointed to the adhoc profile, and not to the development profile.

As soon as I changed them, the error disappeared.

+1
source

All Articles