转载:http://www.cocoachina.com/bbs/read.php?tid=194062
iOS7系统 ,在线安装企业版的app失败,iOS7要求服务必须支持https协议。一种就是有支持https协议的服务器;另一种就是通过dropbox网盘共享链接来实现;利用开源中国的服务器。
不过现在dropbox被封了,用不了!
以下是通过dropbox来实现的方法:
把plist文件放到Dropbox中,并拷贝出分享链接,如:https://www.dropbox.com/s/7ps3vuk85n9wy5g/kj.plist
然后把 "www.dropbox.com" 替换成 "dl.dropboxusercontent.com" 即:https://dl.dropboxusercontent.com/s/7ps3vuk85n9wy5g/kj.plist
修改html文件中得manifest URL:
<a href="itms-services://?action=download-manifest&url=https://dl.dropboxusercontent.com/s/7ps3vuk85n9wy5g/kj.plist">快捷酒店管家。</a>
下载过程中,app在手机上的icon是空白的.
解决方法:在服务器中,将icon图标的57.png和114.png的放在IPA文件同一目录下,在.plist文件中添加:
<dict>
<key>kind</key>
<string>full-size-image</string>
<key>needs-shine</key>
<false/>
<key>url</key>
<string>http://lz.ozhongguo.com/package/img/Lzzk_small.png</string>
</dict>
<dict>
<key>kind</key>
<string>display-image</string>
<key>needs-shine</key>
<false/>
<key>url</key>
<string>http://lz.ozhongguo.com/package/img/Lzzk_large.png</string>
</dict>
dropbox被封后,可利用开源中国作为托管服务器
转载:http://blog.csdn.net/sy_bz/article/details/33739779
1.首先在代码托管开源中国进行账号申请。(参考这篇博文http://blog.csdn.net/sy_bz/article/details/35217495)
2.登录账号后创建一个项目专门进行该文件的。
3.在相应的项目中点击加号进行文件添加。
4.点击加号后填写相应的红框三块,点击提交。
5.然后回到项目列表页,找到你刚才添加的文件代码,并点击进去,点击红色按钮就是想要的网址了。
至此,因为dropbox被天朝和谐的麻烦已经解决,各位就可以进行In-House方式安装了。