IOS for Ad-Hoc Mobile Ads: Error Failed to Extract Archive

I am trying to download my application over the Internet on my iOS 4.2 device.

I checked that the application that I built correctly installs and runs on my device through Xcode - that is, the application must be correctly built and signed. I pack it through "Build and Archive" and "Share ..." it - then upload the .plist and .ipa files to my server with which I have the correct links, etc .......

When I try to install it (over the air), it says "Waiting ...", then "Downloading ...", then "Installing ...", then I get the error message: "Unable to Download 'myAppName'" - (Done) (Retry).

Checking the console on my iPhone, I get the following:

Sat Jan 8 18:30:50 unknown installd [26090]: 2ff66000 extract_package: Unable to extract the archive Sat Jan 8 18:30:50 unknown installd [26090]: 2ff66000 stage_package: Unable to extract / var / tmp / install _staging.ReUsa4 /foo.zip to / var / tmp / install_staging.ReUsa4 / foo_extracted Sat Jan 8 18:30:50 unknown installd [26090]: 2ff66000 Installation MobileInstallation: failed step package Sat Jan 8 18:30:50 unknown installd [26090] : 2ff66000 handle_install: API failed Sat Jan 8 18:30:50 unknown com.apple.itunesstored [26087]: MobileInstallationInstall: failed -1

Looks like a bunch of Archive Extract problems. Does anyone know what this means? Any ideas ???

UPDATE: I installed the Diawi website and it worked perfectly. Thus, this is not a problem with fake code.

+8
ios iphone ios-provisioning ad-hoc-distribution
source share
7 answers

Are you sure that the URL you entered when distributing Enterprise points to your IPA file? The fact that it shows foo.zip seems to be pointing in that direction.

+13
source share

Another thing to check is the target deployment version compared to the iOS version for iPad. In my case, I created 4.3 goals, while my iPad was in 4.2.1. After I built 4.2 and downloaded, everything works fine.

+3
source share

Go to product → Edit schema → Assembly configuration

Modify Debug for release and try. enter image description here

+2
source share

Yes, we had the same problem

WRONG Application URL:http://www.mycompany.com/ RIGHT Application URL:http://www.mycompany.com/MyApp.ipa 

In the execution line below the icon is a hint: if you see "Unable to load", and the panel is at 0, I found that something in the plist is wrong.

Check all urls in plist. They must be open / downloadable in the browser.

If the progress bar moves too fast, it may find images, but the IPA problem is the problem, check the URL.

If it moves slowly, I find that its downloding IPA is normal.

If it reaches 75% and it fails, it usually means that it downloaded what it can, and now it does not work during installation.

Open Organizer / Logs of your device / console

if you see unzip error - "can not unarchive", then something is wrong with ipa. We had the wrong URL http://www.mycompany.com/ , so think that it downloaded default.htm because we said that this is the URL of the application, then we tried to unpack it and failed.

UNDER ANY CIRCUMSTANCES WERE NOT OBTAINED BY THE KERNELS WHICH DO NOT ALLOW THE EXAMPLES OF CRAPSIAN DOCUMENTS !!!!

+1
source share

I understood my problem, maybe you have the same problem. When uploading the .ipa file to my site, I did it as an ASCII file when it was supposed to be binary. Whatever way you download the files, make sure that you can specify the type of transfer used to download them. Hope this helps

0
source share

I uploaded my ipa to the shared host that I use for mastering. I tried a different host and it worked fine.

For future googlers, here are the errors that I received on my device in Organizer

 unknown installd[1595] <Error>: 2fff9000 bom_file_error_handler: Payload/MyApp/thumb@2x.png:No such file or directory unknown installd[1595] <Error>: 2fff9000 : Can't stat Payload/MyApp/thumb@2x.png: No such file or directory unknown installd[1595] <Error>: 2fff9000 : Can't stat Payload/MyApp: No such file or directory unknown installd[1595] <Error>: 2fff9000 extract_package: Could not extract archive unknown installd[1595] <Error>: 2fff9000 stage_package: Could not extract /var/tmp/install_staging.mqnjNY/foo.zip to /var/tmp/install_staging.mqnjNY/foo_extracted unknown com.apple.itunesstored[1605] <Notice>: MobileInstallationInstall: failed with -1 unknown installd[1595] <Error>: 2fff9000 MobileInstallationInstall: Could not stage the package unknown installd[1595] <Error>: 2fff9000 handle_install: API failed unknown installd[1595] <Error>: 2fff9000 send_message: failed to send mach message of 71 bytes: 10000003 unknown installd[1595] <Error>: 2fff9000 send_error: Could not send error response to client 
0
source share

I had the same problem.

I created an Ad-Hoc release to distribute my iPad application, correctly entered the URL, but then copied the .plist and .ipa files to the wrong directory on my FTP site.

By copying it to the right place (which corresponds to the "Application URL" parameter when creating the archive), this problem is fixed.

Sigh. It would be nice if the terminal gave us an easy-to-read description of why such applications could not be installed ...

0
source share

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


All Articles