iOS 4:内部应用的无线应用程序分发

时间:2022-06-01 21:35:00

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.

根据苹果的网站,iOS 4应该支持无线应用程序的发布。我找不到任何关于如何托管您的应用程序,让用户通过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?

我们目前加入了标准的iPhone开发项目,因为我们没有超过500名员工。这个有限的特性是否仅限于企业程序?

6 个解决方案

#1


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.

如果你没有申请的账户。您不会有无限或非常大的设备池,您可以添加到您的帐户分布配置文件。但是,即使是正常的帐户,您也可以创建一个特别的发行配置文件(仅限于100个设备),并使用Xcode 3.2.3“构建和归档”+“共享应用/分发”功能。这将创建一个. ipa应用程序包,其中已经包含分发概要文件。您所需要做的就是在某些服务器上创建一个web页面,其中包含一个与某些特殊方案的链接。

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>

例如:在air上安装我的应用

#2


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/

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

#3


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

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

#4


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.

曲棍球是一个非常有用的无线应用程序分发项目。它拥有所有的服务器端,可以轻松地分发应用程序。它还包含一个iOS模块,可以用来自动更新应用程序。

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

来源:https://github.com/TheRealKerni/HockeyKit

#5


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

启动Xcode并选择Build ->构建和归档。组织者将弹出。选择要发布的构建并单击共享……按钮上方的列表。然后选择您想要签名的代码的标识(通常这与您在设备上为标准部署签名时使用的标识相同)。那么,点击企业分布。

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

这时会出现一个表单,询问您应该从哪个URL下载应用程序。假设你的网站可以在www.example.com上找到,你的应用程序(文件。ipa)托管在www.example.com/download/myapp.ipaad上,那么http://www.example.com/download/myapp.ipa就应该进入这个领域。(参见下面的更新)按您的意愿填充其他字段;你可以在苹果的文档中获得更多的信息

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

填写完表单并单击OK后,选择保存生成文件的位置(ipa和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.

现在需要处理的是web服务器端代码。我在下面创建了一个小示例页面。记住,你必须把所有的文件都放在你的网站上:myapp。异丙醇,myapp。plist 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.

请注意,第二个href并不是一个简单的老式URL。没什么特别的。如果你想知道那些奇怪的%2F和%3A,它们是普通的urlencoding符号(表示“/”和“:”)。一旦你这样做了,你一定会成功的。

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

这个答案是我在2010年写的一篇博文的一部分。你可以在这里读整个故事

#6


3  

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

更多信息直接来自苹果:http://developer.apple.com/iphone/library/featuredarticles/fa_wireless_enterprise_app_distribution/tion/tion.html。

Apple Developer account required.

苹果开发者账户。

#1


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.

如果你没有申请的账户。您不会有无限或非常大的设备池,您可以添加到您的帐户分布配置文件。但是,即使是正常的帐户,您也可以创建一个特别的发行配置文件(仅限于100个设备),并使用Xcode 3.2.3“构建和归档”+“共享应用/分发”功能。这将创建一个. ipa应用程序包,其中已经包含分发概要文件。您所需要做的就是在某些服务器上创建一个web页面,其中包含一个与某些特殊方案的链接。

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>

例如:在air上安装我的应用

#2


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/

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

#3


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

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

#4


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.

曲棍球是一个非常有用的无线应用程序分发项目。它拥有所有的服务器端,可以轻松地分发应用程序。它还包含一个iOS模块,可以用来自动更新应用程序。

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

来源:https://github.com/TheRealKerni/HockeyKit

#5


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

启动Xcode并选择Build ->构建和归档。组织者将弹出。选择要发布的构建并单击共享……按钮上方的列表。然后选择您想要签名的代码的标识(通常这与您在设备上为标准部署签名时使用的标识相同)。那么,点击企业分布。

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

这时会出现一个表单,询问您应该从哪个URL下载应用程序。假设你的网站可以在www.example.com上找到,你的应用程序(文件。ipa)托管在www.example.com/download/myapp.ipaad上,那么http://www.example.com/download/myapp.ipa就应该进入这个领域。(参见下面的更新)按您的意愿填充其他字段;你可以在苹果的文档中获得更多的信息

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

填写完表单并单击OK后,选择保存生成文件的位置(ipa和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.

现在需要处理的是web服务器端代码。我在下面创建了一个小示例页面。记住,你必须把所有的文件都放在你的网站上:myapp。异丙醇,myapp。plist 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.

请注意,第二个href并不是一个简单的老式URL。没什么特别的。如果你想知道那些奇怪的%2F和%3A,它们是普通的urlencoding符号(表示“/”和“:”)。一旦你这样做了,你一定会成功的。

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

这个答案是我在2010年写的一篇博文的一部分。你可以在这里读整个故事

#6


3  

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

更多信息直接来自苹果:http://developer.apple.com/iphone/library/featuredarticles/fa_wireless_enterprise_app_distribution/tion/tion.html。

Apple Developer account required.

苹果开发者账户。