Reputation: 1423
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.
Upvotes: 33
Views: 60109
Reputation: 41
I'm using xCode 7.2 and have just exported an .api .ipa file to upload to Diawi to share the app with my friends. So here is how I did it:
Hope this would help!
Upvotes: 3
Reputation: 36447
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 fileUpvotes: 6
Reputation: 11114
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".
Upvotes: 2
Reputation: 777
Upvotes: 28
Reputation: 1650
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.
Upvotes: 10
Reputation: 26390
The one suggested by @heinklein is the easiest way but another option is to do the following.
- Add necessary profiles and adjust build settings.
- Set device as target to run the application.
- Build the product.
- Go to Products->yourAppName.app. Right click and show in finder.
- Drag & drop to itunes profile and binary file.
- Select app in iTunes and right click to show in Finder. And there you can get the .ipa file.
Upvotes: 24
Reputation: 1878
As 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.
Upvotes: 5
Reputation: 557
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.
Upvotes: 7
Reputation: 111
Upvotes: 4