Hey,
I'm relatively new to cocos2d but I installed 0.99.0 a bit ago and starting working on a game. I installed the templates no problem and I had no problem building for the simulator or the device.
I decided recently to try and setup version 0.99.3. I installed the templates into Xcode and created a new project (just the regular template, no physics). For some reason the only available Active Architecture in the project build settings was armv7 (there used to be both armv6 and armv7). There was no problem when building and running using the simulator but when building for a device, it failed cause the device requires armv6 (I'm using an iPod Touch with version 3.1.3 as the device). So I decided I would change some of the settings. Changing the settings in Project > Edit Project Settings > Build didn't change any of the options in the overview (still only armv7 available) even though I made it standard not optimized. I had to do the same changes but to Targets > My Project > Get Info > Build, and that seem to give me the armv6 option I needed.
Sorry this is long winded, but I'm trying to convey the process up until the biggest issue.
So I selected armv6 as the Active Architecture and built and ran the application on the device. I saw the cocos2d Default.png, and then it just gave me EXC_BAD_ACCESS. Keep in mind I haven't changed any code from the template. This is what the Debugger Console said:
[Session started at 2010-06-09 17:47:51 -0400.]
GNU gdb 6.3.50-20050815 (Apple version gdb-1464) (Sat Apr 3 11:04:59 UTC 2010)
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-1321-52
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]
sharedlibrary apply-load-rules all
continue
Program received signal: “EXC_BAD_ACCESS”.
The Debugger thread looks like it mentions something about CCDirector setDirectorType.
Does anyone know what happened? Has anyone else experienced this while using the latest cocos2d release? I've had no issues with templates for version 0.99.0.
Thanks