Book Image

Flash iOS Apps Cookbook

By : Christopher Caleb
Book Image

Flash iOS Apps Cookbook

By: Christopher Caleb

Overview of this book

The latest version of Flash Professional can directly target iOS, allowing Flash developers to write applications that will run natively on Apple's iPhone, iPad, and iPod touch. What's more, with Apple loosening its restrictions on third-party technologies, apps written in Flash can now be sold and distributed within the App Store.Flash iOS Apps Cookbook provides the recipes required to build native iOS apps using your existing knowledge of the Flash platform. Whether you want to create something new or simply convert an existing Flash project, the relevant steps and techniques will be covered, helping you achieve your goal.Learn how to configure and use Flash Professional for iOS development by writing and deploying a simple app to a device. Implement many iOS-specific features such a multi-touch, the virtual keyboard, camera support, screen orientation and the Retina display. Overcome the limitations of mobile development by mastering hardware acceleration and optimization. Whether you're an enthusiast or professional developer, the Flash iOS Apps Cookbook is your toolkit to creating high-quality content for iPhone, iPad and iPod touch.
Table of Contents (21 chapters)
Flash iOS Apps Cookbook
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Index

Generating a Certificate Signing Request using Mac OS X


A development certificate is used to identify a developer for the purpose of installing and testing apps on iOS devices. Without one you can't publish native iOS apps from Flash Professional. You obtain a development certificate from Apple's iOS Provisioning Portal but to do that you must first generate a Certificate Signing Request (CSR) file.

The process for generating a CSR differs depending on your choice of operating system.

The steps for Mac OS X are covered here. If you are using Microsoft Windows then refer to the Generating a Certificate Signing Request using Windows recipe.

How to do it...

Follow the steps to generate a CSR:

  1. Launch the Keychain Access application from the Applications/Utilities folder.

  2. Once opened, select Preferences from the Keychain Access (Cmd + ,) menu.

  3. From the Preferences dialog box, click on the Certificates tab and ensure that both Online Certificate Status Protocol (OCSP) and Certificate Revocation List (CRL) are set to Off. Close the dialog box.

  4. On the Keychain Access menu select Certificate Assistant | Request a Certificate from a Certificate Authority.

  5. The Certificate Assistant dialog box will appear where you can enter your personal information. In the text fields provided, enter the e-mail address and name you enrolled within the iOS Developer Program. Leave the CA Email Address field blank and click on the Save to disk radio button. Now click on Continue.

  6. When asked, select to save the certificate to your desktop.

A CSR file named CertificateSigningRequest.certSigningRequest will be created and saved on disk.

How it works...

You now have a CSR file that contains your personal information (your name and e-mail address) and will be used to request a development certificate from Apple.

When the CSR file was created, the Keychain Access application also created a public and private key. The public key is included within the CSR file while the private key is used to sign the request. Using Keychain Access you can see both keys listed within the Keys category.

Don't delete your CSR file or the private key as they both will be required later in this chapter.

See also

  • Obtaining your development certificate