How to run cpp-tests on iOS
Environment Requirements
- Mac OS X 10.8+ (this article uses 10.9)
- Cocos2d-x v3.0 (https://github.com/cocos2d/cocos2d-x/)
- Xcode 4.6.2+ (the version this article used is 5.0.1. Visit the Apple Developer Website for Xcode.
- iOS 5.0+
Run
- 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:
Step For IOS Device
In order to run on IOS Device an IOS Developer Program membership is needed. The steps to run on iOS device are similar to running on the iOS simulator.