34

According to the apple website iOS 4 should support wireless app distribution. I have been unable to find any documentation at all on how to host your applications for users to download them over wifi/3g.

We are currently enrolled in the standard iPhone dev program, as we don't have over 500 employees. Is this limited feature limited to the enterprise program only?

User97693321
  • 3,336
  • 7
  • 45
  • 69
holz
  • 976
  • 1
  • 11
  • 21
  • 4
    I have a pretty detailed writeup of the process of doing your own over-the-air install here: http://aaronparecki.com/How_to_Distribute_your_iOS_Apps_Over_the_Air – aaronpk Aug 03 '11 at 18:19

6 Answers6

44

If you don't have an entreprise account. You won't have the unlimited or very large pool of devices you can add to your account distribution profiles. BUT, even with normal accounts you can definitely create an Ad Hoc distribution profile (limited to 100 devices) and use the Xcode 3.2.3 "Build and archive" + "Share app / Distribute for entreprise" feature. This will create a .IPA app bundle that already contains the distribution profile. All you need to do is create a web page on some server containing a link with some special scheme.

For instance: <a href="itms-services://?action=download-manifest&url=http://www.myserver.com/ota/myapp/appname.plist">Install My App over the air</a>

François P.
  • 5,166
  • 4
  • 32
  • 31
12

Found a guide on how to get wireless app distribution working. You do not need to be part of the enterprise program for this to work.

http://jeffreysambells.com/posts/2010/06/22/ios-wireless-app-distribution/

holz
  • 976
  • 1
  • 11
  • 21
  • @holzI am using Enterprise program(299$), now can you pls give me the best way that how can i publish my iPhone app with >3000 employees without using their device UDID. I have an experienced with dev program. Thanks – Anand Gautam Jan 12 '14 at 13:49
11

The official documentation is no longer tagged as pre-release (and no longer requires a dev login):

http://help.apple.com/iosdeployment-apps/#app43ad871e

JosephH
  • 37,173
  • 19
  • 130
  • 154
  • 2
    Apple has now removed the article from this link. The updated url is http://help.apple.com/iosdeployment-apps/ – Bart Sipes Jan 16 '12 at 17:21
  • @APG It's hard to recommend the best way as it depends on what limitations you have. But it's basically the same as adhoc distribution, except you use your enterprise certificate to sign. We distribute quite a lot using testflightapp.com, but that's because we use their analytics, and they're probably not a good option if you're not using their analytics. – JosephH Jan 12 '14 at 19:36
4

Hockey is a really useful project for wireless app distribution. It has all the server side ready to make it easy to distribute the apps. It also contains an iOS module that can be used to auto-update the apps.

Source here: https://github.com/TheRealKerni/HockeyKit

Dimitris
  • 13,480
  • 17
  • 74
  • 94
  • That link seems to be dead now :-( – JosephH May 24 '11 at 20:14
  • No experience with the Enterprise Programme, but have you tried TestFlight? It should have tools that will greatly help you gather the UDIDs, import them and distribute. http://testflightapp.com/ – Dimitris Jan 12 '14 at 16:51
4

Fire up Xcode and select Build -> Build and Archive. The Organiser will pop-up. Select the build you want to publish and click on the Share... button above the list. Select then the identity you want to sign your code with (usually this is the same you use for signing the code for a standard deploy on the device). Click, then, on Distribuite for Enterprise..

At this point a form will appear asking you from which URL the application should be downloaded from. Let’s suppose your website is available at www.example.com and your application (the file .ipa) is hosted at www.example.com/download/myapp.ipa, then http://www.example.com/download/myapp.ipa should go in that field. [See the update below] Fill the other fields as you wish; you can get more information about that in the Apple Documentation

Once you filled the form and clicked OK select the place where to save the generated files (ipa and plist).

Now the tricky parts comes when you have to deal with the webserver-side code. I have created a small example page below. Remember that you have to put on your website all the files: myapp.ipa, myapp.plist and myapp.mobileprovision.

<!DOCTYPE HTML>
<html>
  <head>
    <title>Install your application</title>
  </head>
  <body>
    <ul>
      <li> <a href="http://www.example.com/download/myapp.mobileprovision">Install Team Provisioning File</a></li>
      <li><a href="itms-services://?action=download-manifest&url=http%3A%2F%2Fwww.example.com%2Fdownload%2Fmyapp.plist">Install Application</a></li>
    </ul>
    </div>
  </body>
</html>

Please notice that the second href is nothing just a plain old-fashioned URL. Nothing special into that. If you are wondering about those weird %2F and %3A they are normal urlencoded symbols (for ‘/’ and ‘:’ resp.). Once you did this you are definitely done.

This answer has been taken as part of a blogpost I made in 2010. You can read the full story here

Fabiano Francesconi
  • 1,769
  • 1
  • 19
  • 35
3

More info directly from Apple at: http://developer.apple.com/iphone/library/featuredarticles/FA_Wireless_Enterprise_App_Distribution/Introduction/Introduction.html

Apple Developer account required.

Rodrigo
  • 11,909
  • 23
  • 68
  • 101
Chris Brandt
  • 948
  • 3
  • 11
  • 22
  • 1
    While this may theoretically answer the question, [it would be preferable](//meta.stackoverflow.com/q/8259) to include the essential parts of the answer here, and provide the link for reference. – Tim Dec 28 '15 at 11:38