Hey guys, this really piss me off this time. I don't know what is the problem but when i try in my iPhone (iPhone 3G / OS 3.0) the Distribution/Release/Debug build everything work fines. Even if drag the .app and .mobileprovisioning over the itunes, everything workd.
But in other 2 iPhones (iPhone 3GS / OS 3.2.1) i only can run the the Release/Debug version, and i make the .mobileprovisioning with this 2 iPhones, but when the game run this open and close and not running, even if when i try running from XCode or when i drag the .app and .mobileprovisioning the game open and close immediately. I Don't know what this can be, and really anoying me for the beta test, i can try the game in other iphones only if i connect the iphone in my mac and run the debug version.
Someone know what i'm doing wrong?
In the debug i get this at the Distribution version:
[Session started at 2009-10-27 11:07:50 -0200.]
GNU gdb 6.3.50-20050815 (Apple version gdb-1128) (Sat Sep 26 06:46:24 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/ttys001
Loading program into debugger…
Program loaded.
target remote-mobile /tmp/.XcodeGDBRemote-1340-58
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 294.
Error launching remote program: failed to get the task for process 294.
The program being debugged is not being run.
The program being debugged is not being run.
I remove the provisioning, profiles certificates, generate all again, but i always get this bug! And i don't know whats going on, if someone can help me really appreciate.
I Update my project to cocos2d 8.2 thinkg this can solve my problem.
I get the console messages from the iphone 3GS i running, if this can help.
Tue Oct 27 10:17:12 unknown com.apple.debugserver-43[386] <Warning>: debugserver-43 for armv6 Copyright (c) 2007-2009 Apple, Inc. All Rights Reserved.
Tue Oct 27 10:17:12 unknown com.apple.debugserver-43[386] <Warning>: Connecting to com.apple.debugserver service...
Tue Oct 27 10:17:12 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:com.99ftjetpack.Hibernate[0x4815]) Spawned and waiting for the debugger to attach before continuing...
Tue Oct 27 10:17:13 unknown kernel[0] <Debug>: launchd[387] Builtin profile: container (seatbelt)
Tue Oct 27 10:17:13 unknown com.apple.debugserver-43[386] <Warning>: 1 [0182/0903]: error: ::task_for_pid ( target_tport = 0x0103, pid = 387, task => 0x0000 ) 0x000001f5/0x000001f5 0x000001f5/0x000001f5 err = (os/kern) failure (0x00000005)
Tue Oct 27 10:17:13 unknown kernel[0] <Debug>: launchd[387] Container: /private/var/mobile/Applications/809DAEC8-5923-45C1-A0AC-6AC632822ADC (seatbelt)
Tue Oct 27 10:17:13 unknown com.apple.debugserver-43[386] <Error>: error: MachTask::StartExceptionThread (): task invalid, exception thread start failed.
Tue Oct 27 10:17:13 unknown com.apple.debugserver-43[386] <Warning>: 2 [0182/0903]: error: ::task_for_pid ( target_tport = 0x0103, pid = 387, task => 0x0000 ) 0x000001f5/0x000001f5 0x000001f5/0x000001f5 err = (os/kern) failure (0x00000005)
Tue Oct 27 10:17:13 unknown com.apple.debugserver-43[386] <Warning>: 3 [0182/0903]: RNBRunLoopLaunchInferior DNBProcessLaunch() returned error: 'DRHT'
Tue Oct 27 10:17:13 unknown com.apple.debugserver-43[386] <Warning>: error: failed to launch process (null): failed to get the task for process 387
Tue Oct 27 10:17:13 unknown com.apple.debugserver-43[386] <Warning>: 4 [0182/1603]: error: ::read ( 7, 0x28091c, 1024 ) => -1 err = Bad file descriptor (0x00000009)
Tue Oct 27 10:17:13 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.99ftjetpack.Hibernate[0x4815]) Bug: launchd_core_logic.c:2649 (23909):10
Tue Oct 27 10:17:13 unknown com.apple.launchd[1] <Notice>: (UIKitApplication:com.99ftjetpack.Hibernate[0x4815]) Working around 5020256. Assuming the job crashed.
Tue Oct 27 10:17:13 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:com.99ftjetpack.Hibernate[0x4815]) Job appears to have crashed: Segmentation fault
Tue Oct 27 10:17:13 unknown SpringBoard[24] <Warning>: Application 'Hibernate' exited abnormally with signal 11: Segmentation fault