Tuesday 5 April 2016

How to generate IPA file without Provisioning profile or developers account using xcode 7 for distribution

Hi friends recently I had to build an ios accounting app for one of my client. The ios simulator is great! and by xcode 7 i was also able to test the app in real device. But after successful completion of the project I was really shocked that I had to pay $99 to generate an IPA file for distribution. The overall price that i charged from my client is only $60 and how come it be feasible to pay such a huge amount for a simple app. And finally I was able generate ipa without spending even a single dollar.


How I Generated IPA file: 
1> Connect Your Iphone to To Your Mac.
2> Open your ios Xcode project(mine is XCode 7).
3> change products-Destination to your connected device(i not connected change it to 'ios device').
4> press cmd+B to build your project.
** After Completion of Build Task you will find YourAppName.app file under the Products folder in your XCode project navigator.
5> Right click on the YourAppName.app and click on show in finder option. Finder will appear with the particular file, Just copy it.
6> Create a new folder in your desktop and rename it to Payload and paste the particular file it.
7> Compress zip the folder(Payload.zip) and rename it to Payload.ipa.
** Now You have the IPA file in your hand, and now you could distribute it to as many clients you want without any restriction.

How I Installed it in my Client's Iphone:
1> Download ifunbox in addition to iTunes
2> Connect your Device to your Computer
3> Open ifunbox, select your device, then click on install app and select the previously generated IPA file.
Done

Its Not Completed Yet! when you try to open your app in  your Iphone you will get this Untrested App Developer notification,

How to Avoid Untrested App Developer Notification:

For ios version less than 9.2:
Goto settings-general-profile, select the developer Apple Id and click on trust.

For ios version 9.2:
Goto Settings-General-Device Management and click on your Apple ID and tap on Trust option.

Thats all Now you could use your app as usual!

No comments:

Post a Comment