临时分配失败

我在一家大公司工作,我正在开发iOS 5+的iOS应用程序。 应用程序分发的唯一方法是通过临时部署。

有一段时间我有自己的服务器,由o2switch(法国主机)托pipe。 在开始开发时,我们使用它来部署应用程序以进行betatesting。 它工作得很好。

随着应用程序进入最后阶段,公司在o2switch(因为它在我的服务器上正常工作)也购买了相同的(实际上它们只有一个)。 “新”服务器工作正常,我们有iOS应用程序所需的文件,我们正确地访问它们。

我的问题是,当我部署到公司的服务器,安装不断崩溃! 应用程序图标下方的栏为空,几乎已满(很快),并且出现错误,指示应用程序无法安装。 (经典)

我有这么众所周知的崩溃日志:

unknown itunesstored[1657] <Notice>: MS:Notice: Installing: com.apple.itunesstored [itunesstored] (690.10) unknown wifid[23] <Error>: WiFi:[375199765.346102]: Client itunesstored is background application unknown securityd[1659] <Notice>: MS:Notice: Installing: (null) [securityd] (690.10) unknown SpringBoard[62] <Warning>: could not save thumbnail for downloading icon: image=(null) path='/var/mobile/Library/SpringBoard/DownloadingIconImageCache/***********' unknown sandboxd[1661] <Notice>: MS:Notice: Installing: (null) [sandboxd] (690.10) unknown installd[1663] <Notice>: MS:Notice: Installing: (null) [installd] (690.10) unknown SpringBoard[62] <Warning>: could not save thumbnail for downloading icon: image=(null) path='/var/mobile/Library/SpringBoard/DownloadingIconImageCache/***********' unknown keybagd[1665] <Notice>: MS:Notice: Installing: (null) [keybagd] (690.10) unknown securityd[1667] <Notice>: MS:Notice: Installing: (null) [securityd] (690.10) unknown SpringBoard[62] <Warning>: Killing *********** for app installation unknown installd[1663] <Error>: 2ffc1000 extract_package: Could not extract archive unknown installd[1663] <Error>: 2ffc1000 stage_package: Could not extract /var/tmp/install_staging.I0rwBH/foo.zip to /var/tmp/install_staging.I0rwBH/foo_extracted unknown com.apple.itunesstored[1657] <Notice>: MobileInstallationInstall: failed with -1 unknown installd[1663] <Error>: 2ffc1000 MobileInstallationInstall: Could not stage the package unknown installd[1663] <Error>: 2ffc1000 handle_install: API failed unknown installd[1663] <Error>: 2ffc1000 send_message: failed to send mach message of 71 bytes: 10000003 unknown installd[1663] <Error>: 2ffc1000 send_error: Could not send error response to client 

我已经尝试了很多摆脱这个错误,但似乎没有任何工作。 我已经读过关于这个问题的每一个答案,并尽我所能。 我重新下载了configuration文件,更新了内部版本号,检查了ipa的url,还有很多其他的东西..没有任何工作。

我不得不快速交付应用程序,所以我试了最后一件事:把它放在我的服务器上。 它完美的工作。 首先尝试,没有问题(也许一个,酒吧没有加载渐进,但保持灰色,然后填写蓝色很快,但这不是一个问题,我知道它下载了在线版本)。 然后我重新尝试上传到新的服务器,同样的问题。

顺便说一句,我testing了:iPhone4 / iOS5,iPhone4S / iOS6,iPhone5 / iOS6,iPad3 / iOS6和其他设备,通过3G(3个不同的提供商)和Wifi, 每次都有同样的问题。

所以,我的问题是:

服务器是否/如何影响临时部署?

如果需要,我可以提供有关服务器configuration的信息。 请告诉我你需要什么信息。

O2switch正在调查,但他们对iOS特别部署并不了解,所以他们不知道去哪里看,安装什么服务等等。

所以我正在(再次)转向你,SO的社区! 有任何想法吗 ?

检查networking服务器中的MIMEtypesconfiguration。 你需要:

application/xml.plist文件,和

application/octet-stream.ipa文件。

您是否在将App.plist文件移至新服务器之前编辑了它?

资产url必须是绝对的,如下所示: <string>http://someurl.com/App-1.0.0.ipa</string>

如果您确定服务器返回适当的MIMEtypes,请按以下方式进行检查:

 lynx -mime_header http://www.serveraddress/App.plist | head -10 

如果您确定在html文件中没有链接到.plist文件的空格或换行符。
如果您确定已将设备添加到configuration文件
如果您已经阅读: http : //www.informit.com/articles/article.aspx?p= 1829415& seqNum=16
我有同一个文件夹中的所有文件:.plist,.html,.ipa

然后我不知道是什么问题,并build议您从您的工作服务器分发。