Book Image

Corona SDK Mobile Game Development: Beginner's Guide

By : Michelle M Fernandez
Book Image

Corona SDK Mobile Game Development: Beginner's Guide

By: Michelle M Fernandez

Overview of this book

Table of Contents (19 chapters)
Corona SDK Mobile Game Development Beginner's Guide Second Edition
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – creating an iOS build


Follow these steps to create a new iOS build in Corona SDK:

  1. Open the Corona simulator and select Open.

  2. Navigate to your Hello World application and select your main.lua file.

  3. Once the application is launched in the simulator, go to the Corona Simulator menu bar and navigate to File | Build | iOS or press Command + B on your keyboard. The following dialog box will appear:

  4. Create a name for your app in the Application Name field. We can keep the same name, Hello World. In the Version field, keep the number at 1.0. In order to test the app in the Xcode simulator, select Xcode Simulator from the Build For drop-down menu. If you want to build for the device, choose Device to build an app bundle. Next, select the target device (iPhone or iPad) from the Supported Devices drop-down menu. From the Code Signing Identity drop-down menu, choose the provisioning file you created for the specified devices you are building for. It is the same name as Profile Name in the iOS Provisioning Portal on the Apple developer website. In the Save to folder section, click on Browse and choose where you would like your application to be saved.

    If all the information has been confirmed in the dialog box, click on the Build button.

Tip

It is more convenient to set your application to save on the Desktop; this way, it is easy to find.

What just happened?

Congratulations! You have now created your very first iOS application file that can be uploaded to your device. As you start developing apps for distribution, you will want to create new versions of your application so that you can keep track of the changes in every new build you make. All the information from your Provisioning Profile was created in the iOS Provisioning Portal and applied to the build. Once Corona has finished compiling the build, the application should be located in the folder you saved it under.