In this post, I am going to describe ‘How to create iPA file using XCode?’
iPA file means iPhone Application. iPA files are generally used for Ad-Hoc distribution.
Step 1. Open your code Project.
Step 02. From Xcode, Go to window menu >> Click on Organizer. Or Press Cmd + Shift + 2
Step 03. In Organizer window, switch to Devices Section.
Step 04. From the Left Group Tree in Devices Section, Click on Provisioning Profiles Under Library group.
Step 05. Click check on – for ‘Automatic Device Provisioning’.
Step 06. Click on Refresh button (if one click doesn’t work, click second time. In my case I click it two times ) & then login Screen will appear as follows. Enter your iOS Developer Account Credentials.
Step 07. Now ensure the iOS Provisioning profiles downloaded automatically from iOS Provisioning Portal.
Step 08. Close the Organizer & Click on the Project Name for Project & Product Settings.
Step 09. Select appropriate Profile. Set same settings for both product & project.
Step 10. Now Select iOS Device from the list of targets.
Step 11. Go to Product menu & Click on Archive.
Step 12. Preparing Archive takes time. Hold on, stay calm as It is matter of few seconds :)
Step 13. If you are using Xcode 4.2 use from step-14 to step-17. If you are using Xcode 4.3 use from step-18 & step-21.
Step 14. Open Organizer & switch to Archive Section.
Step 15. Select your Archive & click on Share.
Step 16. Select iPA option & select appropriate Provisioning profile from Identity combo-box.
Step 17. Click on next & save it on desired location.
Steps For Xcode 4.3
Step 18. Switch to archive tab & select your Archive.
Step 19. Click on Distribute button.
Step 20. Click on Enterprise ad-hoc deployment & Click on next.
Step 21. Select Code Signing Identity & save ipa on desired location.
No comments:
Post a Comment