在線安裝ipa,超鏈接下載ipa
阿新 • • 發佈:2018-07-11
.com 配置文件 ios應用 utf-8 無線 dict 針對 瀏覽器 property
在線安裝ipa包其實是OTA實現,先粘一下OTA解釋
OTA
OTA即Over-the-Air,簡單來說就是通過無線的方式發送指令給設備,具體針對iOS的設備,比如iphone 、ipad等,讓開發者能夠脫離Appstore,實現從自己的服務器下載並安裝iOS應用。 用戶只需要在iphone 或ipad的瀏覽器中點開一條鏈接,就能直接在主界面中安裝App。整個分發的過程包括三部分:設備(iPhone,ipad),服務器(profile service,用來發送配置文件),驗證服務器(包括CA和目錄服務器)
在線安裝ipa需要的東西:
1、plist文件 用來說明app的安裝信息,app的包名,ipa存放路徑
2、一個https方式訪問的鏈接通過itms-services協議鏈接指向https訪問plist文件
itms-services://?action=download-manifest&url=https://192.168.0.106/appipa.plist
3、打包好的ipa文件
將打包後的ipd文件上傳,存放的路徑寫入plist文件
appidp.plist文件格式:
<?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>
上面僅支持企業證書打包類型
在線安裝ipa,超鏈接下載ipa