非越狱ios无需appstore审核安装ipa

转自: http://my.oschina.net/qixiaobo025/blog/321050


个人开发ipa无需发布到appstore即可下载使用。


1.选择https服务器(需要有服务商颁布的https证书)

  1.1通常使用startssl申请(免费)

StartSSL是StartCom公司旗下的SSL证书,貌似是现在唯一一家提供免费SSL证书服务并且被主流浏览器支持的免费SSL,包括Chrome、Firefox、IE等浏览器都可以正常识别StartSSL,任何个人都可以从StartSSL中申请到免费一年的SSL证书。

StartSSL申请虽然要审核,但是一般十几分钟就会回复邮件了。而且经过部落的几次申请测试发现,StartSSL申请审核并不严格,如果遇到问题,你只要回复一封邮件过去回答邮件当中所提的问题,通过率几乎是100%。

步骤如下

http://www.freehao123.com/startssl-ssl/

1.2 或者直接使用第三方服务器 如github支持https服务器(dropbox国内已和谐,你懂得)

   1.2.1使用github上传文件xxx.plist

  

?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
<? 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 >http://xxx/xxx.ipa</ string >
                 </ dict >
             </ array >
             < key >metadata</ key >
             < dict >
                 < key >bundle-identifier</ key >
                 < string >com.fnst.smartwork</ string >
                 < key >bundle-version</ key >
                 < string >1.0</ string >
                 < key >kind</ key >
                 < string >software</ string >
                 < key >title</ key >
                 < string >xxx.ipa</ string >
             </ dict >
         </ dict >
     </ array >
</ dict >
</ plist >

如上http://xxx/xxx.ipa为可以正确下载该ipa的地址。

其余XXX均类似为用户自定义内容


如上传至 https://github.com/qixiaobo/WeiChat 目录下获取该plist链接https://raw.githubusercontent.com/qixiaobo/WeiChat/master/XXX.plist

2.在ios的浏览器里访问如下网址itms-services://?action=download-manifest&url=https://raw.githubusercontent.com/qixiaobo/WeiChat/master/XXX.plist即可实现安装ipa!!!

3.服务端页面如下

   

?
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<! DOCTYPE  html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=utf-8" %>
< html  xmlns = "http://www.w3.org/1999/xhtml" >
< head >
< meta  http-equiv = "Content-Type"  content = "text/html; charset=utf-8" />
< link  rel = "Shortcut Icon"  href="<%=request.getContextPath()%>/16.png">
< meta  name = "viewport"
     content = "width=device-width, initial-scale=1, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"  />
< meta  name = "apple-mobile-web-app-capable"  content = "yes" >
     < title >XXX</ title >
< style  type = "text/css" >
* {
     padding: 0px;
     margin: 0px;
}
 
body {
     background: #68a82e;
}
 
.download {
     margin: 10% auto;
}
 
.download img {
     width: 100%;
     border: 0px;
}
</ style >
</ head >
 
< body >
     < table  width = "80%"  border = "0"  align = "center"  cellpadding = "0"
         cellspacing = "0"  class = "download" >
         < tr >
             < td >< img  src="<%=request.getContextPath()%>/static/images/download_03.png" /></ td >
         </ tr >
         < tr >
             < td >< a  href = "${ios_download_path}" >< img  src="<%=request.getContextPath()%>/static/images/download_05.png" /></ a ></ td >
         </ tr >
         < tr >
             < td >< a  href="<%=request.getContextPath()%>/XXX.apk">< img  src="<%=request.getContextPath()%>/static/images/download_06.png" /></ a ></ td >
         </ tr >
     </ table >
</ body >
</ html >


从此天空之大任君遨游!!!你懂的呀!!!


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值