iOS cocos2d-x-2.2.6 'cctype' file not found

If you encounter an error:
//workspace/cocos2d-x-2.2.6/cocos2dx/support/tinyxml2/tinyxml2.h:38:13: ‘cctype’ file not found


You most likely have a warning that the stdlib library is missing.
The library was excluded in xCode 10+.
To do this, set the C++ Standard Library to libc++, both for your project and for the cocos2d-x project.

You will also need to set Enable Bitcode to No, for the cocos2d-x project.
3 4

1 Like