Search code examples
deploymentios-provisioningxcode6.1ios8.1over-the-air

iOS 8.1 Can't install OTA Enterprise app - "Unable to download app"


I know that my question is similar to this iOS8 Enterprise app install issue However none of the answers helped me and I no one explained the crash log errors which I think hold the key for solving the real problem rather then trying to add another solution that might work.

What I tried so far:

Here are the logs:

iPad-itunesstored[81] <Warning>: LaunchServices: installing placeholder for com.firmName.

iPad installd[34] <Notice>: 0x1ad5000 -[MIClientConnection _doBackgroundInstallationForPath:withOptions:completion:]: Install of "/var/mobile/Library/Caches/com.apple.itunesstored/AppPlaceholders/5715016884658519113.app" type Placeholder requested by itunesstored (pid 81)

PID 81 = app installation request

PID 31 = pid81 request a placeholder installation which should be done in the background by pid 31

iPad installd[34] <Notice>: 0x1ad5000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=com.firmName.AppyName; Version=1.0, ShortVersion=(null)>

Installation in progress...

iPad MobileStorageMounter[187] <Error>: 0x3cce29dc Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such process
iPad MobileStorageMounter[187] <Error>: 0x3cce29dc Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
iPad MobileStorageMounter[187] <Error>: 0x3cce29dc Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
iPad MobileStorageMounter[187] <Error>: 0x3cce29dc Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory

ERROR OCCURRED

The MobileStorageMountersounds the error, it isn't cause of the ipad storage there is plenty space. PID 31 got killed therefore there is not process and it seems the placeholder got removed aswell thats why there is no such file or directory?

Here is the rest:

iPad installd[34] <Notice>: 0x1ad5000 -[MIContainer makeContainerLiveReplacingContainer:withError:]: Made container live for com.firmName.AppyName at /private/var/mobile/Containers/Data/Application/FE556E7D-F0BF-4E83-8140-5A9BA7574E8A
iPad installd[34] <Notice>: 0x1ad5000 -[MIContainer makeContainerLiveReplacingContainer:withError:]: Made container live for com.firmName.AppyName at /private/var/mobile/Containers/Bundle/Application/D3564BA0-3940-40EB-926F-F1A04D5FA5BF

iPad installd[34] <Notice>: 0x1ad5000 -[MIInstaller performInstallationWithError:]: Staging: 0.04s; Waiting: 0.00s; Installation: 0.70s; Overall: 0.74s
iPad itunesstored[81] <Warning>: LaunchServices: Creating installProgressForApplication:<LSApplicationProxy: 0x14d26cf0> com.firmName.AppyName (Placeholder) withPhase:3

iPad itunesstored[81] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.firmName.AppyName.InstallingPlaceholder - <NSProgress: 0x14f94a40> : Parent: 0x0 / Fraction completed: 0.0000 / Completed: 0 of 100   called, removing progress from cache

iPad kernel[0] <Notice>: flow_divert_token_set (0): Failed to get the key unit from the token: 22
iPad lockdownd[24] <Error>: Could not set socket option SO_OPPORTUNISTIC: Invalid argument
iPad kernel[0] <Notice>: flow_divert_token_set (0): Failed to get the key unit from the token: 22
iPad lockdownd[24] <Error>: Could not set socket option SO_OPPORTUNISTIC: Invalid argument
iPad filecoordinationd[138] <Warning>: sandboxing denied subscription to progress on category com.firmName.AppyName (bundle id (null), EF50B943-DC1D-493E-AAD3-DBAEA8F380D8)

iPad filecoordinationd[138] <Warning>: sandboxing denied subscription to progress on category com.firmName.AppyName (bundle id com.apple.iaptransportd, AC37404E-9FF1-474E-A2A3-F92E3E3EE0ED)

It seems that PID 81 completed with 0 of 100 and was removed. It seems that all failed at the placeholder creation?

The app works perfectly when build by Xcode 6.1.1 and plugged into any device. The also worked one time via Enterprise distribution and then never again (I downloaded and installed it, after which this was never possible). The app is always in the "Waiting..." state.

Any advice or idea is welcome. I really have no clue anymore or any idea. Is there another way beside OTA/Adhoc distribution?


Solution

  • I tried all combinations of answers and solutions for iOS 8.1. both on iPads and iPods with getting no step further. The solution that works is using apples testFlight. I think that the old way is meant not to work so developers would slowly switch to testFlight. I wasted two working days, hope this helps you rather then wasting time.

    About testFlight: testFlight apple page

    This simple tutorial lead me: iOS8 testFlight tutorial

    UPDATE 1 (24.05.2015):

    The enterprise distribution is working now for me.My colleague updated the SSL on the server twice. He updated some two keys that were used for SSL authentication since some certificates have been changed and updated. Also the distribution works on the following devices:

    iPod (4th,8.2),iPhone 5S(8.3), iPad 2 (8.3), iPad 4(8.3).

    However it doesn't work and doesn't give any error report (or error line) in Xcode - Window - Devices iPad 3 Console. I have been using successfully uploaded my app using Xcode 6.2+ IDE (currently 6.3.1.). In all cases no default plist file was added and I used the plist file from here : Xcode 6 enterprise plist file example