How to run cpp-tests on iOS

来源:互联网 发布:做网络销售公司好做吗 编辑:程序博客网 时间:2024/04/30 06:54

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 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

0 0