iOS 7.1.1 OTA分发-连接失败 [英] iOS 7.1.1 OTA Distribution - Connection failed
问题描述
我在通过无线方式安装了iOS 7.1.1的iPhone 5c上分发iOS App时遇到问题. 我关注了这指令以消除证书问题.我的plist看起来像这样
I've a problem with distributing my iOS App on my iPhone 5c with installed iOS 7.1.1 over-the-air. I followed this instruction to get rid of the certificate-problems. My plist looks like this
<?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://192.168.1.156/App.ipa</string>
</dict>
<dict>
<key>kind</key>
<string>display-image</string>
<key>url</key>
<string>http://192.168.1.156/icon.png</string>
</dict>
<dict>
<key>kind</key>
<string>full-size-image</string>
<key>url</key>
<string>http://192.168.1.156/icon@2x.png</string>
</dict>
</array>
<key>metadata</key>
<dict>
<key>bundle-identifier</key>
<string>de.app.bundle</string>
<key>bundle-version</key>
<string>1.0.0</string>
<key>kind</key>
<string>software</string>
<key>subtitle</key>
<string>for iOS</string>
<key>title</key>
<string>AppTitle</string>
</dict>
</dict>
</array>
</dict>
我正在Windows 7上通过nginx 1.7.0交付plist,plist的模仿类型是application/xml.
I'm delivering the plist over nginx 1.7.0 on windows 7 and the mimetype for plist is application/xml.
在iOS中打开的itms-services网址如下:
The itms-services url opened in iOS looks like so:
<a href="itms-services://?action=download-manifest&url=https://192.168.1.156/install.plist">Install App</a>
当我尝试在野生动物园中打开此链接时,收到一条消息连接到192.168.1.156失败".但是我在nginx访问日志中看不到任何请求.因此,我认为我的plist链接或iOS本身肯定有问题.我尝试对url参数的内容进行url编码,结果相同.
When I try to open this link in safari I get a message "Connection to 192.168.1.156 failed". But I cannot see any request in my nginx access logs. So I think that there must be a problem with my link to the plist or with iOS itself. I tried to url-encode the content of the url parameter with same result.
有人知道发生了什么事吗?
Does anybody have any idea what's going wrong?
谢谢.
推荐答案
我认为这可能是与SSL相关的问题.在您指定的.plist文件中
I think this may be the issue related to SSL.In your .plist file you specified
http://192.168.1.156/App.ipa
,清单网址中为https://192.168.1.156/install.plist
.因此,ipa文件所在的URL可能没有有效的SSL证书.
查看讨论内容:企业应用程序部署不在iOS 7.1上工作
and in manifest url it is https://192.168.1.156/install.plist
. So your url where the ipa file reside may not have a valid SSL certificate.
See the discussion : Enterprise app deployment doesn't work on iOS 7.1
这篇关于iOS 7.1.1 OTA分发-连接失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!