i am using cocos2d template with Box2d but when i import Box2d.h in my project it gives me error cassert fiel not found i have cocos2d version 2.0 please help me
Make sure all your project's source code files have the file extension .mm and not .m. Or set each .m file's type to Objective-C++.
change your file extension .mm thats it
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With