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.
|Follow @gaminghorror||Follow @kobold2d|