Updating Cocos2d-x

Just a quick post, since I recently updated my project’s cocos version to the latest and greatest.

It went surprisingly very smooth!

First of all, make sure you run the dependency script:

$ python download-deps.py

This will obviously make sure you have all the dependencies.

After that, make sure you remove all the linked libraries in the build phase, except cocos. Here are the before and after screenshots:

image

image

Finally, update the linker flags to use the new Cocos2d-x way of linking against libraries:

image

That was pretty much it for me!

Now, time to look into all these deprecations, and see how can I resolve them …