How to run tests of cocos2d-x on iPhone Emulator¶
This document describes how to run other tests on iphone simulator.
Download Source Code¶
Download the source code from github. The address is:
After downloading finished, you may find a folder named tests/test.iphone.
Get into the folder and double click test.iphone.xcodeproj. Now you can browse
the code in Xcode. Build and run it, you will get the result.
The "HelloWorld" sample code is fully tested in the enviroments below:
machie name: Mac mini
operation system: Mac OS X 10.6.4
CPU: Intel Core 2 Duo
Xcode version: 3.2.4
iOS SDK: 4.1 & 3.2
The sample code is built on both iOS SDK 4.1 and 3.2.
I think it can work in other SDK versions, but not quite sure about it.
If you have any questions, please post a thread to Our Forum to let me know.