-
Mac OS X 10.8+
-
Cocos2d-x v3.3 https://cocos2d-x.org/download
-
Xcode 4.6.2+ https://developer.apple.com/downloads/index.action
- 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:
- Enter
cocos2d-x/build
and opencocos2d_tests.xcodeproj
- Choose
cpp-tests Mac
from targets drop-down box - Click
run
to compile and runcpp-tests
- In order to run on IOS Device an IOS Developer Program membership is needed. You can purchase one from Apple: https://developer.apple.com/programs/ios/. The steps to run on iOS device are the same as running in a simulator except you select you device from the device list.