I want to integrate Box2d in my OS X application, so I've used the following Podfile to grab it:
pod 'box2d'
And the version of box2d is 2.3.0. In the xcworkspace I got from pod install
, I've created a bridge header to interoperate with the C++ APIs (according to doc, developer cannot import C++ projects directly from Swift lang, you should create a ObjC bridge).
And when I hit build button, I got a compiler error:
<unknown>:0: error: /path/to/project/Pods/Headers/Box2D/Common/b2Settings.h:22: 'cassert' file not found
So I wonder how can I fix this?