返回列表 发新帖

架设苹果ios安装教程 Plist文件配置

[复制链接]
发表于 2019-11-8 20:03:37 | 显示全部楼层 | 阅读模式



pList文件
  1. <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  2. <plist version="1.0">
  3. <dict>
  4.     <key>items</key>
  5.     <array>
  6.         <dict>
  7.             <key>assets</key>   
  8.                               
  9.           <array>
  10.               <dict>
  11.                   <key>kind</key>
  12.                   <string>software-package</string>
  13.                   <key>url</key>
  14.                   <string>https://www.timestation.cn/download/x88020-ios-v110.ipa</string>
  15.               </dict>
  16.                              
  17.               <dict>
  18.                     <key>kind</key>
  19.                     <string>display-image</string>
  20.                     <key>needs-shine</key>
  21.                     <true/>
  22.                     <key>url</key>
  23.                     <string>https://www.timestation.cn/download/ios-logo.png</string>
  24.                 </dict>

  25.                 <dict>
  26.                     <key>kind</key>
  27.                     <string>full-size-image</string>
  28.                     <key>needs-shine</key>
  29.                     <true/>
  30.                     <key>url</key>
  31.                     <string>https://www.timestation.cn/download/ios-logo.png</string>
  32.                 </dict>
  33.            </array>
  34.             
  35.             <key>metadata</key>
  36.             
  37.             <dict>
  38.                 <key>bundle-identifier</key>
  39.                 <string>com.zhunshizbw.app</string>
  40.                 <key>bundle-version</key>
  41.                 <string>v1.1.0</string>
  42.                 <key>kind</key>
  43.                 <string>software</string>
  44.                 <key>title</key>
  45.                 <string>准时钟表app</string>
  46.             </dict>
  47.             
  48.         </dict>
  49.     </array>
  50. </dict>
  51. </plist>
复制代码


下载页面代码

  1. <!DOCTYPE html>
  2. <!-- saved from url=(0042)https://www.timestation.cn/download/ -->
  3. <html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  4.    
  5.     <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  6.     <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1.0, maximum-scale=1.0">
  7.         <script type="text/javascript" src="js/jquery.min.js"></script>
  8.     <title>准时钟表网APP下载</title>
  9.         <meta name="description" content="准时钟表网APP下载">
  10. <meta name="keywords" content="准时钟表网APP下载">

  11.     <style>
  12.         body {
  13.             width:auto;
  14.             min-width:320px;
  15.             height: 100%;
  16.             word-wrap: break-word;
  17.             word-break:break-all;
  18.             padding: 0;
  19.             margin: 0;
  20.             background-color: #FFF;
  21.             color: #444444;
  22.             font: 14px/20px "Microsoft YaHei", 'Hiragino Sans GB', arial, SimHei,SimSun, Verdana, sans-serif;
  23.             overflow-x: hidden;
  24.             overflow-y:auto;
  25.         }
  26.         .logo {
  27.             width: 100px;
  28.             height: 27px;
  29.             margin-left: 8px;
  30.             background:url("images/logo.png") no-repeat center;
  31.             background-size:100px 27px;
  32.         }
  33.         .btn-download {
  34.             display: inline-block;
  35.             background-color:#3a6dbb;
  36.             border-radius:7px;
  37.             width: 100%;
  38.             height: 55px;
  39.             color: #fff;
  40.             text-decoration: none;
  41.             text-align: center;
  42.             font-size: 15px;
  43.             margin-top: 20px;
  44.         }
  45.         .ico_android, .ico_apple{
  46.             width: 24px;
  47.             height: 28px;
  48.             display: inline-block;
  49.             float: left;
  50.             margin-top: 5px;
  51.             margin-right: 10px;;
  52.         }

  53.         .ico_android{
  54.             background:url("images/android.png") no-repeat center;
  55.             background-size:24px 28px;
  56.         }
  57.         .ico_apple{
  58.             background:url("images/apple.png") no-repeat center;
  59.             background-size:24px 28px;
  60.         }
  61.         .open_arrow{
  62.             background: url("images/open_arrow.png")  no-repeat center;
  63.             background-size: 50px 90px;
  64.             width: 50px;
  65.             height: 90px;
  66.             position: fixed;
  67.             top: 10px;
  68.             right: 20px;
  69.         }
  70.                 .ftlink{margin-top: 20px; font-size:10px;}
  71.                 .ftlink a:link,a:active,a:hover,a:visited{ color:#CCCCCC}
  72.     </style>
  73. </head>

  74. <body>
  75. <img src="https://www.timestation.cn/download/ios-logo.png" width="0" height="0" />
  76. <div style="position:fixed;top:0px;background: #e33838;color: #FFFFFF;
  77.                             padding:15px 80px 15px 15px;height: 90px;font-size: 14px;line-height: 20px;">
  78.     <div class="open_arrow"></div>
  79.     如果您是用微信扫描二维码打开本页面的
  80.     ,请点击本页面右上角的三个小点按钮,选择“在浏览器中打开”,否则可能无法下载。
  81. </div>
  82. <!--    <div style='background-color: #385E96;height: 44px;'>-->
  83. <!--        <div style='height: 8px;'></div>-->
  84. <!--        <div class='logo'></div>-->
  85. <!--    </div>-->
  86. <!---->
  87. <div style="padding: 15px;margin-top: 120px; font-size:16px; ">
  88.     <div><a href="https://fir.im/rg9m" target="_blank" rel="nofollow">下载地址(越狱版)</a></div>

  89.     <div style="padding: 28px;">
  90.         <div>
  91.             请点击下方的按钮下载:
  92.         </div>
  93. <!--        <a href="--><!--" class="btn-download" target="_blank">-->
  94.         <a href="https://www.timestation.cn/download/x88020-adr-v110.apk" class="btn-download">
  95.             <div style="height: 55px;text-align: center;padding-top: 8px;">
  96.                 <div style="width: 100px;margin: 0px auto;">
  97.                     <div class="ico_android">
  98.                     </div>
  99.                     <div style="float: left;text-align: left;">
  100.                         <div style="font-size: 16px;">安卓手机</div>
  101.                         <div style="font-size: 12px;">Android</div>
  102.                     </div>
  103.                     <div style="clear: both;"></div>
  104.                 </div>
  105.             </div>
  106.         </a>

  107.         <a href="itms-services://?action=download-manifest&url=https://www.timestation.cn/download/app.plist" class="btn-download">
  108.             <div style="height: 55px;text-align: center;padding-top: 8px;">
  109.                 <div style="width: 100px;margin: 0px auto;">
  110.                     <div class="ico_apple">
  111.                     </div>
  112.                     <div style="float: left;text-align: left;">
  113.                         <div style="font-size: 16px;">苹果手机</div>
  114.                         <div style="font-size: 12px;">iPhone</div>
  115.                     </div>
  116.                     <div style="clear: both;"></div>
  117.                 </div>
  118.             </div>
  119.         </a>
  120.     </div>
  121.                 <div><img src="https://www.timestation.cn/download/ios-logo.png" style="width:100%;"></div>
  122.     <div style="text-align:center; margin-bottom:30px;">
  123.         <a href="http://m.timestation.cn" style="color:rgb(60,114,200);">点击访问手机版准时钟表网</a>
  124.     </div>
  125.     <div style="color: #a8a6a6;">
  126.         <div>下载链接24小时有效。</div>
  127.         <div>如有任何疑问,请联系IT支持人员QQ:393469455</div>

  128.         <div style="margin-top: 20px;">欢迎您使用准时钟表网</div>
  129.         <div class="ftlink">友情链接:<a href="http://www.51ggwu.com/" title="福鼎生活网" target="_blank">福鼎生活网</a></div>
  130.         <div style="margin-top: 30px;font-size: 12px;text-align: center;">©2022 准时钟表网 版权所有 准时钟表网<div style=" display:none"><script src="https://s4.cnzz.com/z_stat.php?id=1259645751&web_id=1259645751" language="JavaScript"></script></div></div>
  131.     </div>
  132. </div>
  133. <script type="text/javascript">
  134.                 function is_weixin() {
  135.                     var ua = navigator.userAgent.toLowerCase();
  136.                     if (ua.match(/MicroMessenger/i) == "micromessenger") {
  137.                          
  138.                         return true;
  139.                     } else {
  140.                                   
  141.                         return false;
  142.                     }
  143.                 }
  144.                 var isWeixin = is_weixin();
  145.                 var winHeight = typeof window.innerHeight != 'undefined' ? window.innerHeight : document.documentElement.clientHeight;
  146.                 var weixinTip = $('<div id="weixinTip"><p><img src="live_weixin.png" width="85%" height="36%"  alt="微信打开"/></p></div>');
  147.                 if(isWeixin){
  148.                         $("body").append(weixinTip);
  149.                 }
  150.                 $("#weixinTip").css({
  151.                         "position":"fixed",
  152.                         "left":"0",
  153.                         "top":"0",
  154.                         "height":winHeight,
  155.                         "width":"100%",
  156.                         "z-index":"1000",
  157.                         "background-color":"rgba(0,0,0,0.8)",
  158.                         "filter":"alpha(opacity=80)",
  159.                 });
  160.                 $("#weixinTip p").css({
  161.                         "text-align":"center",
  162.                         "margin-top":"10%",
  163.                         "padding-left":"5%",
  164.                         "padding-right":"5%"
  165.                 });
  166.         </script>
  167. </body>
  168.    
  169. </html>
复制代码


发表于 2019-11-8 20:06:04 | 显示全部楼层
plist其中,
<key>bundle-identifier</key>
<string>com.zhunshizbw.app</string>

这个不能写错,否则提示无法联系到网站地址, 无法下载
回复

使用道具 举报

发表于 2019-11-19 18:16:55 | 显示全部楼层

已经越狱的 iPhone、iPad 设备,当通过其自带的 safari 浏览器访问 ipa 应用下载网站时,利用 itms-services 协议,可以一键安装 ipa 文件的 iOS 应用,例如:

<a href="itms-services://?action=download-manifest&url=http://blog.s135.com/demo/ios/jhsmyt.plist">通过越狱的iOS设备浏览器访问本页,点这儿一键安装APP应用。</a>

2、jhsmyt.plist 的内容如下:

<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://blog.s135.com/demo/ios/jhsmyt.ipa</string>
</dict>
<dict>
<key>kind</key>
<string>display-image</string>
<key>needs-shine</key>
<true/>
<key>url</key>
<string></string>
</dict>
<dict>
<key>kind</key>
<string>full-size-image</string>
<key>needs-shine</key>
<true/>
<key>url</key>
<string></string>
</dict>
</array>
<key>metadata</key>
<dict>
<key>bundle-identifier</key>
<string>com.yijia.juhuasuan</string>
<key>bundle-version</key>
<string>1.0.0</string>
<key>kind</key>
<string>software</string>
<key>subtitle</key>
<string>聚划算每一天</string>
<key>title</key>
<string>聚划算每一天</string>
</dict>
</dict>
</array>
</dict>
</plist>

需要修改之处:


越狱iPhone实现扫二维码直接下载安装ipa文件的方法

Android应用都可以实现通过扫描二维码下载安装,这里介绍一种可以通过越狱的iPhone或者iPad扫描按章ipa文件应用的方法:

1、建立一个html文件

autodown.htm:

<html>
<head>
<title>iOS 越狱版安装</title>
<meta http-equiv="Content-Type" content="text/HTML; charset=utf-8">
<meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0;" name="viewport" />
<script type="text/javascript">
function doLocation(url)
{
  var a = document.createElement("a");
  if(!a.click) {
    window.location = url;
    return;
  }
  a.setAttribute("href", url);
  a.style.display = "none";
  document.body.appendChild(a);
  a.click();
}
</script>
</head>
<body                >
<script type="text/javascript">
doLocation('itms-services://?action=download-manifest&url=http://blog.s135.com/demo/ios/jhsmyt.plist');
</script>
</body>
</html>

2、jhsmyt.plist 的内容如下:



items


assets


kind
software-package
url
http://blog.s135.com/demo/ios/jhsmyt.ipa


kind
display-image
needs-shine
[tr]
url



kind
full-size-image
needs-shine
[tr]
url



metadata

bundle-identifier
com.yijia.juhuasuan
bundle-version
1.0.0
kind
software
subtitle
聚划算每一天
title
聚划算每一天




需要修改之处:

20130531093733237.png


越狱iPhone实现扫二维码直接下载安装ipa文件的方法

Android应用都可以实现通过扫描二维码下载安装,这里介绍一种可以通过越狱的iPhone或者iPad扫描按章ipa文件应用的方法:

1、建立一个html文件

autodown.htm:


iOS 越狱版安装

然后将下载地址生成二维码,就可以实现扫描下载并安装了。

20130531093741983.png

  



20130531092839531.png
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

快速回复 返回顶部 返回列表