Copy link to clipboard
Copied
Hi,
(I have posted this thread yesterday.but today I got it as deleted. So posting again.)
I m new to iphone.
I have downloaded Packager for iphone from Download Packager for iPhone - Adobe Labs on my
mac OS X 10.6.6. Also I have registred as apple developer. Those all things I have completed. Now when I m
following steps from SAP Community Network Blogs I m getting some problems.
There I need to create a xml file in my project directory, I am confused here in which project directory
means in directory where my HelloWorld.xcodeproj is located OR somewhrer else...........???
And if somewhere else then Where?
I tried with creating xml file in project directory where my .xcodeproj file located. Then, when I followed
step 2:Compiling the IPA file, agin " Open a command shell or a terminal and navigate to the project
folder of your AIR application" means where?
But here also I considered the same folder & did execute "pfi -package -target ipa-test -provisioning-profile
PROVISIONING_PROFILE_PATH SIGNING_OPTIONS HelloWorld.ipa application.xml HelloWorld.swf Default.png icons"
with my arguments on terminal. There I got error as
-bash: pfi: command not found
Please help me out..
I m not getting where I m doing wrong..
Thanks in advance.
If you don't have Flash CS5, then you may as well get Flash CS5.5. It has the AIR 2.6/ADT stuff already built into it, so then you only need to fill in the publishing settings items and do a Publish. You can get it here:
http://www.adobe.com/cfusion/tdrc/index.cfm?product=flash
Copy link to clipboard
Copied
Hi,
PFI has been deprecated, you can now create ipa with ADT tool. The syntax for packaging is same as before. You can download the AIR SDK for mac/Windows from http://www.adobe.com/products/air/sdk/. Please check out AIR 2.6 developer release notes at http://kb2.adobe.com/cps/891/cpsid_89107.html . Are you targeting iOS 3 devices? In that case, you will need to use PFI since AIR 2/6 does not support iOS3 devices.
Thanks,
Sanika
Copy link to clipboard
Copied
Thanks.....
I m targetting iOS 4.0 and onwards.
Tell me plz one more thing that is Adobe Flash CS5 in necessary?
Should I install it?
Copy link to clipboard
Copied
Yes, you need flash CS5
1. Open flash CS5 (must need) -> Help -> Updates (Complete the updates to the latest one which supports packager for iphone)
2. Download AIR 2.6 SDK (latest version which supports both packager for iphone and android)
http://www.adobe.com/products/air/sdk/
Extract it and keep the AndroidSDK folder in the c:\ folder or somewhere to your convenient
3. The packager you downloaded is the little previous version, Get the latest one from the following link:
Windows Link:
http://download.macromedia.com/pub/flash/updates/11/ios/win/PFI_WIN_2_ 0_1_12640.zip
Size: 22.8MB
Macintosh Link:
http://download.macromedia.com/pub/flash/updates/11/ios/mac/PFI_MAC_2_ 0_1_12640.zip
Size: 24.5MB
http://download.macromedia.com/pub/flash/updates/11/ios/win/PFI_WIN_2_ 0_1_12640.zip
Installation Instruction
1. Important: run the Flash Professional CS5 Update 11.0.2 by selecting Help > Updates...
2. Upon completion browse to the Flash installation folder. Typical location on Win: C:\Program Files\
Adobe\Adobe Flash CS5\, Mac: Applications/Adobe Flash CS5/
3. Rename the PFI folder to PFI_old.
4. Move the PFI folder from the extracted zip file to the Adobe Flash CS5 folder.
NOTE: If the PFI folder does not exist, it means you have selected not to install the iPhone Packager.
Uninstall Flash CS5 and run the installer again then follow the above steps.
4. To test your app with ipa-test give a try with the following batch file also have sample.xml file change according to your needs:
http://trulyraja2009.byethost12.com/GenerateIPA.zip
Copy and paste the above to the IE and download it.
Hope it helps
Copy link to clipboard
Copied
When you say air 2.6 is only compatible with ios4+, does that mean 4th generation? I.E. it will work on iphone 4 and ipod fourth generation, but not on the iphone 3 or ipod touch 3rd gen?
Copy link to clipboard
Copied
If you don't have Flash CS5, then you may as well get Flash CS5.5. It has the AIR 2.6/ADT stuff already built into it, so then you only need to fill in the publishing settings items and do a Publish. You can get it here:
http://www.adobe.com/cfusion/tdrc/index.cfm?product=flash
Copy link to clipboard
Copied
Thanks a lot guys..........
My flash apps executed on apple device successfully..!
Thank a lot once again.
-Sampada