iOS 企业分发 安装包发布

1.做一个index.html,下载按钮的点击事件

function installer() {
      location.href = "itms-services://?action=download-manifest&url=https://...../setup.plist";
    }

2.setup.plist 文件格式




<plist version="1.0">
    <dict>
        <key>itemskey>
        <array>
            <dict>
                <key>assetskey>
                <array>
                    <dict>
                        <key>kindkey>
                        <string>software-packagestring>
                        <key>urlkey>
                        <string>THE URL FOR YOUR IPA: ex: http://go.com/appname.ipastring>
                    dict>
                    <dict>
                        <key>kindkey>
                        <string>full-size-imagestring>
                        <key>needs-shinekey>
                        <true/>
                        <key>urlkey>
                        <string>THE URL FOR INSTALLATION @2x ICON: ex: http://go.com/[email protected]string>
                    dict>
                    <dict>
                        <key>kindkey>
                        <string>display-imagestring>
                        <key>needs-shinekey>
                        <true/>
                        <key>urlkey>
                        <string>THE URL FOR INSTALLATION ICON: ex: http://go.com/Icon.pngstring>
                    dict>
                array>
                <key>metadatakey>
                <dict>
                    <key>bundle-identifierkey>
                    <string>YOUR BUNDLE ID (Take it from your Xcode Project)string>
                    <key>bundle-versionkey>
                    <string>1.2.3 Your app versionstring>
                    <key>kindkey>
                    <string>softwarestring>
                    <key>titlekey>
                    <string>The Title To Present To The User installing the appstring>
                dict>
            dict>
        array>
    dict>
plist>

你可能感兴趣的:(iOS-开发)