How to Run Cpp-tests on Mac OSX
Environmental Requirements
- Mac OS X 10.8 or above(the version this article used is 10.9)
- Xcode 4.6.2 or above(the version this article used is 5.0.1.On the https://developer.apple.com/downloads/index.action, you can find different versions of Xcode)
Run
-
Enter
cocos2d-x/build
and opencocos2d_tests.xcodeproj
-
Choose
cpp-tests
Mac from drop-down box: -
Click
run
to compile and runTest cpp
sample:
Running:
- Click stop to exit the sample: