Book Image

Sparrow iOS Game Framework Beginner's Guide

By : Johannes Stein
Book Image

Sparrow iOS Game Framework Beginner's Guide

By: Johannes Stein

Overview of this book

Table of Contents (20 chapters)
Sparrow iOS Game Framework Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Afterword
Index

Time for action – running the template on the actual device


To run the template on the actual device, follow these steps:

  1. Open the Xcode settings through Xcode at the top menu bar and then click on Preferences….

  2. Navigate to Accounts.

  3. Click on the plus icon to add a new account.

  4. Select Add Apple ID… from the menu.

  5. Enter the required credentials and confirm by clicking on Add.

  6. Connect your device to your Mac.

  7. Open the Xcode organizer by going to Window | Organizer to check whether the device has been successfully detected.

  8. Select the device from the menu by clicking on the application name and selecting the correct device.

  9. Run the project by hitting the play button.

What just happened?

We connected a device to our Mac, and set the build configuration to the device so that the application would run on the device instead of the simulator.

As expected, the red rectangle should be successfully displayed on the device as it did on the simulator.