li.li1 { margin: 0; font: 14px “Yuanti SC”; color: rgba(0, 0, 0, 1); -webkit-text-stroke: #000000 }
span.s1 { -webkit-text-stroke: 0px #000000 }
span.s2 { font-kerning: none }
ol.ol1 { list-style-type: decimal }
1、导出ipa包,可以是企业级签名,也可以是100测试设备的签名。
2、申请个人域名,可以到godaddy.com上面去申请。
3、应用图标512512 5757尺寸各一张
4、github新建repository myipa, 导入ipa和应用图标
5、新建manifest.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>http://test-qiyi-hangzhou.oss-cn-hangzhou.aliyuncs.com/xqx/%E5%B0%8F%E7%A1%AE%E4%BF%A1.ipa</string> </dict> </array> <key>metadata</key> <dict> <key>bundle-identifier</key> <string>com.xiaoquexin.facai</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>
其中 http://test-qiyi-hangzhou.oss-cn-hangzhou.aliyuncs.com/xqx/%E5%B0%8F%E7%A1%AE%E4%BF%A1.ipa
p.p1 { margin: 0; font: 14px “Yuanti SC”; color: rgba(35, 35, 35, 1); -webkit-text-stroke: #232323; background-color: rgba(255, 255, 255, 1) }
span.s1 { font-kerning: none }
span.s2 { font: 14px “Helvetica Neue”; font-kerning: none }
地址为刚才上传到github的文件的地址。注意链接地址一定要为下载地址
p.p1 { margin: 0 0 25px; font: 14px “Helvetica Neue”; color: rgba(35, 35, 35, 1); -webkit-text-stroke: #232323; background-color: rgba(255, 255, 255, 1) }
span.s1 { font: 14px “Yuanti SC”; font-kerning: none }
span.s2 { font-kerning: none }
把新建的manifest.plist上传到myipa这个repository中,后面会用到。
6、再新建一个repository,xiaoxinyougui.github.io。再新建index.html和CNAME文件。
7、index文件中放入代码
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Example</title> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" /> </head> <body> <a href="itms-services://?action=download-manifest&url=https://gitee.com/qweaschen/xiaoquexin---plist/blob/master/ios.plist">Install App</a> </body> </html>
p.p1 { margin: 0 0 12px; font: 14px “Yuanti SC”; color: rgba(0, 0, 0, 1); -webkit-text-stroke: #000000 }
span.s1 { font-kerning: none }
其中manifest.plist文件链接地址为刚才上传的manifest的链接地址CNAME文本中写入域名如qihaiquan.com然后将index.html 和 CNAME导入xiaoxinyougui.github.io中
8、进入xiaoxinyougui.github.io中,点击settings。管理github pages, custom domain中写入你的域名,save。
9、手机网页输入你的域名,点击下载安装,安装ipa文件到你的苹果手机。备注:xcode9打包过程中,有选项,可新建manifest.plist文件,其中输入ipa和图标的链接地址就可以了。
最终版
效果图:
参考:
https://www.jianshu.com/p/3f9e11fad442
https://www.jianshu.com/p/d59dc64bedb0
p.p2 { margin: 0 0 25px; font: 14px “Helvetica Neue”; color: rgba(35, 35, 35, 1); -webkit-text-stroke: #232323; background-color: rgba(255, 255, 255, 1) }
li.li1 { margin: 0; font: 14px “Helvetica Neue”; color: rgba(35, 35, 35, 1); -webkit-text-stroke: #232323 }
span.s1 { background-color: rgba(255, 255, 255, 1); -webkit-text-stroke: 0px #000000 }
span.s2 { font: 14px “Yuanti SC”; font-kerning: none; background-color: rgba(255, 255, 255, 1) }
span.s3 { font-kerning: none; background-color: rgba(255, 255, 255, 1) }
span.s4 { font-kerning: none }
span.s5 { font: 14px “Yuanti SC”; font-kerning: none }
ol.ol1 { list-style-type: decimal }
li.li1 { margin: 0; font: 14px “Yuanti SC”; color: rgba(0, 0, 0, 1); -webkit-text-stroke: #000000 }
span.s1 { -webkit-text-stroke: 0px #000000 }
span.s2 { font-kerning: none }
ol.ol1 { list-style-type: decimal }