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

时间:2014-11-24 15:58:16

标签: ios xcode ad-hoc-distribution

我有一个内部开发的应用程序,我正在使用AdHoc发行版进行分发。我有一个内部网页设置,其中包含 itms-services://?action = download-manifest 链接,可以在设备上安装它。

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

这就是我的所作所为:

  1. 在developer.apple.com网站
  2. 上添加了3个设备列表的UDID
  3. 将三个设备添加到现有的分发配置文件(有效期为8个月)
  4. 使用xCode管理器生成用于企业/ adhoc分发的新存档(生成新的ipa和plist)
  5. 尝试使用itms-services链接在新设备上安装应用程序
  6. 问题

    三个中的两个成功安装。第三个绝对拒绝安装。当我点击要安装的链接时,图标会出现在跳板上,它只是说"等待......"在它下面。什么都没发生。如果我重新启动设备,则会弹出以下消息:"无法下载应用程序。 " 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
    

    我真的很难过!

0 个答案:

没有答案