iDev: How to create .ipa file using Xcode ?

How to create .ipa file using Xcode ?

Here your answer:

First question is that which version of XCODE you are using,

Procedure for Xcode 4.3 and above : As of Xcode 4.3, there is no option of Share in organizer.

1.First of all,choose your device as IOS Device in Scheme near Breakpoint tab in Xcode.

2.In Xcode menu,Product->Clean and Product–>build your application.

3.If the provisioning certificate is not valid,it will lead to build failed with an error.If so you have to change it to a valid certificate through your project->build settings.Else if build succeeded just leave this step.

4.Then select Product->archive,it will create an archive file in Organiser->archives and open it up for you after archive finished.

5. Choose Distribute and then select the option for save as enterprise or adhoc application.

6. Saved it your .ipa file in your desktop.

if you are using XCODE  3 and above but less then xcode 4.3 then procedure are :

1.First of all,choose your device as IOS Device in Scheme near Breakpoint tab in Xcode.

2.In Xcode menu,Product->Clean and Product–>build your application.

3.If the provisioning certificate is not valid,it will lead to build failed with an error.If so you have to change it to a valid certificate through your project->build settings.Else if build succeeded just leave this step.

4.Then select Product->archive,it will create an archive file in Organiser->archives and open it up for you after archive finished.

5.choose share tab in Organizer followed by contents->.ipa and Identity->choose your valid distribution certificate and click next.

6.within a minute it will ask name for your IPA file to save.Give a name and save it in Desktop.

7.Open iTunes and drag and drop your IPA file in Library->Apps.

8.Now connect and select your Device in itunes->choose apps tab under it and sync your app ipa to the Device.It will install your IPA file to the device.

9.Thats all.

Another Way :

the easiest way but another option is to do the following.

  1. Add necessary profiles and adjust build settings.
  2. Set device as target to run the application.
  3. Build the product.
  4. Go to Products->yourAppName.app. Right click and show in finder.
  5. Drag & drop to itunes profile and binary file.
  6. Select app in iTunes and right click to show in Finder. And there you can get the .ipa file.

Now you can run your App IPA file in your device.

Keep Coding…..:)

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s