Book Image

Learning iPhone Game Development with Cocos2D 3.0

By : Kirill Muzykov
Book Image

Learning iPhone Game Development with Cocos2D 3.0

By: Kirill Muzykov

Overview of this book

Table of Contents (19 chapters)
Learning iPhone Game Development with Cocos2D 3.0
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – running the project on the simulator


The project generated using Cocos2D already contains some code that we can see in action, so let's make sure that Xcode is targeting the simulator and run the project, before making any changes. To do this, perform the following steps:

  1. Switch to Xcode and take a look at the top-left corner of the Xcode window, as shown in the following screenshot:

  2. Click on the iPhone label marked with the black square as shown in the previous screenshot. It will open a drop-down list similar to what is shown in the following screenshot:

  3. Here, we can see the different simulators we can run our project on. Let's select iOS 7.1 by navigating to iPhone Retina (4-inch) | iOS 7.1 and click on the Run button (command + R).

    Note

    If you don't see some of the simulator versions in this drop-down list, you just don't have them installed. To install additional simulators, navigate to Xcode | Preferences and select the Downloads tab in the opened dialog.

    It will take some...