Developers Manual > Cocos2d-x > Getting Started with Cocos2d-x > How to run cpp-tests on iOS

How to run cpp-tests on iOS

Environment Requirements

Run

  • Enter cocos2d-x/build and open cocos2d_tests.xcodeproj
  • Choose cpp-tests iOS from drop-down box:

    select project

  • Click run to compile and run cpp-tests sample:

    select run button

  • Running:

    run

  • Click stop to exit the sample:

    stop

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.

run.png (98.3 kB) owen, 2014-04-01 09:23

select_project.png (179.1 kB) owen, 2014-04-01 09:23

select_run.png (37.1 kB) owen, 2014-04-01 09:23

select_stop.png (38.1 kB) owen, 2014-04-01 09:23

run.png (98.3 kB) owen, 2014-04-01 09:23

select_project.png (179.1 kB) owen, 2014-04-01 09:23

select_run.png (37.1 kB) owen, 2014-04-01 09:23

select_stop.png (38.1 kB) owen, 2014-04-01 09:23

Sign up for our newsletter to keep up with the latest developments, releases and updates for Cocos2d-x.