[PhoneGap] problem when loading application on actual device

366 views
Skip to first unread message

marcoeg

unread,
May 15, 2010, 9:29:58 PM5/15/10
to phonegap
I have been working on my first application using phonegap and the
simulator for a couple of weeks and without any problems.

I am getting the following errors on the iPad console when loading the
app on an actual device:

Sat May 15 18:18:54 iPad com.apple.debugserver-44[3514] <Warning>:
debugserver-44 for armv6 Copyright (c) 2007-2009 Apple, Inc. All
Rights Reserved.
Sat May 15 18:18:54 iPad com.apple.debugserver-44[3514] <Warning>:
Connecting to com.apple.debugserver service...
Sat May 15 18:18:54 iPad com.apple.launchd[1]
(UIKitApplication:com.visiblenergy.ufo[0x3daa][3515]) <Warning>:
(UIKitApplication:com.visiblenergy.ufo[0x3daa]) Spawned and waiting
for the debugger to attach before continuing...
Sat May 15 18:18:54 iPad com.apple.launchd[1]
(UIKitApplication:com.visiblenergy.ufo[0x3daa][3515]) <Error>:
(UIKitApplication:com.visiblenergy.ufo[0x3daa]) posix_spawn("/var/
mobile/Applications/05297AE4-A1A7-403E-8F63-230CB98F6E78/
Energy_UFO.app/EnergyUfo", ...): Permission denied
Sat May 15 18:18:54 iPad SpringBoard[26] <Warning>: Failed to spawn
EnergyUfo. Unable to obtain a task name port right for pid 3515: (os/
kern) failure
Sat May 15 18:18:54 iPad SpringBoard[26] <Warning>: Application
'EnergyUfo' exited abnormally with exit status 1
Sat May 15 18:18:54 iPad com.apple.launchd[1]
(UIKitApplication:com.visiblenergy.ufo[0x3daa][3515]) <Warning>:
(UIKitApplication:com.visiblenergy.ufo[0x3daa]) Exited with exit code:
1
Sat May 15 18:18:54 iPad com.apple.launchd[1]
(UIKitApplication:com.visiblenergy.ufo[0x3daa]) <Warning>:
(UIKitApplication:com.visiblenergy.ufo[0x3daa]) Throttling respawn:
Will start in 2147483647 seconds
Sat May 15 18:19:24 iPad com.apple.debugserver-44[3514] <Error>:
error: failed to lookup the process ID for CFBundleIdentifier
com.visiblenergy.ufo.
Sat May 15 18:19:24 iPad com.apple.debugserver-44[3514] <Warning>:
error: failed to launch process (null): unknown error.

Any hint on what could be going wrong would be greatly appreciated. I
am using "Device - 3.2 | Debug" as Active SDK.

-Marco

--
You received this message because you are subscribed to the Google
Groups "phonegap" group.
To post to this group, send email to phon...@googlegroups.com
To unsubscribe from this group, send email to
phonegap+u...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/phonegap?hl=en?hl=en

For more info on PhoneGap or to download the code go to www.phonegap.com

marcoeg

unread,
May 16, 2010, 12:52:12 PM5/16/10
to phonegap
Found the solution on the Apple Development Forum.

I am posting the link in case someone else has the same problem:

https://devforums.apple.com/message/220395#220395

" It seems as if Springboard must do something like cache the mapping
between AppIDs and app bundle names, resulting in it looking in the
wrong path for the executable (as shown above). I had assumed that
there was something wrong with the new bundle that I was installing,
but of course the OS can't use the content of the bundle (i.e. the
Info.plist) until it has at least discovered its pathname, so this
information must also be stored somewhere else. So, simply removing
the app and rebooting, so that Springboard forgets about it, and re-
installing has fixed the problem."
> For more options, visit this group athttp://groups.google.com/group/phonegap?hl=en?hl=en
Reply all
Reply to author
Forward
0 new messages