I have a “random” crash with a EXC_BAD_ACCESS using CC_SYNTHESIZE after a certain amount of times using it and was wondering if I am doing something wrong or if it is a bug with the CC_SYNTHESIZE macro.
I am using Xcode to build my project on the iPhone simulator with cocos2d-x v1.0.0
I use the following line to create a sythesized variable (this is also the line the debbuger stops on when I have the EXC_BAD_ACCESS crash):
CC_SYNTHESIZE(int, playValue, PlayValue);
I do this to set the variable (this is the before last line of code in the debbuger when it crashes)
This works most of the time but after a while I get the EXC_BAD_ACCESS crash.
Is there a known issue or has this been fixed in v1.0.1?
Thank you for any help you can provide.