HTML and CSS Reference
Building Your App in the Cloud
When you have your app running properly in the AppLab, it's time to push it out to production. To do this you
can click the Build for App Store button on the top of the XDK bar. The process to build your app for either iOS
or Android involves a number of steps that AppMobi guides you through quite nicely.
Building for iOS in particular is a painful process that involves creating and downloading certificates and provi-
sioning profiles from the app developer portal developer.apple.com . You need a $99/year membership to join the
iOS developer program at https://developer.apple.com/programs/ios/ to complete the process. When you're done,
you have either an .ipa file for iOS or an .apk file for Android that you can install on your device to test the final
This chapter showed you how to package your HTML5 game in different ways to get it deployed in the various
app stores. It discussed creating both Hosted and Packaged Chrome Web Store apps and looked at two platforms
to create native mobile games out of your HTML5 app: CocoonJS and AppMobi. Mobile HTML5 games are
no longer just for the browser but can be deployed natively to almost any iOS or Android device. As you'll see
in the next chapter, there are a lot of cool new things coming down the pipeline, but native performance and
features will always be at least slightly ahead of what's in the browser, so packaging HTML5 games into app
stores is something that will only become more prevalent.