iOS企业无线(OTA)分发无法下载应用程序

时间:2014-08-20 02:15:32

标签: ios objective-c ota enterprise-distribution

我的公司有一个企业ios帐户,我希望无线上传我的应用程序。我已经获得了客户的分发证书和分发配置文件。

我在blog.appliedis.com上关注了这个很棒的教程,其中展示了如何使用企业帐户无线部署应用程序。

问题是我在iPad上安装应用程序时遇到此错误,当安装即将完成时就会出现这种错误。

  

无法下载App此时无法安装MyApp

我的步骤

以下是我采取的步骤: -

  • 匹配应用的捆绑ID(在plist中)与创建客户端的证书/配置文件。
  • 从客户端点击/安装了分发证书到我的KeyChain
  • 将配置文件(分发)从客户端拖到XCode
  • 在代码签名中,我选择了所有分发证书(由客户发送),如图所示(通知都有相同的): -

Code Signing Identities

对于配置配置文件,我选择了客户端发送的配置配置文件,如下所示(注意两者都相同): -

Provisioning profile

  • Xcode>产品>档案>节省企业部署
  • 在我的服务器上指定标题,IPA的URL。
  • 在我的Linux服务器上托管.ipa,.plist(两个xcode生成)。
  • 创建如下链接: - https://www.myurl.com/myapps/MyApp.plist">点击下载
  • 点击后,应用程序会启动,但在应用程序下载处于中途时会发出错误。

其他信息: -

  • 我们选择iOS Enterprise帐户的原因是我们不必输入UDID。因此,安装此应用程序的iPad在客户的帐户中没有UDID。

以下是我的控制台日志(以防万一)

Aug 19 22:09:30 My-iPad wifid[15] <Notice>: WiFi:[430193370.378140]: Foreground Network Application exited.
Aug 19 22:09:30 My-iPad wifid[15] <Notice>: WiFi:[430193370.378722]: BG Application: Not Present, BG Daemon: Present. Daemons: SiriViewService networkd itunesstored apsd assistantd sharingd 
Aug 19 22:09:30 My-iPad itunesstored[90] <Warning>: LaunchServices: installing placeholder for com.theclientname.app
Aug 19 22:09:30 My-iPad installd[63] <Notice>: 0x315000 handle_install_for_ls: Install of "/var/mobile/Library/Caches/com.apple.itunesstored/AppPlaceholders/-4665319901594503043.app" requested by itunesstored
Aug 19 22:09:30 My-iPad installd[63] <Notice>: 0x315000 MobileInstallationInstall_Server: Installing app com.theclientname.app
Aug 19 22:09:30 My-iPad installd[63] <Notice>: 0x315000 install_application: Installing placeholder
Aug 19 22:09:30 My-iPad installd[63] <Notice>: 0x315000 MobileInstallationInstall_Server: Staging: 0.01s; Waiting: 0.00s; Installation: 0.05s; LS Sync: 0.00s; Overall: 0.06s
Aug 19 22:09:31 My-iPad itunesstored[90] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: com.theclientname.app (Placeholder) withPhase:0
Aug 19 22:09:31 My-iPad lsd[73] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: phase=Loading; state=Waiting; fractionCompleted=0.000000> to 0
Aug 19 22:10:12 My-iPad SpringBoard[33] <Warning>: Killing com.theclientname.app for app installation
Aug 19 22:10:12 My-iPad itunesstored[90] <Warning>: LaunchServices: installing app for existing placeholder LSApplicationProxy: com.theclientname.app (Placeholder)
Aug 19 22:10:12 My-iPad itunesstored[90] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: com.theclientname.app (Placeholder) withPhase:1
Aug 19 22:10:12 My-iPad lsd[73] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: phase=Loading; state=Active; fractionCompleted=0.590000> to 1
Aug 19 22:10:12 My-iPad installd[63] <Notice>: 0x315000 handle_install_for_ls: Install of "/var/mobile/Media/Downloads/-4665319901594503043/-8050886506109721064" requested by itunesstored
Aug 19 22:10:17 My-iPad wifid[15] <Notice>: WiFi:[430193417.818493]: Client itunesstored set type to normal application
Aug 19 22:10:17 My-iPad wifid[15] <Notice>: WiFi:[430193417.819443]: BG Application: Not Present, BG Daemon: Present. Daemons: SiriViewService networkd apsd assistantd sharingd 
Aug 19 22:10:17 My-iPad installd[63] <Notice>: 0x315000 MobileInstallationInstall_Server: Installing app com.theclientname.app
Aug 19 22:10:17 My-iPad installd[63] <Error>: profile not valid: 0xe8008012
Aug 19 22:10:17 My-iPad installd[63] <Error>: 0x315000 install_embedded_profile: Could not install embedded profile: 0xe8008012
Aug 19 22:10:19 My-iPad installd[63] <Error>: 0x315000 verify_signer_identity: MISValidateSignatureAndCopyInfo failed for /var/tmp/install_staging.vSfPbR/foo_extracted/Payload/APPNAME.app/APPNAME: 0xe8008015
Aug 19 22:10:19 My-iPad installd[63] <Error>: 0x315000 do_preflight_verification: Could not verify executable at /var/tmp/install_staging.vSfPbR/foo_extracted/Payload/APPNAME.app
Aug 19 22:10:19 My-iPad installd[63] <Error>: 0x315000 install_application: Could not preflight application install
Aug 19 22:10:19 My-iPad itunesstored[90] <Error>: 0x1ac1000 MobileInstallationInstallForLaunchServices: failed with -1
Aug 19 22:10:19 My-iPad itunesstored[90] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil
Aug 19 22:10:19 My-iPad lsd[73] <Warning>: LaunchServices: installation failed for app com.theclientname.app
Aug 19 22:10:19 My-iPad itunesstored[90] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.theclientname.app.Installing - <NSProgress: phase=Installing; state=Failed; fractionCompleted=0.000000> called, removing progress from cache
Aug 19 22:10:19 My-iPad lsd[73] <Warning>: LaunchServices: installation failed for app com.theclientname.app
Aug 19 22:10:19 My-iPad itunesstored[90] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.theclientname.app.Loading - <NSProgress: phase=Loading; state=Failed; fractionCompleted=1.000000> called, removing progress from cache
Aug 19 22:10:19 My-iPad installd[63] <Error>: 0x315000 handle_install_for_ls: API failed
Aug 19 22:10:21 My-iPad assistantd[36] <Notice>: connection 11 total: 1, connected: 0, added new subflow [cid=1, state=Waiting, ifindex=2]
Aug 19 22:10:21 My-iPad assistantd[36] <Notice>: connection 11 total: 1, connected: 1, new connected subflow [cid=1, state=Connected, ifindex=2, preferred, mp_capable]

2 个答案:

答案 0 :(得分:0)

有几个潜在的问题&#39;你应该检查一下。对于iOS 7.1 +来说显而易见的是,下载html和manifest .plist必须位于https服务器上。另一个是,即使它们是,该服务器必须正确处理.ipa文件的MIME类型。我认为Apache服务器通常没有问题。微软服务器本身并没有为此设置,所以必须对它们进行调整&#39;由他们的管理员查看&#39; .ipa&#39; as&#34; application / octet-stream。&#34;

答案 1 :(得分:0)

我的发行许可证面临着类似的问题,问题是“XC”配置文件与包ID完全相同。

我的解决方案是删除这个XC:来自Apple Developer Portal和Xcode的配置文件 - &gt;偏好 - &gt; Apple ID - &gt;查看详细信息 - &gt; XC:配置文件 - &gt;右键单击Go To Finder - &gt;删除

希望这有帮助,