June 20

Fix Xcode 4 Box2d Build Error

If you’ve downloaded the most recent version of Cocos2d(0.99.5) and are using Xcode4 there is a small issue when trying to build the Box2d testbed app. Here is how I found to fix it: Select the box2d target(shown after selecting the project in the project navigator). I found that the box2d library target needed this setting changed: GCC 4.2 Code Generation line – Symbols hidden by default – needs to be “YES” That should work then!

Posted by Jeff . Filed under box2d, Cocos2d | Comments Off

March 30

Xcode 3.2 and C++ Troubles

I’ve recently upgraded my main Mac for development to Snow Leopard. In doing so, i said i’d upgrade my Xcode also to take advantage of that cool new feature called “Build and Analyze”. After a healthy 2 hour download of Xcode 3.2 I ran with childish excitement to build our latest games and see how they got on. It got past the splash screen, but then it threw a “SIGABRT” error when trying to draw the next scene, which contained strings and some custom font rendering. It turns out that its a known issue with the default C++ compiler in [...]

Posted by Jeff . Filed under Objective-C, XCode | 1 Comment