Development-time app distribution

So you want to know how to distribute your native iPhone test app? It’s much easier than emailing updated versions to testers, if you can simply have the app online all the time. And having newer versions published when they become built is an added convenience.

First, it does not require an enterprise developer account with apple.

Second, it does require having an active web server somewhere, or at minimal a hosting account.

The basic process is quite easy, in fact.

I am using Xcode 4.3.1 at the time of this post.

Tis is all dependent on the the app using a provisioning profile which includes the device udid number for those individuals who are testing or previewing.

When a sample or project app is working, and you want to have it available, follow these steps:

  1. select the device target for the app to iOS device, not iOS simulator
  2. click Archive within the Product menu
  3. … The Organizer window will appear, showing you the Archives content
  4. select the app on the left side, and then the specific archive file you’ve just created, on the right side
  5. now here’s the bit of a roller coaster… Press the Distribute button
  6. a drop-down view will appear with three options:
    • Submit to the iOS App Store
    • Save for Enterprise or Ad-Hoc Deployment
    • Export as Xcode Archive
  7. select the save for enterprise or ad-hoc deployment option and then click next
  8. Choose the identity to sign with: ensure the appropriate code signing identity for this app is in the box
  9. …click next
  10. enter in the save info:
    1. ideally, you should out the date and/or build number into the file name beside “Save As:” including the extension “.ipa”
    2. figured out where you want the final results to be stored on your computer, and navigate to that folder, like you’ve probably done a thousand times before
    3. ensure the check box for “Save for Enterprise Distribution” is CHECKED
    4. add in the final text URL of the Internet address where you plan to upload the ipa file… I use a dedicated sub folder on the web site for these test apps.
    5. give the app a title for when the user attempts to download it
    6. the subtitle, large and small images are unnecessary but a nice thing to have, sometime
    7. click save, then use Finder to access the folder where you saved the ipa. You will see two files, with the same basic file names, with extension .ipa and the other is .plist.
  11. upload these two files, and later add a link to the plist file from a website.
  12. upload any updates to the website that may link to the plist file, etc.
  13. send out a message to all interested people that a new version of the app is online

 

(Forgive any typos herein, I typed this on the iPad WordPress app, and it leaves much to be desired… no spell checking for a start).

 


This entry was posted in Technology and tagged , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *