iOS AdHoc App 拒绝安装在一台设备上

Pau*_*and 5 xcode ad-hoc-distribution ios

我有一个内部开发的应用程序,我正在使用 AdHoc 分发版进行分发。我有一个带有itms-services://?action=download-manifest链接的 Intranet 页面设置,用于在设备上安装它。

该应用程序目前已部署到 20 台 iOS 6 和 7 设备。我尝试添加 3 个运行 iOS 8 的新 iPod touch。

这是我所做的:

  1. 在 developer.apple.com 站点上添加了 3 个设备列表的 UDID
  2. 将三台设备添加到现有的分发配置文件中(有效期为另外 8 个月)
  3. 使用 xCode 组织器为企业/临时分发生成新存档(生成新的 ipa 和 plist)
  4. 尝试使用 itms-services 链接在新设备上安装该应用程序

问题

三个中的两个安装成功。第三个绝对拒绝安装。当我点击要安装的链接时,该图标会出现在跳板上,并且在其下方仅显示“正在等待...”。什么都不会发生。如果我重新启动设备,则会弹出此消息:“无法下载应用程序。此时无法下载“SAP-WM”。”

我验证了 UDID 是正确的,并且它与分发配置文件相关联(它是)。我也尝试出厂重置设备并重新开始无济于事。我还在其他 iOS 8 设备之一上成功删除并重新安装了该应用程序,以确保存档正常,并且运行良好。

这是我尝试安装后立即从设备控制台的输出(注意有关 zip 无效的错误?没有意义,它在其他两个设备上工作正常!):

Nov 24 07:53:03 iPod-touch locationd[62] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
Nov 24 07:53:17 iPod-touch SpringBoard[42] <Warning>: Killing paulwieland.SAP-WM for app installation
Nov 24 07:53:17 iPod-touch itunesstored[79] <Warning>: LaunchServices: installing app for existing placeholder <LSApplicationProxy: 0x146b5850> paulwieland.SAP-WM (Placeholder)
Nov 24 07:53:17 iPod-touch itunesstored[79] <Warning>: LaunchServices: Creating installProgressForApplication:<LSApplicationProxy: 0x146b5850> paulwieland.SAP-WM (Placeholder) withPhase:1
Nov 24 07:53:18 iPod-touch lsd[72] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: 0x17560c60> : Parent: 0x0 / Fraction completed: 0.0000 / Completed: 0 of 100   to 1
Nov 24 07:53:18 iPod-touch installd[34] <Notice>: 0x505000 -[MIClientConnection _doBackgroundInstallationForPath:withOptions:completion:]: Install of "/var/mobile/Media/Downloads/-5385180128768125426/5064573708106418894" type Customer requested by itunesstored (pid 79)
Nov 24 07:53:18 iPod-touch installd[34] <Error>: 0x505000 _IsValidZipArchiveAccordingToBom: File starts with 0x3c3f786d; expected 0x504b0304
Nov 24 07:53:18 iPod-touch installd[34] <Error>: 0x505000 -[MIInstaller _setupPackageStateWithError:]: Archive at /var/mobile/Media/Downloads/-5385180128768125426/5064573708106418894 doesn't appear to be a zip archive
Nov 24 07:53:18 iPod-touch installd[34] <Error>: 0x505000 bom_fatal_error_handler: BOMCopier signaled fatal error: Couldn't read PKZip signature
Nov 24 07:53:18 iPod-touch installd[34] <Error>: 0x505000 +[MIBOMWrapper extractZipArchiveAtURL:toURL:withError:]: 145: Could not extract archive (Error Domain=NSPOSIXErrorDomain Code=0 "The operation couldn’t be completed. Undefined error: 0")
Nov 24 07:53:18 iPod-touch installd[34] <Error>: 0x505000 -[MIInstaller _extractPackageWithError:]: Failed to extract archive: Error Domain=MIInstallerErrorDomain Code=5 "Could not extract archive" UserInfo=0x17658b80 {LegacyErrorString=PackageExtractionFailed, FunctionName=+[MIBOMWrapper extractZipArchiveAtURL:toURL:withError:], NSLocalizedDescription=Could not extract archive, SourceFileLine=145, NSUnderlyingError=0x17557c70 "The operation couldn’t be completed. Undefined error: 0"}
Nov 24 07:53:18 iPod-touch itunesstored[79] <Error>: 0x2303000 __MobileInstallationInstallForLaunchServices_block_invoke240: Returned error Error Domain=MIInstallerErrorDomain Code=5 "Could not extract archive" UserInfo=0x145b56b0 {LegacyErrorString=PackageExtractionFailed, FunctionName=+[MIBOMWrapper extractZipArchiveAtURL:toURL:withError:], NSLocalizedDescription=Could not extract archive, SourceFileLine=145, NSUnderlyingError=0x145d9bc0 "The operation couldn’t be completed. Undefined error: 0"}
Nov 24 07:53:18 iPod-touch itunesstored[79] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil
Nov 24 07:53:18 iPod-touch lsd[72] <Warning>: LaunchServices: installation failed for app paulwieland.SAP-WM
Nov 24 07:53:18 iPod-touch itunesstored[79] <Warning>: LaunchServices: installPhaseFinishedForProgress: paulwieland.SAP-WM.Installing - <NSProgress: 0x145b6cb0> : Parent: 0x0 / Fraction completed: 0.0000 / Completed: 0 of 100   called, removing progress from cache
Nov 24 07:53:21 iPod-touch locationd[62] <Warning>: PLClientLogging: log locationd withContent {
    } cannot continue due to nils!
Nov 24 07:53:21 iPod-touch locationd[62] <Warning>: PLClientLogging: log locationd withContent {
    } cannot continue due to nils!
Nov 24 07:53:22 iPod-touch locationd[62] <Warning>: notify name "com.apple.locationd.DumpDiagnostics" has been registered 20 times - this may be a leak
Run Code Online (Sandbox Code Playgroud)

我真的很难过!