Alfred Angkasa
Alfred Angkasa

Reputation: 1401

How to create a IPA file?

How to create an IPA file? Do I need to connect my device?

I followed [this link][1]. But I still failed.. Now I can build my apps, but whenever I click product->archive.

UPDATE : finally solved. I just change from distribution to developer.

thanks to all of you guys, specially LithuThiruvathira. Thanks for your patient for telling me which one is wrong and have me to try. thanks.

Upvotes: 1

Views: 2252

Answers (3)

MMMM
MMMM

Reputation: 1317

First of all, you need a valid provisioning profile + certificate + signature for the certificate. You should setup your project as if you would run the app on a device or simulator.

I recommend to make a clean before making the ipa (command + shift + k). Then disconnect any devices, select the "iOS Device" from the simulator/device list. Open from the menu Product/Archive and wait until the X Code finishes making the archive. After this will appear a new window, press "Share...", and you should select the certificate that belongs to the provisioning profile (and be sure the 'iOS App Store Package (ipa) is selected). Press next. Will appear another window, you should enter here the title of the app. When I'm making in-house builds, usually I check the "Save for Enterprise Distribution" box, and complete the ipa file's path at the "Application URL" and add again the "Title" of the app. Press save, and you are ready!

Upvotes: 1

Mahendra
Mahendra

Reputation: 425

First you download your certificate and provisioning profile then double click on both. after this open your project in xcode then change the Bundle Identifier to the provisioning profiles identifier. now it works fine.

Upvotes: 1

Dinesh Kaushik
Dinesh Kaushik

Reputation: 2987

http://www.raywenderlich.com/8003/how-to-submit-your-app-to-apple-from-no-account-to-app-store-part-1

http://www.raywenderlich.com/2012/01/30/how-to-submit-your-app-to-apple-from-no-account-to-app-store-part-2/

Follow the steps In this tutorial you will get the step by step procedure to create correct provisioning profile and every other thing

After following this tutorial Go to Products ->Archive

Upvotes: 2

Related Questions