Bug #3857

By dumganhar Posted 2014-01-26 06:18

This issue will cause crash in issue #3853.

## Reason ##

We used fat library for iOS, it contains `i386`, `armv7`, `armv7s` architecture. But we use the same header files.
The head file may contains `DEBUG` macro in some methods or some classes. It may lead to weird crash.

## How to FIX ##

* Undefine all `DEBUG`marco in Project Settings.
* Build all libraries in `RELEASE` mode.

__If you wish to debug Spidermonkey, you have to know how to build debug version of SpiderMonkey and how to set DEBUG macro in Project Setting!__

__BUT DON'T NOT DEFINE `DEBUG` macro IN OUR PROJECTS__ PROJECT__

__Cocos2d-x is using `COCOS2D_DEBUG` for debugging__

Back