使用manifest.plist无线安装内部iOS应用程序不再适用于iOS 8 [英] Install In-House iOS App wirelessly with manifest.plist does not work anymore with iOS 8

查看:98
本文介绍了使用manifest.plist无线安装内部iOS应用程序不再适用于iOS 8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有内部分发方案,其中包括放置在Web服务器上的.ipa和manifest.plist文件。一个简单的网页允许用户选择应用程序版本并点击进行安装。当用户点击iPad上带有iOS 8的Safari中的链接时,它会要求他安装应用程序并在按下安装后不做任何操作。没有错误或安装进度图标...

We have In-House distribution scheme, which includes both .ipa and manifest.plist files placed on a web-server. A simple web-page allows user to choose the app version and tap to install it. When user taps on the link in Safari on iPad with iOS 8, it asks would he like to install the app and after pressing "Install" do nothing. No errors or installation progress icon...

我们之前使用的这个方案,我可以确认它适用于iOS 7以及iOS 8 beta(目前也)。它不适用于iOS 8.似乎iOS 8会阻止它。有没有人已经遇到过这个问题或知道怎么做?

This scheme we used for year before and I could confirm it works with iOS 7 as well with iOS 8 beta (at the moment also). It doesn't work with iOS 8. It seems like iOS 8 blocks it. Does anybody already faced the issue or knows how to around it?

服务器设置了MIME类型:

The server has MIME types set:

- application / octet-stream ipa

- text / xml plist

manifest.plist文件如下:

The manifest.plist file is below:

<?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>http://example.com:8079/foo.ipa</string>
                </dict>
            </array>
            <key>metadata</key>
            <dict>
                <key>bundle-identifier</key>
                <string>com.example.fooapp</string>
                <key>bundle-version</key>
                <string>1.0</string>
                <key>kind</key>
                <string>software</string>
                <key>title</key>
                <string>Example Corporate App</string>
            </dict>
        </dict>
    </array>
</dict>
</plist>


推荐答案

您也可以只更改 Manifest.plist 文件如:

You can also just change the bundle id in your Manifest.plist file like:

<key>bundle-identifier</key>
<string>com.example.fooappNew</string>

无需重新生成配置文件。

Without regenerating the provisioning profiles.

这篇关于使用manifest.plist无线安装内部iOS应用程序不再适用于iOS 8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆