`
shappy1978
  • 浏览: 704485 次
  • 性别: Icon_minigender_1
  • 来自: 广州
社区版块
存档分类
最新评论

Distribute ipa OTA

 
阅读更多

* Hyper link in download page is itms-services://?actiondownload-manifest&url=http://xxx

* Https protocal is not allow in download url and plist url, it will raise an error that xxx cannot be download(or connected?). If the download page the OTA package r in the same server, use http protocal instead, trust me , it will work.

 

//************************************************************************************

How to Distribute your iOS Apps Over the AirJanuary 21, 2011 12:24pm GMT-0800

Over-the-air installation prompt

We've been using Apple's Wireless distribution method for sending out beta invites of Geoloqi. It's a much easier process for our beta testers than syncing with iTunes to install the app! They just click on a link from their phones, and they can download the app immediately!

How, you ask? Apple has made this possible since iOS 4.0, but not many developers have noticed it's available. TestFlight has make a great wrapper on top of this functionality, but it's possible to do it without using TestFlight too! How to set up Ad Hoc distribution

Build and Archive

First, build and archive your application from XCode. Make sure you've selected the Developer provisioning profile when building your app. This must pass code-signing verification or people will get an error when trying to install.

Archived Applications

|center

Open Organizer if it's not already open. Select your archived application, then click "Share." The next step is slightly misleading. Choose "Distribute for Enterprise" here, even if you don't have an enterprise account! Make sure you select the same provisioning profile you signed the app with!

Choose Developer Identity

Creating signed archive

This is the critical step. At this point, XCode is bundling the provisioning profile into the IPA archive so that your users only have to download '''one file!''' No need to have them install the provisioning profile separately, since it will be included in the app archive!

Next you'll need to fill out the form that appears. XCode uses this info to create a .plist file. If you're comfortable editing the .plist file directly, you can do that instead.

App Details

ipa and plist files

At this point, XCode prompts you to save the files to a folder. You'll end up with two files, a .plist and an .ipa file. Now comes the easy part!

You just need to create a web page with a link to the .plist file using the special itms-services:// protocol. This might look something like the code below.

<a href="itms-services://?actiondownload-manifest&amp;url=http://loqi.me/app/Geoloqi.plist">
  Download Geoloqi
</a>

Installation Prompt

When someone clicks the link from their iPhone, they'll get a prompt that says "loqi.me would like to install Geoloqi." Clicking "Install" will then immediately download and install the provisioning profile and the app!

Note: This is not going to get you around the 100-device limit that Apple imposes. You'll still need to get your beta testers' UDIDs from them and upload them to the Provisioning Portal.

You can pretty up the download page like we have done to make it look like more than just a plaintext link. Here's some HTML and CSS to get you started making your own mobile installation page.

<!DOCTYPE html>
<html>
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> 
  <title>Install Geoloqi</title>
  <style type="text/css">
    body {
      background: url(bkg.png) repeat #c5ccd4;
      font-family: Helvetica, arial, sans-serif;
    }
    .congrats {
      font-size: 16pt;
      padding: 6px;
      text-align: center;
    }
    .step {
      background: white;
      border: 1px #ccc solid;
      border-radius: 14px;
      padding: 4px 10px;
      margin: 10px 0;
    }
    .instructions {
      font-size: 10pt;
    }
    .arrow {
      font-size: 15pt;
    }
    table {
      width: 100%;
    }
  </style>
</head>
<body>

<div class="congrats">Congrats! You've been invited to the beta of Geoloqi.</div>

<div class="step">
  <table><tr>
    <td class="instructions">Install the<br />Geoloqi app</td>
    <td width="24" class="arrow">&rarr;</td>
    <td width="57" class="imagelink">
      <a href="itms-services://?actiondownload-manifest&url=http://loqi.me/app/Geoloqi.plist">
        <img src="geoloqi-icon.png" height="57" width="57" />
      </a>
    </td>
  </tr></table>
</div>

</body>
</html>

Here is the background graphic I used on the installation web page. Feel free to use it on your own pages.

 

分享到:
评论

相关推荐

    distribute

    【标题】:“distribute”是Python的一个包管理工具,它在早期被广泛使用,用于替代setuptools。在Python的生态系统中,包管理是至关重要的,因为它使得开发者能够方便地安装、发布和管理软件包。 【描述】:...

    distribute_setup.zip

    在这个场景下,我们需要先对`distribute_setup.zip`进行解压缩操作,然后将解压出来的`distribute_setup.py`文件移动到Python的Lib目录下。下面我们将详细探讨这个过程以及相关的Python环境配置和库安装知识。 首先...

    xcode打包IPA上传App Store图文教程

    - 完成归档后,使用 Xcode 的“Distribute App”功能来导出 IPA 文件。 - 选择“iOS App Store”作为分发方式,并按照提示完成 IPA 文件的创建。 #### 五、在 iTunes Connect 创建 App 1. **登录 iTunes Connect...

    distribute-0.7.3,flup3-master

    python3下运行django1,6不能运行提示需要安装flup,但是flup1.02不能安装在python3下的,需要安装flup3-master,安装flup3-master需要先安装distribute-0.7.3

    distribute-list (控制路由表中的信息)

    distribute-list(控制路由表中的信息) distribute-list 是一种路由控制机制,用于控制路由表中的信息。其主要作用是控制路由信息的传递和接受。 在距离矢量协议(RIP、EIGRP)中,distribute-list 可以在协议...

    distribute_setup.py

    distribute_setup.py

    iOS企业开发In House ipa发布流程

    在弹出的 Orgnizer 中选择刚刚生成的 Archive(默认选中),再选择右上角的 Distribute。选择 Save for Enterprise or Ad Hoc Deployment。选择刚刚创建的 Profile。在弹出的保存框中将“Save for Enterprise ...

    ios包.app转.ipa格式

    xcode打包输处为.app格式,企业签名需要为.ipa格式。此脚本distribute_ipa.sh能将.app格式转为.ipa格式。

    IOS后台证书配置步骤 Xcode中的配置 导出ipa 免证书真机测试 demo

    - 在Organizer窗口中,选择你的Archives,点击Export...,选择"Save for Enterprise or Ad-Hoc Deployment"或"Distribute App",按照提示完成导出。 4. **免证书真机测试**: - 对于开发者而言,使用_unsigned_ ...

    distribute-0.6.49.tar.gz-python

    标题 "distribute-0.6.49.tar.gz-python" 提到的是一个针对 Python 的软件分发工具,名为 "distribute",版本号为 0.6.49。这个软件包采用常见的压缩格式 ".tar.gz" 进行打包,方便用户下载后进行安装。描述中的 ...

    Python爬虫示例之distribute-crawler-master.zip

    Python爬虫示例之distribute_crawler-master.Python爬虫示例之distribute_crawler-master.Python爬虫示例之distribute_crawler-master.Python爬虫示例之distribute_crawler-master.Python爬虫示例之distribute_...

    Distribute safety 软件包

    在这个专题中,我们将会深入探讨如何利用"STEP7 Distribute safety"这一专业工具来确保工业设备的安全运行。 首先,故障安全型CPU是西门子SIMATIC系列中的一个重要组成部分,其设计目标是能够在发生故障时,自动...

    redis_distribute_lock.rar

    本示例“redis_distribute_lock.rar”是关于如何利用Redis来实现分布式锁的一个实际应用,它结合了Spring Boot框架,以演示在多线程环境下如何确保库存扣减操作的正确性。 首先,我们需要了解Redis。Redis是一款高...

    python26-distribute-0.6.10-4.el5.src.rpm

    python26-distribute-0.6.10-4.el5.src.rpm

    Python库 | distribute-0.6.26.tar.gz

    资源分类:Python库 所属语言:Python 资源全名:distribute-0.6.26.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059

    distribute python

    标题 "distribute python" 暗示我们讨论的是 Python 的分发工具 `distribute`,这是一个用于构建、打包和分发 Python 包的工具。在 Python 的生态系统中,`distribute` 曾经是 `setuptools` 的一个分支,旨在解决 `...

    iOS开发之将自己的App打包成ipa并装入真机.docx

    - 在Organizer中选择刚刚归档的应用程序,点击“Distribute App”,然后选择“iOS App Store”作为分发方式。 - 按照提示完成ipa文件的导出。 #### 四、安装ipa文件到真机 1. **使用Xcode安装**: - 一旦ipa...

    app_distribute.rar

    此外,文件名“app_distribute”可能对应着平台的核心组件,如数据库模型、业务逻辑处理、前端展示等关键部分。通过深入研究这部分代码,开发者可以学习到如何构建一个完整的App分发系统,包括用户认证、应用上传...

    distribute_crawler-master.zip

    【标题】"distribute_crawler-master.zip" 指的是一款分布式爬虫项目的源代码压缩包,其中包含了一个名为 "distribute_crawler-master" 的主目录。这个项目旨在实现高效、可扩展的网络数据抓取,利用分布式系统的...

Global site tag (gtag.js) - Google Analytics