* Base SDK 4.1 or newer should be used.
With Xcode versions below 4.2.1 the compiler will generate warnings about '#pragma clang' statements. These can be safely commented out.
CocosLive is not supported anymore and has been taken out of the templates.
This version still supports armv6 (iPhone 3G, iPod touch 2G and lower), to compile for armv6 use Xcode 4.4.1 or lower.
RC0 has been tested intensively and will also become the stable release of 1.1., if no show stopping bugs will be found.
因此可以說沒救了,只能使用v2.1版了,希望程式碼不需要改動太多才好。
官方參考網址
http://www.cocos2d-iphone.org/wiki/doku.php/prog_guide:migrate_to_v2.0
改版過程失敗
1. CCNode.h的position_ 變數,改版後變成 _position , tag_及 contentSize_也是一樣
2. Box2D 中的b2DebugDraw 變成 b2Draw
3....
最重要的是如果外部代碼直接使用OPENGLES1,那就真的難救了。
只能就部分了解的想辦法解決了。
大改寫可能會比較快一些,並且可就了解的部分再最佳化了。
- Don't report bugs if you are using a previous version.
- Don't you have Base SDK 4.1 ? Install Xcode 3.2.6 or newer.
- How to set Base SDK to 4.1: Xcode → Project → Edit project Settings → Build → Base SDK
With Xcode versions below 4.2.1 the compiler will generate warnings about '#pragma clang' statements. These can be safely commented out.
CocosLive is not supported anymore and has been taken out of the templates.
This version still supports armv6 (iPhone 3G, iPod touch 2G and lower), to compile for armv6 use Xcode 4.4.1 or lower.
RC0 has been tested intensively and will also become the stable release of 1.1., if no show stopping bugs will be found.
iPhone5 + iOS6 support
因此可以說沒救了,只能使用v2.1版了,希望程式碼不需要改動太多才好。
官方參考網址
http://www.cocos2d-iphone.org/wiki/doku.php/prog_guide:migrate_to_v2.0
改版過程失敗
1. CCNode.h的position_ 變數,改版後變成 _position , tag_及 contentSize_也是一樣
2. Box2D 中的b2DebugDraw 變成 b2Draw
3....
最重要的是如果外部代碼直接使用OPENGLES1,那就真的難救了。
只能就部分了解的想辦法解決了。
大改寫可能會比較快一些,並且可就了解的部分再最佳化了。



