iOS Ad Hoc安装失败 [英] iOS Ad Hoc installation failing

查看:199
本文介绍了iOS Ad Hoc安装失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试通过TestFlightApp.com安装应用程序时出现以下错误.

"Unable to download application. "helloworld" could not be installed at this time.

我也尝试过通过iTunes和Apple Configurator安装.

当我第一次遇到此错误时,我认为这可能是由于几周后苹果的开发人员程序出现故障,所以我使用笔记本电脑上的代码签名请求重新生成了所有证书,然后重新构建了所有配置文件. /p>

然后我从iPhone和XCode删除了所有配置文件,并从电话中删除了TestFlight.

然后我将应用程序存档,上传到试飞中,授予配置文件中的所有设备许可,并发送带有下载链接的通知电子邮件.

当我尝试下载时,进度条几乎一直走到尽头,然后弹出错误消息.这是我在安装过程中在控制台中看到的(通过iPhone配置实用程序):

SpringBoard[67] <Warning>: Killing com.helloworldapp for app installation
installd[53] <Error>: 0x2c6000 handle_install: Install 
    of "/var/mobile/Media/Downloads/-2429066128781955904/-410631401396950200" 
    requested by itunesstored
installd[53] <Error>: 0x2c6000 MobileInstallationInstall_Server: Installing 
    app com.helloworldapp
installd[53] <Error>: Aug 23 11:45:37  SecTrustEvaluate  
    [leaf CriticalExtensions IssuerCommonName]
installd[53] <Error>: 0x2c6000 verify_signer_identity: 
    MISValidateSignatureAndCopyInfo failed for
    /var/tmp/install_staging.a1ku9y/foo_extracted/Payload/helloworld.app/helloworld: 0xe8008017
installd[53] <Error>: 0x2c6000 do_preflight_verification: Could not verify 
    executable at /var/tmp/install_staging.a1ku9y/foo_extracted/Payload/helloworld.app
installd[53] <Error>: 0x2c6000 install_application: Could not preflight 
    application install
itunesstored[71] <Error>: 0x183b000 MobileInstallationInstall: failed with -1
installd[53] <Error>: 0x2c6000 handle_install: API failed

所以我有全新的证书和配置文件,该配置文件包含我要安装的嵌入式设备,并且我已经在TestFlight中授予了这些设备的权限.

我现在很茫然,过去我已经解决了类似的问题,所以我用尽了我所有的惯常想法.

我也尝试过增加版本号,(过去曾经这样做过),但是没有运气.

我最近将项目从我的/Users/文件夹移到了外部硬盘驱动器,但是我已经更新了所有必需的路径,并且可以构建应用程序并通过Xcode运行它,所以我看不出这是怎么回事

更新:由于Jason的回答,我设法从Apple Configurator中获得了不同的错误

A signed resource has been added, modified or deleted
-402620393
com.apple.mdk.amderror

更新:出于完整性考虑,这是我尝试通过iTunes进行同步时在iPhone上出现的错误:

iTunes Sync: 'helloworld' failed to install

解决方案

问题是我的外部硬盘驱动器,我对此有100%的把握,因为我将项目文件夹复制回了我的SSD,并使用相同的文件进行了构建和编译证书,现在已经通过了试飞.

这是我购买的廉价USB硬盘驱动器,因为Macbook驱动器已满,我还没有花足够的钱来买一个新的USB硬盘.我建议不要在外部硬盘上构建

我不确定100%,但是我猜我的代码签名证书仅对最初创建该项目的HDD有效,将其移至HDD可能就像将文件夹完全移至另一台计算机一样,使代码签名无效.

如果任何人都可以证实或加强我的理论,那很好,但是可以肯定的是,将项目移回笔记本电脑的内置硬盘中,该项目的原始位置立即为我解决了问题.

I'm getting the following error when I try to install an app via TestFlightApp.com.

"Unable to download application. "helloworld" could not be installed at this time.

I've also tried installing via iTunes and the Apple Configurator.

When I first got this error, I thought it might be due to Apple's developer program being down a few weeks back, so I regenerated all my certificates using the code signing request on my laptop, then rebuilt all my provisioning profiles.

I then deleted all the profiles from my iPhone, and from XCode, and I deleted TestFlight from my phone.

Then I archived the app, uploaded to test flight, gave permission to all the devices in the profile, and sent the notification emails with the download link.

When I try to download, the progress bar gets nearly all the way to the end then the error pops up. This is what I see in the Console during installation (from the iPhone Configuration Utility):

SpringBoard[67] <Warning>: Killing com.helloworldapp for app installation
installd[53] <Error>: 0x2c6000 handle_install: Install 
    of "/var/mobile/Media/Downloads/-2429066128781955904/-410631401396950200" 
    requested by itunesstored
installd[53] <Error>: 0x2c6000 MobileInstallationInstall_Server: Installing 
    app com.helloworldapp
installd[53] <Error>: Aug 23 11:45:37  SecTrustEvaluate  
    [leaf CriticalExtensions IssuerCommonName]
installd[53] <Error>: 0x2c6000 verify_signer_identity: 
    MISValidateSignatureAndCopyInfo failed for
    /var/tmp/install_staging.a1ku9y/foo_extracted/Payload/helloworld.app/helloworld: 0xe8008017
installd[53] <Error>: 0x2c6000 do_preflight_verification: Could not verify 
    executable at /var/tmp/install_staging.a1ku9y/foo_extracted/Payload/helloworld.app
installd[53] <Error>: 0x2c6000 install_application: Could not preflight 
    application install
itunesstored[71] <Error>: 0x183b000 MobileInstallationInstall: failed with -1
installd[53] <Error>: 0x2c6000 handle_install: API failed

So I've got brand new certificates and profiles, the profile has the devices I'm trying to install embedded and I've given permission to those devices in TestFlight.

I'm at a loss now, I've fixed similar problems to this in the past, so I've run out of all my usual ideas.

And I've tried increasing the version number as well, (that's worked in the past) but no luck.

I recently moved the project from my /Users/ folder to an external hard drive, but I've updated all the necessary paths and I can build the app and run it via Xcode so I can't see how that's the problem.

UPDATE: Thanks to Jason's answer I've managed to get a different error from the Apple Configurator

A signed resource has been added, modified or deleted
-402620393
com.apple.mdk.amderror

UPDATE: For completeness, here's the error I get on the iPhone when trying to sync via iTunes:

iTunes Sync: 'helloworld' failed to install

解决方案

The problem was my external hard drive, I'm 100% certain of this because I copied the project folder back onto my SSD, built and compiled with the same certificates and now it's gone through test flight.

It's a cheap USB hard drive I bought as my Macbook drive is full and I haven't saved up enough for a new one yet. I would recommend not building on an external HDD

I'm not 100% sure but I'm guessing my code signing certificates were only valid for the HDD that the project was originally created on, moving it to the HDD may have been like moving the folder to a different computer altogether, invalidating the code signing.

If anyone else could confirm or reinforce my theory that'd be great, but certainly moving the project back to the built in HDD of my laptop, the project's original location, resolved the problem for me immediately.

这篇关于iOS Ad Hoc安装失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆