ios inHouse 發布應用

來源:互聯網
上載者:User

標籤:inhouse   無線發布   企業部署   企業發布   air wireless   

一、明確幾個概念

1、企業版IDP: 即iOS Development Enterprise Program。注意是$299/Year那種,並不是$99/Year的那種

     2、In House:是指企業內發布,僅限企業內部人員使用。

二、In-House 特點:

1、不能發布到AppleStore進行銷售

            2、不需要Apple評審  

        3、可以使用任何一支的私人API   

        4、可以安裝到任何蘋果裝置上,無需任何簽名和認證

        5、使用者安裝只要一個ipa檔案,無需認證和簽名檔案

三、認證的產生過程

1、產生開發和發布認證(cer 檔案),和$99帳號一樣

2、建立App ID,和$99帳號一樣

3、建立開發mobileprovision檔案,和$99帳號一樣

4、建立發布(in-house)mobileprovision檔案,這個如和$99帳號不同。AdHoc的發布方式和$99是一樣的,這裡我們選擇的In House

5、把剛剛產生的認證和簽名檔案都安裝後,就可以開始我們的發布了。

四、In-House打包

簡單過程:Product-->Archive-->(Validate、Submit、Export) Export-->Save for Enterprise Deployment 點擊Next,選擇對應的企業認證後點擊Export 即可成功。(Xcode 6以下ipa 和 plist 同時產生,Xcode6以上 只產生ipa,可copy之前的plist 修改即可)。 

五、企業網頁伺服器分發

1、按照三、四 步驟 建立ipa 和 plist ,把打包的ipa 放到伺服器上,ios裝置通過訪問網址,即可安裝

2、建立web頁面 (注意:ios7 plist 之前的版本用http,但ios7之後必須使用https)

    <!DOCTYPE html>      <html>      <head>              <meta http-equiv="Content-Type" content="text/html; charset=gb2312">              <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">點擊下面表徵圖下載 XXX-App</div>             <div class="step">              <table><tr>                      <td class="instructions">安裝IOS<br />XXX-App</td>                      <td width="24" class="arrow">→</td>                      <td width="72" class="imagelink">                              <a href="itms-services://?action=download-manifest&url=https://www.xxx.com/TestInHouse/raw/master/xxx-app.plist">                                      <img src="icon.png" height="72" width="72" />                               </a>                      </td>              </tr></table>  <table><tr>                      <td class="instructions">安裝Android<br />作業盒子XXX-App</td>                      <td width="24" class="arrow">→</td>                      <td width="72" class="imagelink">                              <a href="http://www.xxx.com/xxx.apk">                                      <img src="icon.png" height="72" width="72" />                               </a>                      </td>              </tr></table>      </div>      <script>function isWeiXin(){var ua = window.navigator.userAgent.toLowerCase();if(ua.match(/MicroMessenger/i) == 'micromessenger'){return true;}else{return false;}} if (isWeiXin()) {alert("請用瀏覽器開啟!");}</script>    </body>      </html>  

3、部署和測試 在手機上輸入指定的網址,即可實現安裝。

plist 檔案如下:

plist 外站連結可選擇: https://git.oschina.net,, 通過建立項目-->點+ 填入檔案名稱-->把plist檔案拷貝到內容區-->提交 即可.



遇到問題參考:

1、http://blog.csdn.net/zhaoxy_thu/article/details/17277527

2、http://stackoverflow.com/questions/20276907/enterprise-app-deployment-doesnt-work-on-ios-7-1/22767699#22767699

3、https://laoyur.com/?p=414

4、http://blog.csdn.net/zhaoxy_thu/article/details/21133399

5、http://www.2cto.com/kf/201312/264286.html

6、http://stackoverflow.com/questions/20276907/enterprise-app-deployment-doesnt-work-on-ios-7-1/22367111#22367111

7、http://www.cnblogs.com/zzy0471/p/3658572.html

ios inHouse 發布應用

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.