Tuesday 11 December 2012

Creating iPA file using XCode 4.2 & 4.3.2

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.

Creating ipa using Xcode 01

Step 02. From Xcode, Go to window menu >> Click on Organizer. Or Press Cmd + Shift + 2

Creating ipa using Xcode 02

Step 03. In Organizer window, switch to Devices Section.

Creating ipa using Xcode 03

Step 04. From the Left Group Tree in Devices Section, Click on Provisioning Profiles Under Library group.

Creating ipa using Xcode 04

Step 05. Click check on – for ‘Automatic Device Provisioning’.

Creating ipa using Xcode 05

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.

Creating ipa using Xcode 06

Step 07. Now ensure the iOS Provisioning profiles downloaded automatically from iOS Provisioning Portal.

Creating ipa using Xcode 05

Step 08. Close the Organizer & Click on the Project Name for Project & Product Settings.

Creating ipa using Xcode 07

Step 09. Select appropriate Profile. Set same settings for both product & project.

Creating ipa using Xcode 08

Step 10. Now Select iOS Device from the list of targets.

Creating ipa using Xcode 09

Step 11. Go to Product menu & Click on Archive.

Creating ipa using Xcode 10

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.

Creating ipa using Xcode 11

Step 15. Select your Archive & click on Share.
Step 16. Select iPA option & select appropriate Provisioning profile from Identity combo-box.

Creating ipa using Xcode 12

Step 17. Click on next & save it on desired location.

Creating ipa using Xcode 13

Steps For Xcode 4.3
Step 18. Switch to archive tab & select your Archive.

Creating ipa using Xcode 14

Step 19. Click on Distribute button.

Creating ipa using Xcode 15

Step 20. Click on Enterprise ad-hoc deployment & Click on next.

Creating ipa using Xcode 16

Step 21. Select Code Signing Identity & save ipa on desired location.

Creating ipa using Xcode 13

No comments:

Post a Comment