【问题标题】:iOS app doesn't install on test users deviceiOS 应用程序未安装在测试用户设备上
【发布时间】:2014-09-30 17:40:04
【问题描述】:

我创建了一个 .ipa 文件以在测试用户设备上启动。用户尝试安装文件,但中途停止并且图标变灰。我收到以下错误报告:

itunesstored[100] <Warning>: LaunchServices: installing placeholder for com.TEST.Givr
installd[63] <Notice>: 0x2d5000 handle_install_for_ls: Install of "/var/mobile/Library/Caches/com.apple.itunesstored/AppPlaceholders/-7544261549455945179.app" requested by itunesstored
installd[63] <Notice>: 0x2d5000 MobileInstallationInstall_Server: Installing app com.TEST.Givr
installd[63] <Notice>: 0x2d5000 install_application: Installing placeholder
installd[63] <Notice>: 0x2d5000 MobileInstallationInstall_Server: Staging: 0.01s; Waiting: 0.00s; Installation: 0.11s; LS Sync: 0.00s; Overall: 0.12s
itunesstored[100] <Warning>: LaunchServices: updating placeholder for com.TEST.Givr with icons
installd[63] <Notice>: 0x2d5000 handle_install_for_ls: Install of "/var/mobile/Library/Caches/com.apple.itunesstored/AppPlaceholders/-7544261549455945179.app" requested by itunesstored
installd[63] <Notice>: 0x2d5000 MobileInstallationInstall_Server: Installing app com.TEST.Givr
installd[63] <Notice>: 0x2d5000 install_application: Installing placeholder
installd[63] <Notice>: 0x2d5000 MobileInstallationInstall_Server: Staging: 0.01s; Waiting: 0.00s; Installation: 0.26s; LS Sync: 0.00s; Overall: 0.28s
lsd[77] <Error>: ImageIO: PNG invalid PNG file: iDOT doesn't point to valid IDAT chunk
lsd[77] <Error>: ImageIO: PNG invalid PNG file: iDOT doesn't point to valid IDAT chunk
itunesstored[100] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: com.TEST.Givr (Placeholder) withPhase:0
lsd[77] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: phase=Loading; state=Waiting; fractionCompleted=0.000000> to 0
SpringBoard[34] <Warning>: Killing com.TEST.Givr for app installation
itunesstored[100] <Warning>: LaunchServices: installing app for existing placeholder LSApplicationProxy: com.TEST.Givr (Placeholder)
itunesstored[100] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: com.TEST.Givr (Placeholder) withPhase:1
lsd[77] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: phase=Loading; state=Active; fractionCompleted=0.590000> to 1
installd[63] <Notice>: 0x2d5000 handle_install_for_ls: Install of "/var/mobile/Media/Downloads/-7544261549455945179/8380994860813698163" requested by itunesstored
installd[63] <Notice>: 0x2d5000 MobileInstallationInstall_Server: Installing app com.TEST.Givr
securityd[84] <Error>: OCSPResponse: latestNextUpdate more than 1:15 ago
installd[63] <Error>: 0x2d5000 do_preflight_verification: Incorrect architecture at /var/tmp/install_staging.uWo8Ig/foo_extracted/Payload/Givr.app
installd[63] <Error>: 0x2d5000 install_application: Could not preflight application install
itunesstored[100] <Error>: 0x341000 MobileInstallationInstallForLaunchServices: failed with -1
itunesstored[100] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil
lsd[77] <Warning>: LaunchServices: installation failed for app com.TEST.Givr
itunesstored[100] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.TEST.Givr.Installing - <NSProgress: phase=Installing; state=Failed; fractionCompleted=0.000000> called, removing progress from cache
lsd[77] <Warning>: LaunchServices: installation failed for app com.TEST.Givr
itunesstored[100] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.TEST.Givr.Loading - <NSProgress: phase=Loading; state=Failed; fractionCompleted=1.000000> called, removing progress from cache
installd[63] <Error>: 0x2d5000 handle_install_for_ls: API failed

知道如何解决这个问题吗?我已经在我的 iPhone 5 手机上测试了该应用程序,它是我用来测试的开发人员设备,并且该应用程序可以正常启动。但是,它根本不会安装在用户设备上。我曾经收到有关权限的警告,我已经修复并且不再存在..所以不知道现在的问题是什么。

【问题讨论】:

  • 您使用的是什么类型的安装(OTA、iTunes)?你有什么开发者计划?
  • 我正在使用 TestFlight 来部署应用程序。用 iTunes 也试过了。我在 iOS 开发者计划中
  • 在创建配置文件之前,您确定您的设备列表中有用户的 UDID?
  • 是的,检查了很多次。甚至要求我选择 udid,我确定我选择了。我也重新制作了分发证书,也重新制作了临时配置文件,也重新制作了存档。我认为这不再是权限问题了吗?
  • 这是一个长镜头,但可能是部署目标/设备 iOS 版本不一致?

标签: ios iphone xcode beta


【解决方案1】:

这里的错误与您支持的架构有关。编译后的 IPA 必须仅针对特定架构(或特定架构)构建,并且不包括运行测试仪的设备的架构。

installd[63] &lt;Error&gt;: 0x2d5000 do_preflight_verification: Incorrect architecture at /var/tmp/install_staging.uWo8Ig/foo_extracted/Payload/Givr.app

进入您的项目构建设置,在顶部的“架构”部分,确保“有效架构”具有以下值:

arm64 armv7 armv7s

此外,对于您用于部署的构建配置,请确保您的“仅构建活动架构”设置为 No。对于架构,请选择 Standard Architectures (armv7, armv7s, arm64) 如下所示:

【讨论】:

  • 是的,这就是问题所在。我以为这已经有一段时间了,但我认真地避免修复它,纯粹是因为我使用了一个与 64 位设备不兼容的框架(coreplot)......必须删除它。
  • 从技术上讲,您不需要为 arm64 构建。您可以将其从有效架构中取出并构建,并且 64 位设备仍然能够运行该应用程序。重要的是“仅构建活动架构”。您应该能够将 Valid Architectures 设置保留为 armv7 armv7s,它应该仍然可以工作,同时仍然允许您使用非 64 库。
  • 我遇到了完全相同的问题,但标准架构师的唯一选择是:arm64 armv7 armv7s 想法?
  • “有效架构”的设置是什么?“仅构建活动架构”的设置是什么?你运行的是什么版本的 Xcode?​​span>
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 2017-04-21
  • 1970-01-01
  • 2013-12-18
  • 2020-05-08
相关资源
最近更新 更多