These are manual steps and you need to use the terminal/shell to execute the command on a Mac machine where you have your Apple Developer Certificate and Provisioning Profile installed:
Every iPhone app. has an app descriptor file which describes the app. name, version, icons, initial orientation etc. Create app.xml file for the SWF that you want to convert to iPhone app. Use the attached “Sample-app.xml” file and replace all occurrences of “Sample” with your SWF file name. Change other settings as desired.
Go to <Flash CS5 install folder>/pfi/lib and execute the following command on the terminal. Replace all occurrences of Sample with your SWF file name and also replace path to your SWF file, provisioning profile , developer certificate and certificate password appropriately.