Download

Stable version

Download: cocos2d-iphone-2.0.tar.gz
Download: cocos2d-iphone-1.0.1.tar.gz

Unstable versions

Download 2.1 branchcocos2d-iphone-2.1-rc1.tar.gz
Download 1.1 branchcocos2d-iphone-1.1-rc0.tar.gz

Bleeding edge version

Use this command to anonymously check out the latest project source code:

$ git clone git://github.com/cocos2d/cocos2d-iphone.git
$ cd cocos2d-iphone
// For the 2.x branch you should do
$ git checkout develop-v2
// For the v1.x branch
$ git checkout develop

Download older versions

77 Responses to “Download”


  • Both 2.0 or 1.1 stable version cannot be downloaded. I’m in China and wondering if I need VPN first?

  • Yes, you might need VPN. The download files are hosted in google code.

  • Is it posible to install version 1.0.1 and 2.0 side by side? I have a professor teaching version 1 from the book Strougo, R., Winderlich, R., Learning Cocos2D, Addison-Wesley, 2012. However, I’d like to also install version 2 for my personal study of game design.

  • @nick: yes, you can install both v1.x and v2.x side by side.

  • hello, can you only install this on the mac?

  • @fabian:
    cocos2d-iphone depends on Xcode + iOS / OS X SDK. And for the moment Xcode is only available for Mac.

  • what is the difference between “: cocos2d-iphone-2.0.tar.gz” and “cocos2d-iphone-1.0.1.tar.gz”?
    Both are the latest version?

  • Hi
    the install script (install-templates.sh) for cocos2d v2 says do not run as root.
    if i don’t run as root then lots or errors like this :

    …creating destination directory: /Users/andy/Library/Developer/Xcode/Templates/cocos2d v2.x/
    mkdir: /Users/andy/Library/Developer/Xcode/Templates/cocos2d v2.x: Permission denied

  • hi
    i dowload version 2. tried install script but it complains i should not install as root.
    if im not root then i get lots of errors like this :

    …creating destination directory: /Users/andy/Library/Developer/Xcode/Templates/cocos2d v2.x/
    mkdir: /Users/andy/Library/Developer/Xcode/Templates/cocos2d v2.x: Permission denied

  • its ok now. previous version was installed with root, so need to make sure to delete old cocos2d and File Templates and Templates folder.

  • i am using xcode 4.4 and ios 5.1 and cocos 2d 0.99 version
    is it supportive cocos2d to xcode and ios versions

    i installed cocos2d as root like..
    cd cocos2d-iphone
    ./install-templates.sh -u
    if not,
    how can i update cocos2d version
    plz reply

  • what is difference in stable and unstable versions

  • @ankoos mohd:
    Unstable versions have less testing than stable versions.

  • Hi,

    Can I install Cocos2D on Xcode 4.5 ?

    Thanks

    Regis

  • @Regis: Yes you can. cocos2d v2.1 works OK with Xcode v4.5 and v4.6

  • Is Cocos2D 2.0 backward compatible with Cocos2D 1.0? I have a game that runs well in the older version of Cocos2D 1.0 and want to upgrade to the newer version 2.0 … do i delete the old and run the new? Will my app run smoothly?

    Thanks!
    Majid

  • I Install both stable version coco2d but after install i get only CCNode class only . i did n’t get like raywanderwith tutorial

  • XCODE4.2
    COCOS2D 1.01

    ‘uniqueIdentifier’ is deprecated (declared at /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:64)

    file://localhost/Users/kahing05/Desktop/KK/KK/libs/cocoslive/CLScoreServerPost.m: warning: Deprecations: ‘uniqueIdentifier’ is deprecated

    ‘uniqueIdentifier’ is deprecated (declared at /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator5.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIDevice.h:64)

    I am depression, please hlep me :(
    i am so new of iphone developer, maybe i need so detail lead the way :(

  • Is cocos2d available on any other system besides Xcode?

  • Oh and can Xcode run on an older version of a Mac?

  • Haley, you should not use CocosLive, because it is deprecated and is not maintained now.
    It was abandoned a long time ago, when unique device identifier was available in UIKit API.
    But then Apple’s policy had changed and programmers now aren’t allowed to use UDID in their projects.

    You should remove cocoslive from your project, i suppose. This will fix your problem

  • hi,it’s the first time I install cocos2d.And I installed cocos2d-x already.I typed the command in the terminal

    handeMac-mini:~ hanpengbo$ sudo rm -rf ~/Library/Developer/Xcode/Templates/cocos2d\ v2.x/
    Password:
    handeMac-mini:~ hanpengbo$ cd /Users/hanpengbo/Downloads/cocos2d-iphone-2.0
    handeMac-mini:cocos2d-iphone-2.0 hanpengbo$ ./install-templates.sh -f -u
    cocos2d-iphone template installer

    Installing Xcode 4 cocos2d iOS template
    —————————————————-

    …creating destination directory: /Users/hanpengbo/Library/Developer/Xcode/Templates/cocos2d v2.x/
    mkdir: /Users/hanpengbo/Library/Developer/Xcode/Templates/cocos2d v2.x/: Permission denied
    mkdir: /Users/hanpengbo/Library/Developer/Xcode/Templates/cocos2d v2.x/lib_cocos2d.xctemplate/libs/: Permission denied
    …copying cocos2d files
    rsync: mkdir “/Users/hanpengbo/Library/Developer/Xcode/Templates/cocos2d v2.x/lib_cocos2d.xctemplate/libs” failed: No such file or directory (2)
    rsync error: error in file IO (code 11) at /SourceCache/rsync/rsync-42/rsync/main.c(544) [receiver=2.6.9]

    I didn’t find the cocos2d template in Xcode and I don’t know why.Please help.

  • Is cocos2d v.1.1 beta2 compatible with Xcode 4.6 ?

  • Hello.
    I try to install cocos2d but it installs only “CCNode class” template.

    I used “./install-templates.sh -f” from terminal and this is the result:
    cocos2d-iphone template installer

    Installing Xcode 4 cocos2d iOS template
    —————————————————-

    …creating destination directory: /Users/myUser/Library/Developer/Xcode/Templates/cocos2d v2.x/
    …copying cocos2d files
    …copying CocosDenshion files
    …copying CocosDenshionExtras files
    …copying Kazmath files
    …copying template files
    done!

    Installing Xcode 4 Chipmunk iOS template
    —————————————————-

    …copying Chipmunk files
    done!

    Installing Xcode 4 Box2d iOS template
    —————————————————-

    …copying Box2d files
    done!

    Installing Xcode 4 CCNode file templates…
    —————————————————-

    …creating destination directory: /Users/myUser/Library/Developer/Xcode/Templates/File Templates/cocos2d v2.x/
    done!

    This my system setup:
    xCode Version: 4.6.1 (4H512)
    Mac OS X Versione: 10.7.5 – Build 11G63

    Thank you for help

  • Hi guys,

    In case you run into the problem with the permission denied errors like
    mkdir: /Users/xxx/Library/Developer/Xcode/Templates/cocos2d v2.x/lib_chipmunk.xctemplate/libs/: Permission denied

    after
    $ /install-templates.sh -f

    you have to remove old cocos2d templates and fix the permissions
    $ sudo rm -rf /Users/xxx/Library/Developer/Xcode/Templates/cocos2d*
    $ sudo chmod -R 777 /Users/xxx/Library/Developer/Xcode/Templates
    $ /install-templates.sh -f

    Nasty but it works!

    Cheers
    Chrigu

  • @riq, you should add a few small “Made with cocos2d” graphics/badges to this page, that people can easily throw on their website or in an about panel in the game.

Leave a Reply




Social Widgets powered by AB-WebLog.com.