Sinaapp安装ios-ipa
需求
在非越狱iPhone上部署ipa包
部署
新浪云 创建php5.3的应用
通过代码管理的svn将材料中各个文件提交
材料
设备
iPhone5s
ipa安装包
需要年付费会员 299刀的企业版证书生成的ipa包
MobilePlatform21.ipa
icon文件
设备图标
icon.png
plist文件
安装ipa时的描述文件
<?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>https://testmobileplatform.sinaapp.com/MobilePlatform21.ipa</string>
</dict>
</array>
<key>metadata</key>
<dict>
<key>bundle-identifier</key>
<string>com.MobilePlatform21</string>
<key>bundle-version</key>
<string>1.0</string>
<key>kind</key>
<string>software</string>
<key>title</key>
<string>MobilePlatform21.ipa</string>
</dict>
</dict>
</array>
</dict>
</plist>
yaml文件
Sinaapp的工程描述文件
name: testmobileplatform
version: 1
php文件
下载页,用户获取plist的页面
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
<title>Install MobilePlatform</title>
<style type="text/css">
body {
background: url(bkg.png) repeat #c5ccd4;
font-family: Helvetica, arial, sans-serif;
}
.congrats {
font-size: 16pt;
padding: 6px;
text-align: center;
}
.step {
background: white;
border: 1px #ccc solid;
border-radius: 14px;
padding: 4px 10px;
margin: 10px 0;
}
.instructions {
font-size: 10pt;
}
.arrow {
font-size: 15pt;
}
table {
width: 100%;
}
</style>
</head>
<body>
<div class="congrats">欢迎测试,请点击以下按钮下载iOS端App</div>
<div class="step">
<table><tr>
<td class="instructions">安装<br />MobilePlatform App</td>
<td width="24" class="arrow">→</td>
<td width="72" class="imagelink">
<a href="itms-services://?action=download-manifest&url=https://raw.githubusercontent.com/qixiaobo/WeiChat/master/smart_worker.plist">
<img src="IconTest.png" height="72" width="72" />
</a>
</td>
</tr></table>
</div>
</body>
</html>
2016,1,15
by 黄白猫 using Atom