您的位置:首页 > 其它

企业版开发用户,发布应用方式:无线分发

2013-08-29 14:42 531 查看
企业版开发用户,发布应用不能上传到商店,不过可以自建网页供下载,步骤(省略IPA生成过程):
1.制作plist文件,编码utf-8,内容如下:
<?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>程序ipa的URL</string>
</dict>
<dict>
<key>kind</key>
<string>full-size-image</string>
<key>needs-shine</key>
<true/>
<key>url</key>
<string>大ICON图标的URL</string>
</dict>
<dict>
<key>kind</key>
<string>display-image</string>
<key>needs-shine</key>
<true/>
<key>url</key>
<string>小ICON图标的URL</string>
</dict>
</array>
<key>metadata</key>
<dict>
<key>bundle-identifier</key>
<string>程序的identifier在xcode中</string>
<key>bundle-version</key>
<string>程序版本号在xcode中</string>
<key>kind</key>
<string>software</string>
<key>subtitle</key>
<string>子标题</string>
<key>title</key>
<string>标题</string>
</dict>
</dict>
</array>
</dict>
</plist>

2.制作HTML,内容如下:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
<a href="itms-services://?action=download-manifest&url=http://localhost/manifest.plist">在线安装</a>
</body>
</html>

经过以上两步,即可在手机上直接下载安装了。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: