- Mac OS X 10.8 or above(the version this article used is 10.9)
- iOS 5.0 or newer
- 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)
-
Enter
cocos2d-x/build
and opencocos2d_tests.xcodeproj
-
Choose
cpp-tests iOS
from drop-down box: -
Click
run
to compile and runcpp-tests
sample: -
Running:
-
Click
stop
to exit the sample:
In order to run on IOS Device, IOS Developer Program is needed. The step to run on iOS device is similar to run on iOS simulator.