简体   繁体   中英

How to create IPA in Xcode 6?

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?

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.

选择存档-图像中突出显示的一个

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

添加苹果ID

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

需要Apple ID和密码

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

In XCode Version 9.0 (9A235):

    1. Archive your Project
    1. Click Window->Organizer, select your archived project. Click Export
    1. Select Development (option)
    1. Click Next and Sign the App and export

This will export publish content to a location, where you can find the .ipa file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM