iOS企業版app部署到自己服務器,不通過AppStore,在iOS設備上直接安裝應用程序
阿新 • • 發佈:2017-11-13
pps 所在 asset meta ict enc doc div pan
iOS企業版app部署到服務器
.正對ios升級得ios7 以後,plist文件必須放到 https得服務器上了,http不可以用了
.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://test.company.com.cn/m/moa/test.ipa</string> // 軟件安裝包,安裝包所在的服務器路徑 </dict> <dict> <key>kind</key> <string>full-size-image</string> <key>needs-shine</key> <false/> <key>url</key> <string>https://test.company.com.cn/m/abc/test-512.png</string> //在itunes上點事的圖片路徑 </dict> <dict> <key>kind</key> <string>display-image</string> <key>needs-shine</key> <false/> <key>url</key> <string>https://test.company.com.cn/m/moa/test-57.png</string> // 安裝應用顯示的圖片 </dict> </array> <key>metadata</key> <dict> <key>update-url</key> <string>https://test.company.com.me/iosLocal.plist</string> // 版本更新URL <key>bundle-identifier</key> <string>com.zte.test</string> // 應用bundle-identifier <key>bundle-version</key> <string>3.0.3</string> // 用用版本號 <key>kind</key> <string>software</string> <key>title</key> <string>ipa包部署測試</string> // 安裝應用顯示的名稱 </dict> </dict> </array> </dict> </plist>
不通過在AppStore,在IOS設備上直接安裝應用程序的原理
通過itms-services協議,在safari瀏覽器可以直接在ios設備上安裝應用程序。itms-services協議需要一個plist配置文件。
部署具體過程
準備文件:plist文件,ipa安裝包,html下載頁面
iOS企業版app部署到自己服務器,不通過AppStore,在iOS設備上直接安裝應用程序