How to create IPA in Xcode 6? How to create IPA in Xcode 6? objective-c objective-c

How to create IPA in Xcode 6?


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.

Select Archive - The highlighted one in the image

  1. Then a new window would open up as follow and in that window select the export option

Select 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.

Select First option

UPDATE-> Select the Save to ad-hoc deployment as below

Save to ad-hoc

-> then if you have not sign with your apple developer id then below screen would pop-up

Add apple id

-> Now select add in this and provide your apple id and password in new window as shown.

apple id and password required

-> 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.

enter image description here

Step 2 :- Go to Product -> select Archive

enter image description here

Step 3 :- After complited process right click to your Archive -> and select show in Finder

enter image description here

Step 4 :- when you click on show in finder you will redirect to Archive folder, looks like this

enter image description here

Step 5 :- Right click on .xarchive file -> select Show Package Contents option.

enter image description here

Step 6 :- Go to Product Folder -> Application Folder -> You will find yourprojectname.app

enter image description here

Step 7 :- Now to convert .app to .ipa just drag and drop into itunes . check below image ,

enter image description here

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