5

在此处输入图像描述

这是点击服务器 url 后出现的弹出窗口。

我在服务器上上传了一个企业发行版 iOS 版本。现在,当我们尝试下载版本时,出现以下弹出窗口。我想将空字段替换为“[我的域名]”。

我有一个类似问题的堆栈溢出链接-

Ad-Hoc 分发提示消息说 (null) would like to install {app name}

但在我的情况下,两种情况都会出现问题,要么通过(下载)电子邮件,要么直接浏览到包含链接的网页(已上传构建的服务器 url)。

请建议我解决方案。谢谢

4

4 回答 4

8

我解决了这个问题。

出现问题是因为我们在给出.plist 路径http:/的网页中使用了单斜线。

IE

<a href="itms-services://?action=download-manifest&url=http:/pathToYourServer/folder/applicationName.plist"> here </a>

现在变了,变成了——:

<a href="itms-services://?action=download-manifest&url=http://pathToYourServer/folder/applicationName.plist"> here </a>

在安装提示域名中,第一个参数位于 :// 和 / 之间。写网址时要小心。

于 2013-01-10T14:53:51.653 回答
2

@Deepak 的回答解决了这个问题:

<a href="itms-services://?action=download-manifest&url=http:/pathToYourServer/folder/applicationName.plist"> here </a>

VS

<a href="itms-services://?action=download-manifest&url=http://pathToYourServer/folder/applicationName.plist"> here </a>

但是请注意,Outlook 中有一个错误,不允许在超链接中使用“//”请参阅此处值得注意的是,您可以在另一个电子邮件程序中构建链接,然后将其发送到 Outlook。(在发表这篇文章时,我缺乏将其添加为评论的代表)

如果您愿意托管一个小页面以将用户重定向到 itms 协议,则此解决方案也适用(如果修改了重定向):页面加载时重定向

于 2014-08-22T00:03:23.823 回答
0

You must be trying to download the .ipa directly?

Archive and distribute the application and it will generate two files - one would be the .ipa and another would be .plist.

Now, create an html page on server and place it on server with this html:

<html>
<body>
Some text about your app:
<a  href="itms-services://?action=download-manifest&url=http://pathToYourServer/folder/applicationName.plist">here</a>
</body>
</html>

So, when user will tap on "here" then it will directly download the app on device.

Make sure to look at my hyperlink because it contains "itms-services://?action=download-manifest&" followed by path to plist file on your server.

Hope it helps.

Regards,

Reno Jones

于 2013-01-10T09:27:16.173 回答
0

It's because actual ipa resource file is not available into wireless distribution link. So I think it's configure wrongly the wireless ad hoc distribution link.

于 2013-01-10T09:26:30.487 回答