Steps for using packager for iPhone (PFI)

Posted: September 25, 2010 by Natwar Garg in AIR, CS 5, iphone, Packager for iPhone
Tags: , , , ,

Steps for Adobe AIR apps(swf) to iPhone apps(ipa) using Packager for iPhone feature of Flash CS 5
I tried PFI feature and did few sample apps with successful deployment on iPhone , iPod (touch), iPad

here are the basic steps :

1. Get developer certificate (.p12) and Provisioning profile from Apple (http://developer.apple.com/devcenter/ios/index.action)

2. Make a simple helloworld AIR (desktop) app in Flash CS 5.
3. Goto the iPhone Settings dialog box : Choose File > iPhone Settings

set the following :

General tab
•Output file – output filename (yourApp.ipa).
•App name – your app name.
•Version-your app ver no.
•Aspect ratio (portrait or landscape).
•Full screen(true/false)
•Auto orientation – true/false
•Rendering – CPU/GPU/Auto
•Included files—
- SWF file (.swf)
- Application descriptor file (.xml)
- Initial screen art file (Default.png)
Deployment tab
•iPhone digital signature—set P12 certificate and the password for the certificate.
•Provisioning file—set provisioning file for this application.
•App ID – unique ID for your app.
Choose your deployment type from following :
•Quick publishing for device testing
•Quick publishing for device debugging
•Deployment – Ad Hoc (I’m using Ad Hoc option, Please note there is two kind of certificate (Adhoc and dev), you need ad hoc certificate for choosing this option)
•Deployment – Apple App Store
Icons tab
On the Icons tab, specify the location of 29 x 29-pixel, 57 x 57-pixel and the 512 x 512-pixel icon image.

6. Click Publish and wait for publishing IPA file.

7. Download latest iTunes version from Apple, run iTunes, connect your device (iPhone), put your published file (yourapp.ipa) with its provisioning profile into app section in iTunes and sync this new app with your device, wait for synchronization completion, now all done your app is deployed in your connected device :) .

Advertisement
Comments

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s