iOS Enterprise OTA distribution Unable to Download

2019-01-07 09:44发布

I created an iOS app and want to distribute it Over-The-Air. I followed this guide:

http://help.apple.com/iosdeployment-apps/mac/1.1/?lang=en-us#app43ad77ea

The App is signed with the enterprise certificate and contains the distribution provisioning profile.

When I try to download the App onto the ipad (using the technique described in this guide), a square icon with my download icon appears on the screen with the name "Waiting...", then a second later the name changes to my actual application name and then again a second later i receive the error message:

Unable to Download Application

"Your Application" could not be downloaded at this time.

in the guide, there are three troubleshooting tips:

if wireless app distribution fails with an “unable to download” message, check the following:

Make sure the app is signed correctly. Test it by installing it on a device using iPhone Configuration Utility or Apple Configurator, and see if any errors occur.

Make sure the link to the manifest file is correct and the manifest file is accessible to web users.

Make sure the URL to the .ipa file (in the manifest file) is correct and the .ipa file is accessible to web users.

I checked all three things and they are fine.

What else could cause my download problems?

8条回答
孤傲高冷的网名
2楼-- · 2019-01-07 10:04

I found in console.

installcoordinationd(MobileInstallation)[99] : ****bundleID****:5:11:1:1:Updating PlaceholderMetadata for ****bundleID**** with failure 1 _LSInstallType 1, underlyingError (Error Domain=MIInstallerErrorDomain Code=13 "Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.IoCSM9/extracted/Payload/App.app : 0xe8008016 (The executable was signed with invalid entitlements.)" UserInfo={LibMISErrorNumber=-402620394, LegacyErrorString=ApplicationVerificationFailed, SourceFileLine=147, FunctionName=+[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:], NSLocalizedDescription=Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.IoCSM9/extracted/Payload/App.app : 0xe8008016 (The executable was signed with invalid entitlements.)}), source 17>

Here we should look at:
Failed to verify code signature of App.app
The executable was signed with invalid entitlements.

In my case it was because i downloaded enterprise build from amazon. But the provisioning profile, which it was builded with, was expired (figured out in developer console).


Another one with the other purpose:

"This app could not be installed at this time." UserInfo={NSLocalizedDescription=This app could not be installed at this time., NSUnderlyingError=0x100cbd3c0 {Error Domain=MIInstallerErrorDomain Code=64 "Upgrade's application-identifier entitlement string (BBBUUUU.com.bundle.www) does not match installed application's application-identifier string (CCCEEEE.com.bundle.www); rejecting upgrade." UserInfo={LegacyErrorString=MismatchedApplicationIdentifierEntitlement, FunctionName=-[MIInstallableBundle _validateApplicationIdentifierForNewBundleSigningInfo:error:], SourceFileLine=878, NSLocalizedDescription=Upgrade's application-identifier entitlement string (BBBUUUU.com.bundle.www) does not match installed application's application-identifier string (CCCEEEE.com.bundle.www); rejected

Here i just removed the previous version of the app. The error was, because i changed the team for the bundle ID and it was installed the app with previous bundle ID.


Open console with:

  • Xcode > Window > Devices
  • Select the device
  • Expand a console with with a box with an arrow inside of it in the bottom left corner.
0

Try checking bundle identifier in your XCode and .plist file

0

In my case I did following to get rid off "cannot connect to dl.dropboxusercontent" message after providing ipa shared link. 1. Removed md5 section from plist 2. Uploaded 512*512 and 57*57 images to drop box, and provided shared link in fill_size_image and display_image in plist.

  • Huh? What does dropbox have to do with this? – Todd Sewell Mar 3 '17 at 20:43
  • The bundle was published on Dropbox, – Lakhwinder Mar 5 '17 at 5:52
0

The first thing to check here is that the device you are installing on has the correct OS for the app your are installing. For instance, if the app is built for iOS 11, and your device has iOS 10 on it, then the app will install but you will see this error "Unable to Download Application".

0

In my case, there was a problem with incorrect file permissions of the FTP folder and the files inside (manifest, ipa, images). Check that they have 775 (rwx) and that Owner/Group is your owner.

The error in the device console was like "Cannot connect to iTunes Store" or "Failed artwork for bundleID" or "Failed to load placeholder artwork for bundleID". But it's just about the files.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.

查看更多
\"骚年 ilove
3楼-- · 2019-01-07 10:08

Make sure the casing is matching in all the files. They tend to be case insensitive.

查看更多
登录 后发表回答
相关问题
查看全部
相关文章
查看全部
收藏的人(5)