In my project I can not figure out how to create an IPA file. Can anyone explain, step by step, how to make IPA file in Xcode 6?
4 Answers
you could follow below:
1.Select your swiftDemo in your xcode(left-hand side as shown) Then select Product option, in which you could select Archive option.
- Then a new window would open up as follow and in that window select the export option
3.Then a pop up will come as below and select first option as you looking for apple store. So now follow as it say.
UPDATE -> Select the Save to ad-hoc deployment as below
-> then if you have not sign with your apple developer id then below screen would pop-up
-> Now select add in this and provide your apple id and password in new window as shown.
-> Rest follow as guided by xcode and finally you will have your IPA file.
-> Go with your testflight.
Don't forget to provide your provisioning profile and certificates in code-signing your build setting in xcode.
If you want to upload .ipa file to itunesconnect without integrating developer account in Xcode and you want to use application loader. then you can generate .ipa with iTunes .
Step 1 :- Select device inplace of simulator.
Step 2 :- Go to Product -> select Archive
Step 3 :- After complited process right click to your Archive -> and select show in Finder
Step 4 :- when you click on show in finder you will redirect to Archive folder, looks like this
Step 5 :- Right click on .xarchive file -> select Show Package Contents option.
Step 6 :- Go to Product Folder -> Application Folder -> You will find yourprojectname.app
Step 7 :- Now to convert .app to .ipa just drag and drop into itunes . check below image ,
Step 8 :- Now put this .ipa file in safe place and use when upload with application loader .
Note :- if you want to know how to upload app with application loader then check this ,
Upload app with application Loader
EDIT :-
WARNING :- Don't make .ipa with changing extension from .aap to .zip and .zip to .ipa.
I have seen in many answer that , they have suggest compress .app file and then change the extension from .zip to .ipa . It is not working now . By this method you will get Error like ,
IPA is invalid, it does not include a payload directory.
1. Make your application with X-Code
.
2. Run your application in simulator
.
3. Open finder, Goto -> /Library/Developer/XCode/DerivedData/<Your App Name-blahblahblah>/Build/Products/Debug-iphonesimulator
.
4. Open iTunes -> Goto Apps
.
5. Drag YourApplication.app to iTunes
.
6. Drag back your app from iTunes to finder to get YourApplication.ipa