Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 09-12-2009, 06:10 PM   #1 (permalink)
Registered Member
 
Join Date: Sep 2009
Posts: 7
Default Error launching remote program: failed to get the task for process 1533

Upgraded to iPhone OS 3.1.1, and Xcode 3.1.4.
Now when I try to run apps in debug on the device, I get this:

[Session started at 2009-09-12 17:06:34 -0500.]
GNU gdb 6.3.50-20050815 (Apple version gdb-1128) (Mon Aug 3 03:00:16 UTC 2009)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i386-apple-darwin --target=arm-apple-darwin".tty /dev/ttys000
Loading program into debugger…
sharedlibrary apply-load-rules all
Program loaded.
target remote-mobile /tmp/.XcodeGDBRemote-3713-24
Switching to remote-macosx protocol
mem 0x1000 0x3fffffff cache
mem 0x40000000 0xffffffff none
mem 0x00000000 0x0fff none
run
Running…
Error launching remote program: failed to get the task for process 1533.
Error launching remote program: failed to get the task for process 1533.


Has anyone else seen this? My app was running fine on the device prior
to this, and still runs on the simulator.

Thanks,
C
Carbondale is offline   Reply With Quote
Old 09-13-2009, 12:36 PM   #2 (permalink)
Registered Member
 
Join Date: Sep 2009
Location: Los Angeles
Posts: 12
Default

I get the same error. If I open my app on my phone after I get this error, it turns out it actually does load the app on to my phone. I'd like to not get the error though. Anybody?
harris is offline   Reply With Quote
Old 09-13-2009, 12:57 PM   #3 (permalink)
Registered Member
 
Join Date: Sep 2009
Posts: 7
Default

Quote:
Originally Posted by harris View Post
I get the same error. If I open my app on my phone after I get this error, it turns out it actually does load the app on to my phone. I'd like to not get the error though. Anybody?
Yes I think it's loading the app ok, just not able to attach the debugger which
is a big problem since I need to debug on the device. I've also posted this in
the Apple forums, and sent an email to Apple support. If I hear anything
useful I'll post back here.
Carbondale is offline   Reply With Quote
Old 09-20-2009, 11:11 AM   #4 (permalink)
jjf
Registered Member
 
Join Date: Feb 2009
Posts: 9
Default

I'm having this same issue now also.

Did you ever get a resolution?
jjf is offline   Reply With Quote
Old 09-20-2009, 11:35 AM   #5 (permalink)
jjf
Registered Member
 
Join Date: Feb 2009
Posts: 9
Default

Quote:
Originally Posted by jjf View Post
I'm having this same issue now also.

Did you ever get a resolution?
I recreated my development provisional profile and that fixed it for me anyway.
jjf is offline   Reply With Quote
Old 09-20-2009, 02:20 PM   #6 (permalink)
Registered Member
 
Join Date: Sep 2009
Posts: 7
Default

Quote:
Originally Posted by jjf View Post
I recreated my development provisional profile and that fixed it for me anyway.
Apple emailed me that they have opened a bug report.
I'm able to work around this. The error occurs after the app has been
installed on the device. At that point I can run the app from the device,
and see my NSLog output in the Organizer Console. This is good enough
for me at this point. I still haven't been able to run the debugger or
Performance Tools against the device.
Carbondale is offline   Reply With Quote
Old 09-21-2009, 02:02 AM   #7 (permalink)
Registered Member
 
Join Date: Sep 2009
Location: Los Angeles
Posts: 12
Default

I created a new development provisioning profile, deleted my old one, and I don't get the errors anymore. Give it a try.
harris is offline   Reply With Quote
Old 09-21-2009, 10:17 AM   #8 (permalink)
Registered Member
 
Join Date: Sep 2009
Location: London
Posts: 6
Default

Quote:
Originally Posted by harris View Post
I created a new development provisioning profile, deleted my old one, and I don't get the errors anymore. Give it a try.
Did you have to come up with a unique description for your dev prov profile, or were you able to re-use the old one?
Madrayken is offline   Reply With Quote
Old 09-22-2009, 11:47 AM   #9 (permalink)
Registered Member
 
Join Date: Jan 2009
Posts: 2
Default

I've created new development and distribution provisioning profiles and have deleted the old ones, but am still getting these error messages. Did you also have to create new Development and/or Distribution Certificates?

Thanks!
jrtb is offline   Reply With Quote
Old 09-23-2009, 02:33 AM   #10 (permalink)
Registered Member
 
Join Date: Sep 2009
Location: Los Angeles
Posts: 12
Default

It turns out creating the new development provisioning profile (with a new name) did not solve this. It worked the first time I compiled, but after that back to the same error message.
harris is offline   Reply With Quote
Old 09-23-2009, 09:34 AM   #11 (permalink)
Registered Member
 
Join Date: Jan 2009
Posts: 2
Default

Quote:
Originally Posted by harris View Post
It turns out creating the new development provisioning profile (with a new name) did not solve this. It worked the first time I compiled, but after that back to the same error message.
Has anyone heard back from Apple about this or resolved the issue?

Thanks!
jrtb is offline   Reply With Quote
Old 10-08-2009, 03:54 AM   #12 (permalink)
Registered Member
 
Join Date: Apr 2009
Posts: 5
Default

hi guys,

In my case it was a configuration problem. I had, by mistake, added a code signing entitlements plist file to the debug configuration of my project.

Removing this from the debug configuration fixed the problem.
litening is offline   Reply With Quote
Old 10-14-2009, 06:10 PM   #13 (permalink)
Registered Member
 
Join Date: Sep 2009
Location: London
Posts: 6
Default

Quote:
Originally Posted by litening View Post
hi guys,

In my case it was a configuration problem. I had, by mistake, added a code signing entitlements plist file to the debug configuration of my project.

Removing this from the debug configuration fixed the problem.
If I try that it complains that I don't have an entitlements listed, as per the provisioning profile. Or is it the people's popular front of provisioning profile... or the popular people's provisioning profile... gah.
Madrayken is offline   Reply With Quote
Old 10-19-2009, 04:58 AM   #14 (permalink)
LordBrian
 
Join Date: Sep 2009
Posts: 11
Default

Funny this is I have the same problem and changing from debug to release works fine but back to debug bugg**s everything up again.

The new profile worked once but nothing after that. Lets hope for a fix soon.
LordBrian is offline   Reply With Quote
Old 10-19-2009, 07:53 AM   #15 (permalink)
Registered Member
 
Join Date: Sep 2009
Location: London
Posts: 6
Default

Quote:
Originally Posted by LordBrian View Post
Funny this is I have the same problem and changing from debug to release works fine but back to debug bugg**s everything up again.

The new profile worked once but nothing after that. Lets hope for a fix soon.
I finally fixed it.

All I needed do was ensure I had my development provisioning profile set (rather than a distribution profile), then go to entitlements.plist and tick the 'get-task-allow' box in there. After this, all worked.
Madrayken is offline   Reply With Quote
Old 10-26-2009, 05:33 AM   #16 (permalink)
Registered Member
 
Join Date: Jun 2009
Posts: 13
Default Error launching remote program: failed to get the task for process

Faced the same problem. Now solved. Thanks.
viswa08 is offline   Reply With Quote
Old 02-24-2010, 12:47 PM   #17 (permalink)
Registered Member
 
Join Date: Feb 2010
Location: Austin, Texas
Posts: 2
Post Debug vs. Distribution

Make sure your Active Configuration is set to the appropriate selection (Debug/Distribution). Basically, you shouldn't be debugging/changing code if you're going to Distribute the app (that's what Distribution mode is for, final packaging before you distribute, even to Beta Testers [Ad Hoc]). See if changing back to Debug (don't forget to change your Code Signing back to Debug sigs) doesn't fix the problem.
appranch is offline   Reply With Quote
Old 10-17-2010, 04:34 AM   #18 (permalink)
Registered Member
 
Join Date: Sep 2009
Posts: 5
Default

Quote:
Originally Posted by litening View Post
hi guys,

In my case it was a configuration problem. I had, by mistake, added a code signing entitlements plist file to the debug configuration of my project.

Removing this from the debug configuration fixed the problem.
I confirm i had the same issue, thanks, I always forget this one!

Damn entitlements...
puy0 is offline   Reply With Quote
Old 10-21-2010, 12:42 AM   #19 (permalink)
Registered Member
 
Join Date: Oct 2010
Posts: 1
Default

I have a same issue when launched adhoc app. Although I configured my Entitlements.plist file followed the Apple's instruction. But this error is still.
vinhsteven is offline   Reply With Quote
Old 01-11-2011, 05:58 PM   #20 (permalink)
Registered Member
 
Join Date: Dec 2010
Location: Seattle, WA
Posts: 212
Default

Quote:
Originally Posted by vinhsteven View Post
I have a same issue when launched adhoc app. Although I configured my Entitlements.plist file followed the Apple's instruction. But this error is still.
This is an easy fix. You probably have the targets set to your ad-hoc profile. Setting them to the development profile should fix it.

1) Make sure you are using the Device/Debug setup for Build & Run.
2) Click "Project-->Edit Active Target" and make sure both code signing fields are set to your "Development" profile.
3) btw, i also have the "Project Settings" code signing fields set to "Do not sign"
RickSDK is offline   Reply With Quote
Old 10-24-2011, 09:14 AM   #21 (permalink)
Registered Member
 
Join Date: Oct 2011
Posts: 1
Default solved it!

I had this error too when I tried to debug my app on my iphone or ipad, error [code] met me. you can try them:

In the project, targets must have armv6 architectures for debug release and distribution.

In code sign distrubution and development provision profiles have to be updated ones for the sdk of your device. your devices have to be also recognized by ios provisional portal.
kaanmm is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 411
10 members and 401 guests
AppleSteve, banatary70, chiataytuday, DaveDee, Domele, ilmman, Jameswhitfield, johnRambo, Objective Zero, Oral B
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 157,854
Threads: 88,915
Posts: 379,298
Top Poster: BrianSlick (7,072)
Welcome to our newest member, Jameswhitfield
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:36 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0