在線安裝ipa,超連接下載ipa

在線安裝ipa包實際上是OTA實現,先粘一下OTA解釋瀏覽器

OTA

OTA即Over-the-Air,簡單來講就是經過無線的方式發送指令給設備,具體針對iOS的設備,好比iphone 、ipad等,讓開發者可以脫離Appstore,實現從本身的服務器下載並安裝iOS應用。 用戶只須要在iphone 或ipad的瀏覽器中點開一條連接,就能直接在主界面中安裝App。整個分發的過程包括三部分:設備(iPhone,ipad),服務器(profile service,用來發送配置文件),驗證服務器(包括CA和目錄服務器)服務器

 

在線安裝ipa須要的東西:
一、plist文件 用來講明app的安裝信息,app的包名,ipa存放路徑app

二、一個https方式訪問的連接經過itms-services協議連接指向https訪問plist文件iphone

  itms-services://?action=download-manifest&url=https://192.168.0.106/appipa.plistide

三、打包好的ipa文件oop

  將打包後的ipd文件上傳,存放的路徑寫入plist文件url

 

appidp.plist文件格式:spa

<?xml version="1.0" encoding="UTF-8"?>  
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">  
<plist version="1.0">  
<dict>  
    <key>items</key>  
    <array>  
        <dict>  
            <key>assets</key>  
            <array>  
                <dict>  
                    <key>kind</key>  
                    <string>software-package</string>  
                    <key>url</key>  
                    <string>https://z.moopay.cn/m/source/ipa</string>  
                </dict>  
            </array>  
            <key>metadata</key>  
            <dict>  
                <key>bundle-identifier</key>  
                <string>com.DianLe.Lezhuan</string>  
                <key>bundle-version</key>  
                <string>1.0.0</string>  
                <key>kind</key>  
                <string>software</string>  
                <key>title</key>  
                <string>快樂賺錢</string>  
            </dict>  
        </dict>  
    </array>  
</dict>  
</plist>  

 

上面僅支持企業證書打包類型code

相關文章
相關標籤/搜索