【问题标题】:Unable to download Application on ipad2无法在 ipad2 上下载应用程序
【发布时间】:2012-06-29 09:17:10
【问题描述】:

过去几天我在 ipad 上下载应用程序时遇到问题。

我所做的是在我的 IIS 服务器上托管 .ipa 和 .plist 并在服务器上安装证书。实际上,我正在提供用于下载应用程序的 https 链接。

每当从ipad端点击服务时,有时会出现错误:“无法连接到服务器或此时无法下载并重试多次”但无法下载

我正在发送 .plist 文件的代码和我们调用 .plist 文件的 html。

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://<ServerName>:<PortNumber>/abcV.ipa</string>

</dict>

</array>

<key>metadata</key>

<dict>

<key>bundle-identifier</key>

<string>abc</string>

<key>bundle-version</key>

<string>1.0</string>

<key>kind</key>

<string>software</string>

<key>subtitle</key>

<string>abcV.25</string>

<key>title</key>

<string>abcV.25</string>

</dict>

</dict>

</array>
</dict>
</plist>

我将正文中的 itms 服务称为:

 <a href="itms-services://?action=download- manifest&url=https://<ServerIP>:<PortNumber>/abc.plist">Install the app</a>

我做错了什么?

【问题讨论】:

    标签: iphone iis


    【解决方案1】:

    您是否尝试过使用普通的 http 而不是 https?

    另外,当我使用 java web services 时,url 将是

    http://:port//abcV.ipa

    只需检查在 http://&lt;serverIP&gt;:port/ 之后附加 projectName 路径组件

    另外,编写一个示例 html 并检查它是否打开。

    【讨论】:

    • 在 http 和相同的 URL 下工作正常。我们所做的唯一区别是,现在我们在路径中使用 https 而不是 http
    • 请告诉我一件事,证书需要同时安装在服务器端和 ipad 上,或者只安装在服务器端
    • 我们可以从服务器下载 .ipa 和 .plist 文件
    • 我们已尝试在 ipad 上安装证书,但仍然出现“无法下载”错误。
    【解决方案2】:

    您的网址中似乎有空格。证书只需要安装在 iOS 设备端。如果这不起作用,那么这里的问题可能是您的 MIME 类型。查看 Apple Docs 以获取有关 itms-services 的 MIME 类型的更深入信息://

    【讨论】:

      猜你喜欢
      • 2017-07-17
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-07-27
      • 2018-12-25
      • 2012-05-22
      • 2015-12-17
      • 1970-01-01
      相关资源
      最近更新 更多