iPhone App Crashing after adding new device to profile
<p>I have a question that I'm hoping someone can help me with.  The app that I am working on was working fine.  I created an Ad Hoc distribution for it and sent it to someone and everything was still fine.  Now, I added another device to the profile and the app is crashing as soon as it boots up... never even makes it past the loading screen.  I did make a few changes to code about the same time, but i have since backtracked and commented out all new code that I added, so i don't think it's anything to do with my code, but more of a provisioning profile problem.  </p>

<p>here is the output of the two consoles...</p>

<pre><code>DEBUG CONSOLE

[Session started at 2010-05-07 12:57:58 -0400.]
GNU gdb 6.3.50-20050815 (Apple version gdb-1128) (Fri Dec 18 10:08:53 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/ttys007
Loading program into debugger…
sharedlibrary apply-load-rules all
Program loaded.
target remote-mobile /tmp/.XcodeGDBRemote-237-59
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 7949.
Error launching remote program: failed to get the task for process 7949.



DEVICE CONSOLE

Fri May  7 13:00:08 unknown SpringBoard[24] &lt;Notice&gt;: MultitouchHID(208bc0) uilock state: 0 -&gt; 1
Fri May  7 13:00:10 unknown SpringBoard[24] &lt;Notice&gt;: MultitouchHID(208bc0) uilock state: 1 -&gt; 0
Fri May  7 13:00:10 unknown SpringBoard[24] &lt;Notice&gt;: MultitouchHID(2ce550) device bootloaded
Fri May  7 13:00:42 unknown mobile_installationd[7938] &lt;Error&gt;: 00811000 install_embedded_profile: Skipping the installation of the embedded profile
Fri May  7 13:00:46 unknown SpringBoard[24] &lt;Warning&gt;: Reloading and rendering all application icons.
Fri May  7 13:00:49 unknown com.apple.debugserver-43[7948] &lt;Warning&gt;: debugserver-43 for armv6 Copyright (c) 2007-2009 Apple, Inc.  All Rights Reserved.
Fri May  7 13:00:49 unknown com.apple.debugserver-43[7948] &lt;Warning&gt;: Connecting to com.apple.debugserver service...
Fri May  7 13:00:51 unknown com.apple.launchd[1] &lt;Warning&gt;: (UIKitApplication:com.kilbydesigns.signguru[0x92d6]) Spawned and waiting for the debugger to attach before continuing...
Fri May  7 13:00:52 unknown kernel[0] &lt;Debug&gt;: launchd[7949] Builtin profile: container (seatbelt)
Fri May  7 13:00:52 unknown kernel[0] &lt;Debug&gt;: launchd[7949] Container: /private/var/mobile/Applications/E07ABA46-0A84-4013-9FEE-FBC6B022ABAF (seatbelt)
Fri May  7 13:00:52 unknown com.apple.debugserver-43[7948] &lt;Warning&gt;: 1 [1f0c/0903]: error: ::task_for_pid ( target_tport = 0x0103, pid = 7949, task =&gt; 0x0000 ) 0x000001f5/0x000001f5 0x000001f5/0x000001f5 err = (os/kern) failure (0x00000005)
Fri May  7 13:00:52 unknown com.apple.debugserver-43[7948] &lt;Error&gt;: error: MachTask::StartExceptionThread (): task invalid, exception thread start failed.
Fri May  7 13:00:53 unknown com.apple.debugserver-43[7948] &lt;Warning&gt;: 2 [1f0c/0903]: error: ::task_for_pid ( target_tport = 0x0103, pid = 7949, task =&gt; 0x0000 ) 0x000001f5/0x000001f5 0x000001f5/0x000001f5 err = (os/kern) failure (0x00000005)
Fri May  7 13:00:53 unknown com.apple.debugserver-43[7948] &lt;Warning&gt;: 3 [1f0c/0903]: RNBRunLoopLaunchInferior DNBProcessLaunch() returned error: 'DRHT'
Fri May  7 13:00:53 unknown com.apple.debugserver-43[7948] &lt;Warning&gt;: error: failed to launch process (null): failed to get the task for process 7949
Fri May  7 13:00:53 unknown com.apple.debugserver-43[7948] &lt;Warning&gt;: 4 [1f0c/1603]: error: ::read ( 7, 0x28091c, 1024 ) =&gt; -1 err = Bad file descriptor (0x00000009)
Fri May  7 13:00:53 unknown com.apple.launchd[1] &lt;Notice&gt;: (UIKitApplication:com.kilbydesigns.signguru[0x92d6]) Bug: launchd_core_logic.c:2649 (23909):10
Fri May  7 13:00:53 unknown com.apple.launchd[1] &lt;Notice&gt;: (UIKitApplication:com.kilbydesigns.signguru[0x92d6]) Working around 5020256. Assuming the job crashed.
Fri May  7 13:00:53 unknown com.apple.launchd[1] &lt;Warning&gt;: (UIKitApplication:com.kilbydesigns.signguru[0x92d6]) Job appears to have crashed: Segmentation fault
Fri May  7 13:00:53 unknown SpringBoard[24] &lt;Warning&gt;: Application 'SignGuru' exited abnormally with signal 11: Segmentation fault
</code></pre>

<p>Any help on this would be greatly appreciated.  </p>

<p>Thanks!</p>
