开发者

Getting Cocos2d Box2d/Chipmunk templates to work w/Xcode 4

开发者 https://www.devze.com 2023-02-22 18:14 出处:网络
I\'ve just followed the steps on the cocos2d site to install the latest xcode 4 project templates, however every time I try and create a Chipmunk/Box2d project it fails to build, stating there are ~26

I've just followed the steps on the cocos2d site to install the latest xcode 4 project templates, however every time I try and create a Chipmunk/Box2d project it fails to build, stating there are ~26 issues.

I've read up on this a little and found that Xcode 4 change the way templates are handled which is causing the issue, but I haven't found what I need to do to fix this.

Any help would be ap开发者_运维问答preciated!

Andy


Hey, I had the same issue as you but after a lot of searching I found a solution.

For some reason if your project name has a space in it then Xcode 4 doesn't link the Box2D framework in properly, thus giving you the 26 errors.

I recreated my project with a name without spaces and it compiled perfectly.

0

精彩评论

暂无评论...
验证码 换一张
取 消