Stages of iOS Development


The iPhone and iPad mobile platform is immensely popular, and you can use the Game Closure DevKit to target your HTML5 games to run smoothly on these mobile devices. This is a high-level view of the progression for iOS game development using the Game Closure DevKit.

For iOS development you will need to get an Apple Developer account, which Apple $99/year. This gives you access to Apple’s Developer web portal, which allows you to manage provisioning profiles. For more detail, follow the links below.

1. Web Development

Test your code, art, and sound assets entirely in a web browser simulating a mobile device. Quickly iterate using the Game Closure DevKit web interface without doing any setup required for building on the mobile device.

Investigate coding errors, step through running code, pause execution, and inspect code objects using the Chrome built-in Web Inspector as with normal HTML5 game development. Improve performance by finding code hot-spots with the CPU Profiler to target optimization. Hunt down memory leaks using the Heap Profiler to identify object pile-ups.

DevKit Device Emulator.

For more information see the basic DevKit guides.

2. Building

Use the command-line tools from the Game Closure DevKit to build your game code into an Xcode project. The full list of command-line arguments can be brought up by running devkit build native-ios --help.

iOS Build in Terminal.

Build your game to a device connected via an Apple USB cable. Note that the iPhone 4 and 5 use different data cables. Using the SDK build tools, you will create an Xcode project containing your code, art, splash screens, icons, and sound assets. Console logs will be visible in Xcode while it is running.

iOS Build in Xcode.

At this stage the mobile device no longer needs to be tethered to your computer and you can show off your game!

Note: You may test your in-app purchases using an Apple test account created through the Apple Developer website.

3. Group Testing

Build your game to an IPA file that can be distributed using TestFlight if you so choose. Testers signed up with TestFlight can use your app all over the world on their mobile Apple devices.

For a guide on how to use TestFlight with the Game Closure DevKit, click here.

4. Deployment

The same IPA file use for group testing will be uploaded to the iTunes Connect website for release. Please see our iOS build guide on how to create an .IPA file for release (or for testing).