Hi, I know this is a shot in the dark since there are a million configurations that could be causing this, but I can't figure this out...
I had CocosDenshion working just fine throughout my project. No errors, all sound effects played.
I am getting ready to submit, so I created my distribution profile, etc. I switched up a few things in my Target Build Settings (changed the Product name to match my iTunes submission), consolidated my image resources to save space, and verified the codesign.
I wanted to put the last version back on my testing device and now there's no audio! The console shows the correct calls to CocosDenshion, and there are no compiling errors, but IMMEDIATELY after the project is loaded, I get this gdb error:
[Session started at 2009-11-10 14:52:52 -0500.]
// GDB Warranty info left out //
This GDB was configured as "--host=i386-apple-darwin --target=arm-apple-darwin".tty /dev/ttys002
Loading program into debugger…
sharedlibrary apply-load-rules all
Program loaded.
target remote-mobile /tmp/.XcodeGDBRemote-7826-29
Switching to remote-macosx protocol
mem 0x1000 0x3fffffff cache
mem 0x40000000 0xffffffff none
mem 0x00000000 0x0fff none
run
Running…
[Switching to thread 11779]
[Switching to thread 11779]
warning: Couldn't raise load state for requested shlib: "libobjc.A.dylib" for breakpoint 1.
(gdb) continue
After the debugger continues, everything works fine, just no audio!
Testing this on multiple versions of the Simulator, and on two devices (3.1 and 3.1.2).
What settings could I have accidentally changed to make this happen? I verified all my frameworks were added. My target build setting is 2.2.1 (for backwards compatibility). This happens on all configurations (Debug, Release, Distribution). All builds have been cleaned, Xcode restarted, etc. I even tried to put all my files into a new project and it still happened!