腾讯云win2008服务器搭建苹果ipa包在线安装环境

使用iis + https + 阿里云OSS

配置共3个文件,xxxx.ipa包,xxxx.ipa.plist,index.html 文件
参考 http://www.pianshen.com/article/8248263626/

iis的https配置

参考 https://www.cnblogs.com/aaronguo/p/8280676.html

iis的MIME配置

.plist的MIME类型:text/xml

.ipa的MIME类型:application/iphone-package-archive

.apk的MIME类型:application/vnd.android.package-archive

ipa.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>https://xxxxx.oss-cn-shenzhen.aliyuncs.com/ipa/xxxx.ipa</string><!--修改这里-->
                    </dict>
                </array>
                <key>metadata</key>
                <dict>
                    <key>bundle-identifier</key>
                     <string>com.xxx.xxx</string><!--修改这里-->
                     <key>bundle-version</key>
                    <string>2.0</string><!--修改这里-->
                    <key>kind</key>
                    <string>software</string>
                    <key>title</key>
                    <string>xxxxxx</string><!--修改这里-->
                </dict>
            </dict>
        </array>
    </dict>
</plist>

index.html

<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="description" content="">
    <meta name="keywords" content="">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>下载测试</title>
</head>
<body>
    <a href="itms-services://?action=download-manifest&url=https://xxxxx.oss-cn-shenzhen.aliyuncs.com/ipa/ipa.plist">下载测试</a><!--修改这里-->
</body>
</html>
发布了69 篇原创文章 · 获赞 10 · 访问量 10万+

猜你喜欢

转载自blog.csdn.net/mhtqq809201/article/details/89173631
今日推荐