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 – testing the In-App Purchase with the Breakout In-App Purchase Demo


Before you can test an In-App Purchase on an iOS device, make sure that you have a test user account in iTunes Connect. Also, make sure that you've created a distribution build using an ad hoc Distribution Provisioning Profile for the app to test In-App Purchase's features. If you followed all the earlier steps in this chapter, testing a purchase through the store will work accordingly:

  1. In the Corona simulator, create a distribution build of the Breakout In-App Purchase Demo. Once the build has been compiled, upload the build on your iOS device.

  2. Keep your device connected to your machine and launch Xcode. From the toolbar, go to Windows | Organizer. Once you're in Organizer, select the device that is connected in the Devices section and then select Console. This will allow you to check the console output of your device to catch debug messages from your code (that is, print statements) and any application crashes...