Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

failed to get the task process - test application xcode to iPhone

I'm currently a student in computer engineering/development, and I started developing an iPhone application. I have a jailbroken iPhone 4S iOS 5.1.1, and a Macbook Air 2012 with Xcode 4.3.3

I have read/seen a lot of tutorials on how to test an application on a device without having a developer account on Apple Developers (I'm just a student and don't want to spend 99$ for testing an application that will not be put on the App Store, I just want to learn).

I followed all the steps (edit SDKsettings.plist, don't sign the code on 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 launch it, it crashes instantly, and on Xcode I have a message on the debug area saying :

> 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 launch. Can anyone help me with this error ? I found this tip, but I don't have the menu on Xcode to create Entitlements.plist to test the solution.

Thanks a lot.

P.S : please be kind, I'm just a beginner... ^_^

like image 921
Mohamed Amine Avatar asked Dec 20 '22 19:12

Mohamed Amine


1 Answers

Change your development profile to Debug not Release. You can't test on your device with a release profile.

like image 167
shabbirv Avatar answered Jan 17 '23 18:01

shabbirv