ProgrammingGuide > Installations > Mac OSX Installation and Setup

Mac OSX Installation and Setup

version: Cocos2d-x v3.x
update: Updated almost 2 years ago

Environment Requirements


  • Download cocos2d-x and unzip it. (maybe: ~/). Right click on the .zip file and unzip it:

  • After unzipping you should have a folder structure similar to:

Build and Run

  • Enter cocos2d-x/build and open cocos2d_tests.xcodeproj
  • Choose cpp-tests Mac from targets drop-down box
  • Click run to compile and run cpp-tests

Running on an IOS Device

  • In order to run on IOS Device an IOS Developer Program membership is needed. You can purchase one from Apple: The steps to run on iOS device are the same as running in a simulator except you select you device from the device list.

contents.png (44.6 kB), 2014-12-03 04:51

unzip.png (44.2 kB), 2014-12-03 04:51

unzipping.png (25 kB), 2014-12-03 04:51

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.