I have gone through this twice for past versions and now on my third time and I can't fix it. I usually put all the cocos related items in a Support folder by adding existing files in the project. I'm getting lots of linking errors and PASoundSource errors. I try adding frameworks and that doesn't help. What method do you use to update to the latest version? Maybe there is an easier way? I usually can figure out the errors which usually entails removing test files. Thanks for any help.
Easiest way to upgrade cocos2d versions
(12 posts) (9 voices)-
Posted 2 years ago #
-
Sadly, the easiest way for me (0.7.1 -> 0.7.3) was to recreate my app in a fresh project.
I'm now using Emil's template for my current project:
Hopefully, future upgrades will be as simple as editing my source tree path and making code changes as per the upgrade notes.
I won't be upgrading to 0.8.0 anytime soon, so I can't tell you whether this method has paid off.
Posted 2 years ago # -
I followed the following tutorial after someone else posted it to the old mailing list:
http://www.clintharris.net/2009/iphone-app-shared-libraries/Highly recommend it, as its made upgrading soooo much easier, you can simply flip over to a different version, test if it works, and flip back to the previous one if needed : )
Posted 2 years ago # -
Resurrecting an old thread, but the article PhilM referenced is a real lifesaver when it comes to upgrading your libraries in place. I look forward to every cocos2d update from now on because now I can painlessly integrate it.
http://www.clintharris.net/2009/iphone-app-shared-libraries/
Bookmarking so I can do it again on my next project. :)
Posted 2 years ago # -
Has anyone successfully done this while simultaneously using SVN client that is part of XCode? I saw one mention of a person (in the comments section at the bottom of the article) who was *thinking* about doing it, but I was curious if anyone here has done so successfully? And if so, any caveats or gotchas to look out for?
Thanks.
Posted 2 years ago # -
I am resurrecting this thread in case someone is still interested in an answer for @Questor question. I managed to upgrade to a new version of cocos2d in a project that is using XCode SVN integration. I wrote a short post about it http://xperienced.com.pl/blog/upgrading-cocos2d-version
Posted 1 year ago # -
I found the easiest way to upgrade from 1.0.0 to 1.0.1 was to run install-templates.sh in terminal and then create a blank project. Then replace the "lib" folder in the old version with the new one from the blank project. (make sure to add the correct type, cocos2d with box2d or without)
Posted 5 months ago # -
You realise this is a year old thread, don't you? ;)
Posted 5 months ago # -
:) True, but http://xkcd.com/979/
Posted 5 months ago # -
The strip says it all. I often feel in "The Walking Dead" on this forum :-)
Posted 5 months ago # -
lol
Posted 5 months ago # -
Hahaha funny! and very truly, I think that has happened to all us developers at some stage on our careers.
Posted 5 months ago #
Reply
You must log in to post.