Xcode Project for Cocos2D v0.99.5 beta 3

On October 20, 2010, in Announcements, cocos2d, support, Xcode, by Steffen Itterheim

Due to a number of breaking changes in the recent Cocos2D beta versions, including the rename of the Cocos2D project to cocos2d-ios.xcodeproj, I’ve made an update to my Xcode project. You know, the one from this tutorial that allows you to keep Cocos2D completely seperate from your own code, which in turn enables you to easily and safely up- and downgrade Cocos2D by merely replacing the Cocos2D folder.

So now it also works with Cocos2D and here is the download:

Download the Xcode Project (Cocos2D v0.99.5 beta 3 and later)

What you have to do to upgrade the project, in case you already started a project with my older Xcode template but would like to upgrade to Cocos2D v0.99.5 beta 3:

  • remove the cocos2d-iphone project from your Xcode project
  • follow these instructions from Select the Project itself up to and including Drag & Drop Libraries to Target
  • (don’t forget to repeat the instructions for all targets you’re using, not just the current one)
  • clean all targets and build

Note: depending on the iOS SDK version you’re on, you may have to Get Info on the Xcode project as well as the cocos2d-ios project and on the General tab set the Base SDK to iOS 4.x, then close and re-open the project (Xcode should update the SDK version immediately but sometimes it doesn’t).

If you plan to use Cocos2D v0.99.4 then the Xcode project supporting this Cocos2D version is still available here.


This article was brought to you by ...

I very much enjoy the learning process, the pushing of boundaries (mine and yours and that of technology), having the freedom to pursue whatever is on my mind, to boldly program what no one has programmed before, and to write about what I've learned. Help me help you by browsing the products in the Learn Cocos2D Store.

Tagged with:  

2 Responses to “Xcode Project for Cocos2D v0.99.5 beta 3”

  1. Ben Kraus says:

    May I point out that in order to get your build to succeed using the template, you need to add CocosDenshion as well as your cocos2d libraries. Also, you will need to modify the EAGLView in your project with your init method so the ‘may not respond to’ warning that will compile as an error will be corrected.

    • That’s strange, I did add those libraries and in the version I have here they are properly linked. I’ll have to make another update anyway for the latest cocos2d, I’ll check if there’s anything wrong with it.