March 4, 2011

Steps to use Flash iPhone packager to create iPhone app. from Captivate SWF

Further to Shameer’s post on “Publish to iPhone from Captivate and eLearning Suite“, here are the next steps to generate the iPhone app. from your Captivate SWF.

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:

  1. 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.
  2. 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.

jayashree-pandeyas-macbook-pro:lib jpandeya$ java -jar pfi.jar -package -target ipa-debug -provisioning-profile ~/Downloads/CaptivateiPhoneProfile.mobileprovision -storetype pkcs12 -keystore ~/Desktop/Certificates.p12 -storepass <certificate password> ~/Documents/iPhone\ Testing/Sample.ipa ~/Documents/iPhone\ Testing/Sample-app.xml -C ~/Documents/iPhone\ Testing/ Sample.swf

Pls. be patient as it might take 3-5 minutes to generate the .ipa file.

Posted by Jayashree Pandeya2:57 PM
  • Carole Emard

    Do you have a video clip available anywhere on the Web to describe the full process on a Mac environement. What about if you do not have a MAC?

    • William Hudson

      Carole – Did you ever get an answer to this? I have the same issue with not presently owning a Mac.

    • William Hudson

      Carole – Did you ever get an answer to this? I have the same issue with not presently owning a Mac.

  • carlos Kiyan

    Indeed I am looking forward to see a demo clip

  • http://www.medicalprotection.org/elearning Adam Laird

    As i understand it the quizzing wont work under this method so all you can really do is make a slide show app? or am i wrong? is there anywhere that tells you what you can and cant do in Captivate to make an iOS enabled file?

  • Edweg

    What a lame description…

  • Loading
  • Categories

  • Archives

  • Authors

  • Recent Comments

    • Lisa M. Matthews: Hi, I am running into issues setting up multiple Text Entry Buttons. I have slide setup where users...
    • Northern Queen: Great! Helped me a lot in my current project!
    • mizan.ngbd2013: this verion is very helfull
    • Yarik: Perfect! Thanks for sharing source file, so I can discover and learn. I love Cp7 and Pn9 for everyday working....
    • Sandy Snyder: Cool! I look forward to trying something like this in one of my projects. Thanks for sharing!
  • Captivate & eLearning Videos

    Subscribe to Adobe eLearning on YouTube.

    Check out the latest eLearning Videos on AdobeTV

Recently Approved