經測試,在越獄設備上可以安裝,如果設備不越獄也想安裝,就要企業發佈權限了,可惜我沒有,所以不能測試了!
1、創建ipa及plist文件:
XCode菜單欄->Product->Archive->Distribute->Save for Enterprise or Ad-Hod Deploymemnt
點擊Next
選擇你的Code signing Identity,我選的是Team profile
點擊Next
選擇Save for Enterprise Distribution,並且填寫信息
說明:Large Image URL 與 Small Image URL 對應你的App安裝過程中的icon
點擊保存後,會生成ipa文件和plist文件。
plist文件如下:
2、創建web下載頁面
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
- </head>
- <body>
- <div align='center'>
- <a href="itms-services://?action=download-manifest&url=http://yiwenxue.cn/game/game-demo.plist">在線安裝</a>
- <div>
- </body>
- </html>
3、部署與測試
將項目ipa文件、plist文件、Large Image、Small Image、第(2)部創建的web頁面部署到服務器目錄中,IOS設備輸入http://yiwenxue.cn/game,然後點擊安裝,安裝URL根據你實際情況而定。另,有想自己親手測試一下的,可以把文件都發給我,我幫忙部署(如果和商業有關,那就免了)!僅限空閒時間!
轉載出處:http://blog.csdn.net/lizhongfu2013/article/details/9930409