IOS Ad Hoc Crash Fails

I get the following error when trying to install the application through TestFlightApp.com.

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

I also tried installing via iTunes and Apple Configurator.

When I first received this error, I thought it might happen because the Apple developer was working a few weeks ago, so I restored all my certificates using a code signing request on my laptop and then rebuilt all provisioning profiles.

Then I deleted all profiles from my iPhone and Xcode, and I deleted TestFlight from my phone.

Then I archived the application, uploaded it for a test flight, gave permission to all devices in the profile and sent notifications by e-mail using the download link.

When I try to download, the progress bar comes to the end, then a tooltip appears. This is what I see in the console during installation (from the iPhone setup 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 have new certificates and profiles, the profile has devices that I try to install built-in, and I gave permission to these devices in TestFlight.

Now I’m at a loss, in the past I had problems with similar problems, so I have run out of all my usual ideas.

And I also tried to increase the version number (this worked in the past), but no luck.

I recently moved the project from the / Users / folder to an external hard drive, but I updated all the necessary paths, and I can create the application and run it through Xcode so that I cannot understand how this problem is.

UPDATE:. Thanks to Jason's answer, I managed to get another error from Apple Configurator

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

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

 iTunes Sync: 'helloworld' failed to install 
+6
source share
3 answers

The problem was my external hard drive, I am 100% sure of this, because I copied the project folder back to my SSD, built and compiled with the same certificates, and now it has passed the test flight.

This is a cheap USB hard drive that I bought since my Macbook is full and I have not yet saved enough for a new one. I would recommend not building on an external hard drive

I am not 100% sure, but I assume that my code signing certificates are valid only for the hard drive on which the project was originally created, moving it to the hard drive might have been like moving a folder to another computer, invalidating the code.

If someone else could confirm or strengthen my theory, which would be healthy, but, of course, moving the project back to the built-in hard drive of my laptop, the original location of the project immediately resolved me the problem.

+2
source

I work in TestFlight. At boot, we try to catch every scenario that we can prevent, but some cases are not caught or we have not seen before. And the iPhone error message “Unable to download the application” does not give you much information.

The best thing in this case is to take your IPA (the same one that you upload to TestFlight) and install it manually on the device. This is pretty easy if you are using Apple Configurator . If Apple Configurator cannot install it, the problem is not caused by TestFlight and, hopefully, the Configurator will give you more effective error messages that will help solve the problem. If he can install it, then this is probably a problem with TestFlight, and you should send us a support request here .

Anyway, let me know what will happen. Let's hope that next time we can put another download check to prevent this from happening.

+8
source

Then I archived the application, uploaded it for a test flight, gave permission to all devices in the profile and sent emails with notification of the download link.

You must add devices to your profile before creating and archiving the application. A list of approved devices is included in the application, and is not checked online during installation.

0
source

Source: https://habr.com/ru/post/952382/


All Articles