iOS应用程序不会安装在测试用户设备上

时间:2014-08-07 12:59:49

标签: ios iphone xcode beta

我创建了一个.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,它是我用来测试的开发者设备,应用程序启动很好。但是它根本不会安装在用户设备上。我曾经收到有关权限的警告,我已经修复了这些权限,不再存在..所以不知道现在的问题是什么。

1 个答案:

答案 0 :(得分:1)

此处的错误与您支持的体系结构有关。编译的IPA必须仅针对某些体系结构(或仅针对特定体系结构)构建,并且不包括运行测试器的设备的体系结构。

installd[63] <Error>: 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)请参阅下面的内容:

example of architecture settings