There are several Xcode projects in the distribution folder and one is particularly interesting to us. It is called cocos2d-tests-ios.xcodeproj
. We're going to open this project and run it. Refer to the following steps:
Go ahead and open the
cocos2d-tests-ios.xcodeproj
project in Xcode.After the project is loaded, open a list of its targets, as shown in the following screenshot:
Select the cocos2d-tests-ios target to run on iPhone Retina (4-inch) using iOS 7.1 (or any other simulator or even your device), as shown in the following screenshot:
Now run the project. You should see a list of tests you can run. Select different tests and use arrows in the bottom corners to review different test variations.