Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

xcode

ios

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 being debugged is not being run. 

I've read about Entitlements.plist, and I've tried to add the get-task-allow, but then it doesn't let me compile because of a code signing error. I only have a development provisioning profile, so it's not the same as the people who were trying to debug the distribution build (I'm also in the debug build, so that isn't a problem).

Old projects build and run fine on the ipod, just new projects.

I've tried restarting both xcode and my ipod, but it doesn't help.

I have no more ideas on how to build/run new projects on xcode, so any help is much appreciated!

Oh, and I'm using an iPod 3G with iOS 4.0.1. Xcode is 3.2.3 (64-bit).

like image 684
confusedKid Avatar asked Aug 19 '10 16:08

confusedKid


People also ask

Does iOS SDK come with Xcode?

Xcode 14 beta. This version of Xcode: Includes SDKs for iOS 16, iPadOS 16, macOS 13, tvOS 16, and watchOS 9.


1 Answers

It turns out that using a different provisioning profile (one with a wildcard rather than one without) solved this issue.

The key point is to use a Developer profile rather than a Distribution profile.

like image 78
confusedKid Avatar answered Oct 03 '22 10:10

confusedKid