How can I create a ipa file for my iOS application?
I have written the complete code for my iPhone app and now I\'d like to make .ipa file.
Sometimes it may happen that Xcode Archiver fails to generate ipa file. Then here is the another option.
Thats it.
Reverse procedure is used to retrieve the app file from an ipa file.
Hope this answer helps.
Using Archive process with Xcode 9.0
Product
-> Clean
(cmd + shift + k
)Product
-> Archive
Organizer window
Export
button present on right sideNext
buttonNext
buttonAutomatically manage signing
) and click on Next
buttonExport
.Export
.IPA
, packaging.log, DistributionSummary.plist and ExportOptions.plist fileAs of Xcode 4.3, there is no option of Share in organizer. You need to select distribute and then select the option for save as enterprise or adhoc application.
Hope it helps someone: if you are kicked out of organiser this is how to re-open it. From there you can compile ipa file as recommended. AD Hoc is for sharing ipa by email and you need to archive for "Generic iOS device".
Stepwise Procedure to create an IPA file,
1.First of all,choose your device as IOS Device in Scheme near Breakpoint tab in Xcode.
2.In Xcode menu,Product->Clean and 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 Organiser 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.Now you can run your App IPA file in your device.