We are implementing OTA for one of our Enterprise application. We have two servers:
Server 1 (has SSL certificate & plist file & not connected to internet)
Server 2 (has the ipa and the index.html)
While installing the app only on iOS 8 it don't install and give error "Cannot install the app". But if we enable the Server1 internet access then its able to download the ipa file without any issues. We are using Xcode 7.
[EDIT]
Console logs from iPad which don't install
itunesstored[81] <Warning>: LaunchServices: installing placeholder for com.xxxx.xxxx.prod
installd[36] <Notice>: 0x341000 -[MIClientConnection _doBackgroundInstallationForPath:withOptions:completion:]: Install of "/var/mobile/Library/Caches/com.apple.itunesstored/AppPlaceholders/-8484403080815861275.app" type Placeholder requested by itunesstored (pid 81)
installd[36] <Notice>: 0x341000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=com.xxxx.xxxx.prod; Version=1.0, ShortVersion=(null)>
installd[36] <Notice>: 0x341000 -[MIContainer makeContainerLiveReplacingContainer:withError:]: Made container live for com.xxxx.xxxx.prod at /private/var/mobile/Containers/Data/Application/A5B9C69F-A609-4EED-A911-DDE2F0B89611
installd[36] <Notice>: 0x341000 -[MIContainer makeContainerLiveReplacingContainer:withError:]: Made container live for com.xxxx.xxxx.prod at /private/var/mobile/Containers/Bundle/Application/40830C31-35EC-4732-B9A0-24A7D04322BC
installd[36] <Notice>: 0x341000 -[MIInstaller performInstallationWithError:]: Staging: 0.02s; Waiting: 0.00s; Installation: 0.24s; Overall: 0.27s
itunesstored[81] <Warning>: LaunchServices: Creating installProgressForApplication:<LSApplicationProxy: 0x1568e270> com.xxxx.xxxx.prod (Placeholder) withPhase:3
itunesstored[81] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.xxxx.xxxx.prod.InstallingPlaceholder - <NSProgress: 0x15591d70> : Parent: 0x0 / Fraction completed: 0.0000 / Completed: 0 of 100 called, removing progress from cache
itunesstored[81] <Warning>: LaunchServices: updating placeholder for com.xxxx.xxxx.prod with icons
installd[36] <Notice>: 0x3c3000 -[MIClientConnection _doBackgroundInstallationForPath:withOptions:completion:]: Install of "/var/mobile/Library/Caches/com.apple.itunesstored/AppPlaceholders/-8484403080815861275.app" type Placeholder requested by itunesstored (pid 81)
installd[36] <Notice>: 0x3c3000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=com.xxxx.xxxx.prod; Version=1.0, ShortVersion=(null)>
installd[36] <Notice>: 0x3c3000 -[MIInstallableBundle _refreshUUIDForContainer:withError:]: Data container for com.xxxx.xxxx.prod is now at /private/var/mobile/Containers/Data/Application/AA9B9100-AF0E-4B33-BA4B-DA2F2395C3A0
installd[36] <Notice>: 0x3c3000 -[MIContainer makeContainerLiveReplacingContainer:withError:]: Made container live for com.xxxx.xxxx.prod at /private/var/mobile/Containers/Bundle/Application/58E2E2A7-A65F-43A0-8F7D-CF24A7F7414F
installd[36] <Notice>: 0x3c3000 -[MIInstaller performInstallationWithError:]: Staging: 0.15s; Waiting: 0.01s; Installation: 0.68s; Overall: 0.85s
itunesstored[81] <Warning>: LaunchServices: Creating installProgressForApplication:<LSApplicationProxy: 0x15679570> com.xxxx.xxxx.prod (Placeholder) withPhase:3
itunesstored[81] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.xxxx.xxxx.prod.InstallingPlaceholder - <NSProgress: 0x15679c70> : Parent: 0x0 / Fraction completed: 0.0000 / Completed: 0 of 100 called, removing progress from cache
itunesstored[81] <Warning>: LaunchServices: Creating installProgressForApplication:<LSApplicationProxy: 0x155850b0> com.xxxx.xxxx.prod (Placeholder) withPhase:0
lsd[72] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: 0x17e304e0> : Parent: 0x0 / Fraction completed: 0.0000 / Completed: 0 of 100 to 3
lsd[72] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: 0x17e304e0> : Parent: 0x0 / Fraction completed: 0.0000 / Completed: 0 of 100 to 0
Console logs from iPad which install
installd[36] <Notice>: 0x1b95000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=com.xxxx.xxxx.prod; Version=1.0, ShortVersion=2.4>
profiled[168] <Notice>: (Note ) MC: Provisioning profiles changed
installd[36] <Error>: SecTrustEvaluate [leaf CriticalExtensions IssuerCommonName]
lockdownd[26] <Error>: Could not set socket option SO_OPPORTUNISTIC: Invalid argument
installd[36] <Notice>: 0x1b95000 -[MIInstallableBundle _refreshUUIDForContainer:withError:]: Data container for com.xxxx.xxxx.prod is now at /private/var/mobile/Containers/Data/Application/B8DEEFE3-9137-44F7-88C0-C5B587C5ED4B
installd[36] <Notice>: 0x1b95000 -[MIContainer makeContainerLiveReplacingContainer:withError:]: Made container live for com.xxxx.xxxx.prod at /private/var/mobile/Containers/Bundle/Application/F6A1A1C3-7E3E-488E-AC15-206749F145AC
installd[36] <Notice>: 0x1b95000 -[MIInstaller performInstallationWithError:]: Staging: 4.86s; Waiting: 0.00s; Installation: 2.30s; Overall: 7.17s
lsd[154] <Warning>: LaunchServices: Updating identifier store
itunesstored[155] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.xxxx.xxxx.prod.Installing - <NSProgress: 0x145794c0> : Parent: 0x0 / Fraction completed: 1.0000 / Completed: 100 of 100 called, removing progress from cache
lsd[154] <Warning>: LaunchServices: installation ended for app com.xxxx.xxxx.prod
itunesstored[155] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.xxxx.xxxx.prod.Loading - <NSProgress: 0x14587450> : Parent: 0x0 / Fraction completed: 1.0000 / Completed: 1 of 1 called, removing progress from cache
Related
I am resigning the app with another developer account using the following script
codesign -f -s "Distribution Certificate Name" <app-name>.app
The app installs but not opens.
This is the approach everybody is following
But it is not working for me
Please find the device log below and let me know if you need more information
Device Log
Jul 18 20:24:31 iPad atc[31] <Warning>: |error| Unable to create file lock.
Jul 18 20:24:31 iPad crash_mover[235] <Notice>: (Error) NPSLogging: <NPSDomainAccessor.m +[NPSDomainAccessor resolveActivePairedDevicePairingID:pairingDataStore:]:41> Failed to resolve pairing ID ((null)) or data store ((null)) for active device
Jul 18 20:24:31 iPad profiled[125] <Notice>: (Note ) MC: Provisioning profiles changed
Jul 18 20:24:31 iPad profiled[125] <Notice>: (Note ) MC: Provisioning profiles changed
Jul 18 20:24:31 iPad profiled[125] <Notice>: (Note ) MC: Provisioning profiles changed
Jul 18 20:24:32 iPad storebookkeeperd[93] <Warning>: [UPP-SBDDomainSyncedStorageController] target sync date from client: 2016-06-28 14:54:42 +0000 (in 10.00 sec)
Jul 18 20:24:32 iPad storebookkeeperd[93] <Warning>: [UPP-SBDDomainSyncedStorageController] setting target date to: 2016-06-28 14:54:42 +0000 (in 62625085527.50 sec)
Jul 18 20:24:32 iPad storebookkeeperd[93] <Warning>: [UPP-SBDDomainSyncedStorageController] scheduling sync (via BackgroundTaskJob) 9.999761 seconds from now...
Jul 18 20:24:32 iPad atc[31] <Warning>: LaunchServices: installing placeholder for com.test.app
Jul 18 20:24:32 iPad UserEventAgent[17] <Error>: Could not get event name for stream/token: com.apple.backgroundtaskagent/99: 132: Request for stale data
Jul 18 20:24:32 iPad installd[40] <Notice>: 0x101dac000 -[MIClientConnection _doBackgroundInstallationForPath:withOptions:completion:]: Install of "/var/tmp/com.apple.atc.Apps/com.test.app.app" type Placeholder requested by atc (pid 31)
Jul 18 20:24:32 iPad installd[40] <Notice>: 0x101dac000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=com.test.app; Version=0.0.7, ShortVersion=(null)>
Jul 18 20:24:32 iPad MobileStorageMounter[237] <Error>: 0x199a51310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such process
Jul 18 20:24:32 iPad MobileStorageMounter[237] <Error>: 0x199a51310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
Jul 18 20:24:32 iPad MobileStorageMounter[237] <Error>: 0x199a51310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
Jul 18 20:24:32 iPad MobileStorageMounter[237] <Error>: 0x199a51310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
Jul 18 20:24:32 iPad MobileStorageMounter[237] <Error>: 0x199a51310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
Jul 18 20:24:32 iPad MobileStorageMounter[237] <Error>: 0x199a51310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
Jul 18 20:24:32 iPad MobileStorageMounter[237] <Error>: 0x199a51310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
Jul 18 20:24:32 iPad installd[40] <Notice>: 0x101dac000 -[MIContainer makeContainerLiveReplacingContainer:withError:]: Made container live for com.test.app at /private/var/mobile/Containers/Data/Application/CF25F5C1-3292-489E-827B-704042967A94
Jul 18 20:24:32 iPad installd[40] <Notice>: 0x101dac000 -[MIContainer makeContainerLiveReplacingContainer:withError:]: Made container live for com.test.app at /private/var/mobile/Containers/Bundle/Application/C5A68C95-B468-4CD6-B63C-AE78788A3C84
Jul 18 20:24:32 iPad installd[40] <Notice>: 0x101dac000 -[MIInstaller performInstallationWithError:]: Staging: 0.01s; Waiting: 0.00s; Installation: 0.16s; Overall: 0.18s
Jul 18 20:24:32 iPad deleted[148] <Warning>: LaunchServices: no bundle found with identifier com.apple.CacheDelete
Jul 18 20:24:32 iPad atc[31] <Warning>: LaunchServices: Creating installProgressForApplication:<LSApplicationProxy: 0x15766e400> com.test.app (Placeholder) withPhase:3
Jul 18 20:24:32 iPad atc[31] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.test.app.InstallingPlaceholder - <NSProgress: 0x1576a27c0> : Parent: 0x0 / Fraction completed: 0.0000 / Completed: 0 of 100 called, removing progress from cache
Jul 18 20:24:32 iPad atc[31] <Warning>: LaunchServices: Creating installProgressForApplication:<LSApplicationProxy: 0x159114b20> com.test.app (Placeholder) withPhase:0
Jul 18 20:24:32 iPad lsd[77] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: 0x13ed12ee0> : Parent: 0x0 / Fraction completed: 0.0000 / Completed: 0 of 100 to 0
Jul 18 20:24:34 iPad atc[31] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.test.app.Loading - <NSProgress: 0x1575d8370> : Parent: 0x0 / Fraction completed: 0.9900 / Completed: 990 of 1000 called, removing progress from cache
Jul 18 20:24:34 iPad SpringBoard[50] <Warning>: Killing com.test.app for app installation
Jul 18 20:24:34 iPad atc[31] <Warning>: LaunchServices: installing app for existing placeholder <LSApplicationProxy: 0x15766e400> com.test.app (Placeholder)
Jul 18 20:24:34 iPad atc[31] <Warning>: LaunchServices: Creating installProgressForApplication:<LSApplicationProxy: 0x15766e400> com.test.app (Placeholder) withPhase:1
Jul 18 20:24:34 iPad lsd[77] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: 0x13ed12ee0> : Parent: 0x0 / Fraction completed: 0.5900 / Completed: 59 of 100 to 1
Jul 18 20:24:34 iPad installd[40] <Notice>: 0x100584000 -[MIClientConnection _doBackgroundInstallationForPath:withOptions:completion:]: Install of "/var/mobile/Media/PublicStaging/test.ipa" type Customer requested by atc (pid 31)
Jul 18 20:24:34 iPad installd[40] <Notice>: 0x100584000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=com.test.app; Version=0.0.7, ShortVersion=0.0.7>
Jul 18 20:24:35 iPad profiled[125] <Notice>: (Note ) MC: Provisioning profiles changed
Jul 18 20:24:35 iPad installd[40] <Error>: SecTrustEvaluate [leaf CriticalExtensions IssuerCommonName]
Jul 18 20:24:35 iPad mobile_assertion_agent[157] <Notice>: service_one_connection: Connection closed for client iTunes.
Jul 18 20:24:35 iPad mobile_assertion_agent[157] <Notice>: service_one_connection: Connection closed for client iTunes.
Jul 18 20:24:35 iPad installd[40] <Error>: SecTrustEvaluate [leaf CriticalExtensions IssuerCommonName]
Jul 18 20:24:35 iPad installd[40] <Error>: SecTrustEvaluate [leaf CriticalExtensions IssuerCommonName]
Jul 18 20:24:35 iPad installd[40] <Error>: 0x100584000 -[MIInstallableBundle performVerificationWithError:]: 521: Application is missing the application-identifier entitlement.
Jul 18 20:24:35 iPad installd[40] <Error>: 0x100584000 -[MIInstaller performInstallationWithError:]: Verification stage failed
Jul 18 20:24:35 iPad atc[31] <Error>: 0x102294000 __MobileInstallationInstallForLaunchServices_block_invoke240: Returned error Error Domain=MIInstallerErrorDomain Code=63 "Application is missing the application-identifier entitlement." UserInfo=0x1575f4d40 {LegacyErrorString=ApplicationVerificationFailed, FunctionName=-[MIInstallableBundle performVerificationWithError:], SourceFileLine=521, NSLocalizedDescription=Application is missing the application-identifier entitlement.}
Jul 18 20:24:35 iPad atc[31] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil
Jul 18 20:24:35 iPad lsd[77] <Warning>: LaunchServices: installation failed for app com.test.app
Jul 18 20:24:35 iPad atc[31] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.test.app.Installing - <NSProgress: 0x1577ee5f0> : Parent: 0x0 / Fraction completed: 0.0000 / Completed: 0 of 100 called, removing progress from cache
Jul 18 20:24:36 iPad librariand[163] <Error>: ubiquity account is not configured (or is disabled for this client), not creating collection
Jul 18 20:24:36 iPad librariand[163] <Error>: error in _handle_client_request: LibrarianErrorDomain/10/Unable to configure the collection.
Jul 18 20:24:36 iPad bird[131] <Error>: unable to determine evictable space: Error Domain=LibrarianErrorDomain Code=10 "The operation couldn’t be completed. (LibrarianErrorDomain error 10 - Unable to configure the collection.)" UserInfo=0x15761d5f0 {NSDescription=Unable to configure the collection.}
Jul 18 20:24:42 iPad storebookkeeperd[93] <Warning>: [UPP-SBDDomainSyncedStorageController] running synchronizeImmediatelyWithCompletionHandler: now
Jul 18 20:24:42 iPad storebookkeeperd[93] <Warning>: [StoreBookkeeper] -[SBKUniversalPlaybackPositionStore _onQueueRunTaskWithName:taskCompletionHandler:runTaskBlock:] _onQueueSync - beginning synchronize operation...
Jul 18 20:24:42 iPad storebookkeeperd[93] <Warning>: [StoreBookkeeper] -[SBKUniversalPlaybackPositionStore _onQueueLoadBagContextWithCompletionHandler:] _onQueueLoadBag - load bag operation beginning...
Jul 18 20:24:42 iPad storebookkeeperd[93] <Warning>: [StoreBookkeeper] __81-[SBKUniversalPlaybackPositionStore _onQueueLoadBagContextWithCompletionHandler:]_block_invoke411 _onQueueLoadBag - load bag completed.
Jul 18 20:24:42 iPad storebookkeeperd[93] <Warning>: [StoreBookkeeper] __89-[SBKUniversalPlaybackPositionStore _onQueueSynchronizeImmediatelyWithCompletionHandler:]_block_invoke _onQueueSync - synchronize operation beginning...
Jul 18 20:24:44 iPad storebookkeeperd[93] <Warning>: [StoreBookkeeper] [SBKTransactionController.m:447] Transaction Failed: <SBKSyncTransaction: 0x147d6ab40> domain = com.apple.upp, SYNC: anchor=0 -- Error: <SBKStoreError:0x147d94940> "Error Code = SBKStoreErrorCodeStoreAccountSessionExpired (-1004)"
Jul 18 20:24:44 iPad storebookkeeperd[93] <Warning>: [StoreBookkeeper] __96-[SBKUniversalPlaybackPositionStore _onQueueRunTaskWithName:taskCompletionHandler:runTaskBlock:]_block_invoke279 _onQueueSync - synchronize completed. ERROR = 'Error Code = SBKStoreErrorCodeStoreAccountSessionExpired (-1004)'.
Jul 18 20:24:44 iPad storebookkeeperd[93] <Warning>: [UPP-SBDJobScheduler] Could not synchronize domain 'com.apple.upp' (<SBKStoreError:0x147e14a10> "Error Code = SBKStoreErrorCodeStoreAccountSessionExpired (-1004)"). Synchronization will be re-attempted when the network connectivity, or account status has changed.
Jul 18 20:24:50 iPad locationd[57] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
Starting from iOS 8.3 entitlement for the app is mandatory.
codesign -f -s "Distribution Certificate Name" <app-name>.app
When you resign the app using above command it removes the existing entitlement
So the command that you are using works before iOS 8.4.1
So in order for the app to run from iOS 8.4.1 you have to sign the app along with entitlements*
Here is the command that creates entitlements file
codesign -d --entitlements - <appname>.app > entitlements.plist
then sign the app with entitlements
codesign -f -s "Distribution Certificate Name" '--entitlements' 'entitlements.plist' <app-name>.app
I'm trying to install my enterprise app but after the alert on the webpage that says to install the app the icon just changes to the one selected on my device and after this dissappears.
I search and found that this could be caused by a different bundle id on the manifest and the app but this not seems to be the problem.
I deleted and re make the certificates and provisioning profiles to the distribution on house.
And of course I have a enterprise developer account.
When I try to install the app this is the console log of the device but i thing that doesn't gives significant information:
Jan 15 16:36:52 iPhone-de-Sergio itunesstored[108] <Warning>: LaunchServices: installing placeholder for <LSApplicationProxy: 0x137985e30> com.company.product <(null) *Not found in database*>
Jan 15 16:36:52 iPhone-de-Sergio installd[46] <Notice>: 0x16e1bb000 -[MIClientConnection installPath:withOptions:completion:]: Install of "/var/mobile/Library/Caches/com.apple.itunesstored/AppPlaceholders/2472169525513059198.app" type Placeholder (LSInstallType = 1) requested by itunesstored (pid 108)
Jan 15 16:36:52 iPhone-de-Sergio installd[46] <Notice>: 0x16e12f000 -[MIInstaller _extractPackageWithError:]: Incoming install at /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.OIMMYz/extracted/2472169525513059198.app had class 3; changing to class 4
Jan 15 16:36:52 iPhone-de-Sergio installd[46] <Notice>: 0x16e12f000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=com.company.product; Version=2.8, ShortVersion=(null)>
Jan 15 16:36:52 iPhone-de-Sergio installd[46] <Notice>: 0x16e12f000 -[MIContainer makeContainerLiveReplacingContainer:reason:withError:]: Made container live for com.company.product at /private/var/mobile/Containers/Data/Application/7159033A-3110-4210-9C62-A726D8A1165E
Jan 15 16:36:52 iPhone-de-Sergio installd[46] <Notice>: 0x16e12f000 -[MIContainer makeContainerLiveReplacingContainer:reason:withError:]: Made container live for com.company.product at /private/var/mobile/Containers/Bundle/Application/0941164D-1979-427A-8F73-FE9B1E963F9D
Jan 15 16:36:52 iPhone-de-Sergio installd[46] <Notice>: 0x16e12f000 -[MIInstaller performInstallationWithError:]: Install Successful; Staging: 0.00s; Waiting: 0.00s; Preflight/Patch: 0.00s, Verifying: 0.01s; Overall: 0.11s
Jan 15 16:36:52 iPhone-de-Sergio itunesstored[108] <Warning>: LaunchServices: Creating installProgressForApplication:<LSApplicationProxy: 0x1379819c0> com.company.product (Placeholder) <file:///private/var/mobile/Containers/Bundle/Application/0941164D-1979-427A-8F73-FE9B1E963F9D/2472169525513059198.app> withPhase:3
Jan 15 16:36:52 iPhone-de-Sergio itunesstored[108] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.company.product.InstallingPlaceholder - <NSProgress: 0x1366f76f0> : Parent: 0x0 / Fraction completed: 0.0000 / Completed: 0 of 100 called, removing progress from cache
Jan 15 16:36:52 iPhone-de-Sergio itunesstored[108] <Warning>: LaunchServices: updating placeholder for <LSApplicationProxy: 0x1379819c0> com.company.product (Placeholder) <file:///private/var/mobile/Containers/Bundle/Application/0941164D-1979-427A-8F73-FE9B1E963F9D/2472169525513059198.app> with icons
Jan 15 16:36:52 iPhone-de-Sergio installd[46] <Notice>: 0x16e087000 -[MIClientConnection installPath:withOptions:completion:]: Install of "/var/mobile/Library/Caches/com.apple.itunesstored/AppPlaceholders/2472169525513059198.app" type Placeholder (LSInstallType = 1) requested by itunesstored (pid 108)
Jan 15 16:36:52 iPhone-de-Sergio installd[46] <Notice>: 0x16e12f000 -[MIInstaller _extractPackageWithError:]: Incoming install at /private/var/mobile/Library/Caches/com.apple.mobile.installd.staging/temp.JdOYKB/extracted/2472169525513059198.app had class 3; changing to class 4
Jan 15 16:36:52 iPhone-de-Sergio installd[46] <Notice>: 0x16e12f000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=com.company.product; Version=2.8, ShortVersion=(null)>
Jan 15 16:36:52 iPhone-de-Sergio installd[46] <Notice>: 0x16e12f000 -[MIInstallableBundle _refreshUUIDForContainer:withError:]: Data container for com.company.product is now at /private/var/mobile/Containers/Data/Application/C5862B48-66D9-4C43-8062-7176554FA163
Jan 15 16:36:52 iPhone-de-Sergio installd[46] <Notice>: 0x16e12f000 -[MIContainer makeContainerLiveReplacingContainer:reason:withError:]: Made container live for com.company.product at /private/var/mobile/Containers/Bundle/Application/24EC78B5-0119-4D8B-AC5E-D600534DC00C
Jan 15 16:36:52 iPhone-de-Sergio installd[46] <Notice>: 0x16e12f000 -[MIInstaller performInstallationWithError:]: Install Successful; Staging: 0.00s; Waiting: 0.00s; Preflight/Patch: 0.00s, Verifying: 0.00s; Overall: 0.09s
Jan 15 16:36:53 iPhone-de-Sergio nsurlsessiond[112] <Error>: Task 15 for client <CFString 0x19ca56f00 [0x1a0e65b68]>{contents = "com.apple.itunesstored"} completed with error - code: -999
Jan 15 16:36:53 iPhone-de-Sergio itunesstored[108] <Warning>: LaunchServices: Creating installProgressForApplication:<LSApplicationProxy: 0x1367841b0> com.company.product (Placeholder) <file:///private/var/mobile/Containers/Bundle/Application/24EC78B5-0119-4D8B-AC5E-D600534DC00C/2472169525513059198.app> withPhase:0
Jan 15 16:36:53 iPhone-de-Sergio lsd[82] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: 0x12f56c5c0> : Parent: 0x0 / Fraction completed: 0.0000 / Completed: 0 of 100 to 0
Jan 15 16:36:53 iPhone-de-Sergio itunesstored[108] <Warning>: LaunchServices: Uninstalling placeholder for app <LSApplicationProxy: 0x13797bb60> com.company.product (Placeholder) <file:///private/var/mobile/Containers/Bundle/Application/24EC78B5-0119-4D8B-AC5E-D600534DC00C/2472169525513059198.app>
Jan 15 16:36:53 iPhone-de-Sergio itunesstored[108] <Warning>: LaunchServices: Uninstalling app <LSApplicationProxy: 0x13797bb60> com.company.product (Placeholder) <file:///private/var/mobile/Containers/Bundle/Application/24EC78B5-0119-4D8B-AC5E-D600534DC00C/2472169525513059198.app>
Jan 15 16:36:53 iPhone-de-Sergio installd[46] <Notice>: 0x16e12f000 -[MIClientConnection uninstallIdentifiers:withOptions:completion:]: Uninstall requested by itunesstored (pid 108) for identifier com.company.product with options: {
}
Jan 15 16:36:53 iPhone-de-Sergio lsd[82] <Warning>: LaunchServices: installation ended for app com.company.product
Jan 15 16:36:53 iPhone-de-Sergio lsd[82] <Warning>: LSInstallProgress: In subscribeBlock: could not find parent progress for com.company.product, it may have been removed
Jan 15 16:36:53 iPhone-de-Sergio lsd[82] <Warning>: LSInstallProgress: In subscribeBlock: could not find parent progress for com.company.product, it may have been removed
Jan 15 16:36:53 iPhone-de-Sergio lsd[82] <Warning>: LSInstallProgress: In subscribeBlock: could not find parent progress for com.company.product, it may have been removed
Jan 15 16:36:53 iPhone-de-Sergio lsd[82] <Warning>: LSInstallProgress: In subscribeBlock: could not find parent progress for com.company.product, it may have been removed
Jan 15 16:36:53 iPhone-de-Sergio installd[46] <Notice>: 0x16e12f000 -[MIUninstaller _uninstallBundleWithIdentifier:error:]: Uninstalling identifier com.company.product
Jan 15 16:36:53 iPhone-de-Sergio installd[46] <Notice>: 0x16e12f000 -[MIUninstallNotifier performRemovalWithCompletionBlock:]: Destroying container with identifier com.company.product at /private/var/mobile/Containers/Bundle/Application/24EC78B5-0119-4D8B-AC5E-D600534DC00C
Jan 15 16:36:53 iPhone-de-Sergio installd[46] <Notice>: 0x16e12f000 -[MIUninstallNotifier performRemovalWithCompletionBlock:]: Destroying container with identifier com.company.product at /private/var/mobile/Containers/Data/Application/C5862B48-66D9-4C43-8062-7176554FA163
Jan 15 16:36:53 iPhone-de-Sergio itunesstored[108] <Warning>: LaunchServies: No app bundle to remove for com.company.product
Jan 15 16:36:53 iPhone-de-Sergio lsd[82] <Warning>: LaunchServices: Updating identifier store
Jan 15 16:36:53 iPhone-de-Sergio itunesstored[108] <Warning>: LaunchServices: clearing created progress for com.company.product
What I'm making wrong?
I made the next mistakes, maybe for someone are useful:
Call all the links on the plist and html with https (And use a server that support that too). I has the mistake that mix http and https addresses on the href.
Ensure that the folder where the IPA is stored has permissions to download: I checked that on the root folder I can 'see' the file. on the folder when I'm publishing the app don't.
I have created a .ipa file to launch on a test users device. The user tries to install the file but mid way it stops and the icon is greyed out. I get the following error report:
itunesstored[100] <Warning>: LaunchServices: installing placeholder for com.TEST.Givr
installd[63] <Notice>: 0x2d5000 handle_install_for_ls: Install of "/var/mobile/Library/Caches/com.apple.itunesstored/AppPlaceholders/-7544261549455945179.app" requested by itunesstored
installd[63] <Notice>: 0x2d5000 MobileInstallationInstall_Server: Installing app com.TEST.Givr
installd[63] <Notice>: 0x2d5000 install_application: Installing placeholder
installd[63] <Notice>: 0x2d5000 MobileInstallationInstall_Server: Staging: 0.01s; Waiting: 0.00s; Installation: 0.11s; LS Sync: 0.00s; Overall: 0.12s
itunesstored[100] <Warning>: LaunchServices: updating placeholder for com.TEST.Givr with icons
installd[63] <Notice>: 0x2d5000 handle_install_for_ls: Install of "/var/mobile/Library/Caches/com.apple.itunesstored/AppPlaceholders/-7544261549455945179.app" requested by itunesstored
installd[63] <Notice>: 0x2d5000 MobileInstallationInstall_Server: Installing app com.TEST.Givr
installd[63] <Notice>: 0x2d5000 install_application: Installing placeholder
installd[63] <Notice>: 0x2d5000 MobileInstallationInstall_Server: Staging: 0.01s; Waiting: 0.00s; Installation: 0.26s; LS Sync: 0.00s; Overall: 0.28s
lsd[77] <Error>: ImageIO: PNG invalid PNG file: iDOT doesn't point to valid IDAT chunk
lsd[77] <Error>: ImageIO: PNG invalid PNG file: iDOT doesn't point to valid IDAT chunk
itunesstored[100] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: com.TEST.Givr (Placeholder) withPhase:0
lsd[77] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: phase=Loading; state=Waiting; fractionCompleted=0.000000> to 0
SpringBoard[34] <Warning>: Killing com.TEST.Givr for app installation
itunesstored[100] <Warning>: LaunchServices: installing app for existing placeholder LSApplicationProxy: com.TEST.Givr (Placeholder)
itunesstored[100] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: com.TEST.Givr (Placeholder) withPhase:1
lsd[77] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: phase=Loading; state=Active; fractionCompleted=0.590000> to 1
installd[63] <Notice>: 0x2d5000 handle_install_for_ls: Install of "/var/mobile/Media/Downloads/-7544261549455945179/8380994860813698163" requested by itunesstored
installd[63] <Notice>: 0x2d5000 MobileInstallationInstall_Server: Installing app com.TEST.Givr
securityd[84] <Error>: OCSPResponse: latestNextUpdate more than 1:15 ago
installd[63] <Error>: 0x2d5000 do_preflight_verification: Incorrect architecture at /var/tmp/install_staging.uWo8Ig/foo_extracted/Payload/Givr.app
installd[63] <Error>: 0x2d5000 install_application: Could not preflight application install
itunesstored[100] <Error>: 0x341000 MobileInstallationInstallForLaunchServices: failed with -1
itunesstored[100] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil
lsd[77] <Warning>: LaunchServices: installation failed for app com.TEST.Givr
itunesstored[100] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.TEST.Givr.Installing - <NSProgress: phase=Installing; state=Failed; fractionCompleted=0.000000> called, removing progress from cache
lsd[77] <Warning>: LaunchServices: installation failed for app com.TEST.Givr
itunesstored[100] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.TEST.Givr.Loading - <NSProgress: phase=Loading; state=Failed; fractionCompleted=1.000000> called, removing progress from cache
installd[63] <Error>: 0x2d5000 handle_install_for_ls: API failed
Any idea how to fix this? I have tested the app on my phone which is an iPhone 5, it is the developer device which i use to test on and the app launches fine. However it simply wont install on the users device. I used to get warnings about permissions, which I have fixed and are no longer there.. so no clue what the issue is now.
The error here has to do with your supported architectures. The compiled IPA must be only built for certain architectures (or only a specific one), and it doesn't include the architecture of the device the tester is running on.
installd[63] <Error>: 0x2d5000 do_preflight_verification: Incorrect architecture at /var/tmp/install_staging.uWo8Ig/foo_extracted/Payload/Givr.app
Go into your projects Build Settings, in the top section for "Architectures, make sure you have the following values for "Valid Architectures":
arm64 armv7 armv7s
Also, for the build config you are using for deployment, make sure your "Build Active Architecture Only" is set to No. And for Architectures, select Standard Architectures (armv7, armv7s, arm64) See below for what it should look like:
I have a very interesting problem. I have been through every post here on the "Unable to Download App" and I didn't see any that were specific to a version of iPhone. I have an in-house app that has been distributed and is working on all iPhone5's. However, when I try to install it onto an iPhone4s, I get the "Unable to Download App" error. This tells me it's not a distribution file (.ipa or provisioning profile) problem, but something else? I searched the console while trying to download the app and I don't see a single error. I'm hoping someone can see something in here that I am not!
Here is the console log from an iPhone4S with iOS 7.1.2 while trying to install the application (fails):
Jul 25 11:47:57 iPhone itunesstored[105] <Warning>: LaunchServices: installing placeholder for Ashley.Sales.MarketMessaging
Jul 25 11:47:57 iPhone installd[63] <Notice>: 0x307000 handle_install_for_ls: Install of "/var/mobile/Library/Caches/com.apple.itunesstored/AppPlaceholders/5136889450095461532.app" requested by itunesstored
Jul 25 11:47:57 iPhone installd[63] <Notice>: 0x307000 MobileInstallationInstall_Server: Installing app Ashley.Sales.MarketMessaging
Jul 25 11:47:57 iPhone installd[63] <Notice>: 0x307000 install_application: Installing placeholder
Jul 25 11:47:57 iPhone installd[63] <Notice>: 0x307000 MobileInstallationInstall_Server: Staging: 0.01s; Waiting: 0.00s; Installation: 0.09s; LS Sync: 0.00s; Overall: 0.11s
Jul 25 11:47:57 iPhone itunesstored[105] <Warning>: LaunchServices: updating placeholder for Ashley.Sales.MarketMessaging with icons
Jul 25 11:47:57 iPhone installd[63] <Notice>: 0x389000 handle_install_for_ls: Install of "/var/mobile/Library/Caches/com.apple.itunesstored/AppPlaceholders/5136889450095461532.app" requested by itunesstored
Jul 25 11:47:57 iPhone installd[63] <Notice>: 0x389000 MobileInstallationInstall_Server: Installing app Ashley.Sales.MarketMessaging
Jul 25 11:47:57 iPhone installd[63] <Notice>: 0x389000 install_application: Installing placeholder
Jul 25 11:47:57 iPhone installd[63] <Notice>: 0x389000 MobileInstallationInstall_Server: Staging: 0.01s; Waiting: 0.00s; Installation: 0.09s; LS Sync: 0.00s; Overall: 0.10s
Jul 25 11:47:59 iPhone itunesstored[105] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: Ashley.Sales.MarketMessaging (Placeholder) withPhase:0
Jul 25 11:47:59 iPhone lsd[77] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: phase=Loading; state=Waiting; fractionCompleted=0.000000> to 0
Jul 25 11:47:59 iPhone lsd[77] <Warning>: LaunchServices: installation failed for app Ashley.Sales.MarketMessaging
Jul 25 11:47:59 iPhone itunesstored[105] <Warning>: LaunchServices: installPhaseFinishedForProgress: Ashley.Sales.MarketMessaging.Loading - <NSProgress: phase=Loading; state=Failed; fractionCompleted=0.000000> called, removing progress from cache
In contrast, here is the log from an iPhone5s 7.1.2 (works):
Jul 25 11:53:09 KFlynns-iPhone itunesstored[91] <Warning>: LaunchServices: installing placeholder for Ashley.Sales.MarketMessaging
Jul 25 11:53:09 KFlynns-iPhone installd[17] <Notice>: 0x10059c000 handle_install_for_ls: Install of "/var/mobile/Library/Caches/com.apple.itunesstored/AppPlaceholders/6505358839705877198.app" requested by itunesstored
Jul 25 11:53:09 KFlynns-iPhone installd[17] <Notice>: 0x10059c000 MobileInstallationInstall_Server: Installing app Ashley.Sales.MarketMessaging
Jul 25 11:53:09 KFlynns-iPhone installd[17] <Notice>: 0x10059c000 install_application: Installing placeholder
Jul 25 11:53:10 KFlynns-iPhone installd[17] <Notice>: 0x10059c000 MobileInstallationInstall_Server: Staging: 0.01s; Waiting: 0.00s; Installation: 0.16s; LS Sync: 0.00s; Overall: 0.17s
Jul 25 11:53:10 KFlynns-iPhone itunesstored[91] <Warning>: LaunchServices: updating placeholder for Ashley.Sales.MarketMessaging with icons
Jul 25 11:53:10 KFlynns-iPhone installd[17] <Notice>: 0x10059c000 handle_install_for_ls: Install of "/var/mobile/Library/Caches/com.apple.itunesstored/AppPlaceholders/6505358839705877198.app" requested by itunesstored
Jul 25 11:53:10 KFlynns-iPhone installd[17] <Notice>: 0x10059c000 MobileInstallationInstall_Server: Installing app Ashley.Sales.MarketMessaging
Jul 25 11:53:10 KFlynns-iPhone installd[17] <Notice>: 0x10059c000 install_application: Installing placeholder
Jul 25 11:53:10 KFlynns-iPhone installd[17] <Notice>: 0x10059c000 MobileInstallationInstall_Server: Staging: 0.00s; Waiting: 0.00s; Installation: 0.08s; LS Sync: 0.00s; Overall: 0.08s
Jul 25 11:53:10 KFlynns-iPhone itunesstored[91] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: Ashley.Sales.MarketMessaging (Placeholder) withPhase:0
Jul 25 11:53:17 KFlynns-iPhone SpringBoard[16] <Warning>: Killing Ashley.Sales.MarketMessaging for app installation
Jul 25 11:53:17 KFlynns-iPhone itunesstored[91] <Warning>: LaunchServices: installing app for existing placeholder LSApplicationProxy: Ashley.Sales.MarketMessaging (Placeholder)
Jul 25 11:53:17 KFlynns-iPhone itunesstored[91] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: Ashley.Sales.MarketMessaging (Placeholder) withPhase:1
Jul 25 11:53:17 KFlynns-iPhone lsd[75] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: phase=Loading; state=Waiting; fractionCompleted=0.550000> to 1
Jul 25 11:53:17 KFlynns-iPhone installd[17] <Notice>: 0x100484000 handle_install_for_ls: Install of "/var/mobile/Media/Downloads/6505358839705877198/7224552171467111663" requested by itunesstored
Jul 25 11:53:18 KFlynns-iPhone installd[17] <Notice>: 0x100484000 MobileInstallationInstall_Server: Installing app Ashley.Sales.MarketMessaging
Jul 25 11:53:18 KFlynns-iPhone installd[17] <Notice>: 0x100484000 MobileInstallationInstall_Server: Staging: 0.89s; Waiting: 0.00s; Installation: 0.29s; LS Sync: 0.00s; Overall: 1.19s
Jul 25 11:53:18 KFlynns-iPhone lsd[75] <Warning>: LaunchServices: Updating identifier store
Jul 25 11:53:18 KFlynns-iPhone itunesstored[91] <Warning>: LaunchServices: installPhaseFinishedForProgress: Ashley.Sales.MarketMessaging.Installing - <NSProgress: phase=Installing; state=Finished; fractionCompleted=1.000000> called, removing progress from cache
Jul 25 11:53:18 KFlynns-iPhone lsd[75] <Warning>: LaunchServices: installation ended for app Ashley.Sales.MarketMessaging
Jul 25 11:53:18 KFlynns-iPhone lsd[75] <Warning>: LSInstallProgress: In observeValueForKeyPath:userInfo.installState could not find parent progress for Ashley.Sales.MarketMessaging, it may have been removed
Jul 25 11:53:18 KFlynns-iPhone lsd[75] <Warning>: LSInstallProgress: In observeValueForKeyPath:fractionCompleted could not find parent progress for Ashley.Sales.MarketMessaging, it may have been removed
Jul 25 11:53:18 KFlynns-iPhone itunesstored[91] <Warning>: LaunchServices: installPhaseFinishedForProgress: Ashley.Sales.MarketMessaging.Loading - <NSProgress: phase=Loading; state=Finished; fractionCompleted=1.000000> called, removing progress from cache
I will try anything at this point. I just don't understand what is different. I am hitting the exact same URL, it is being directed to the same d/l, even the console logs are almost exactly the same until the point the iPhone4s errors out.
Does anybody have any ideas?
It seems they had an old Provisioning Profile still on their phone from about a year ago (it was going to expire in 3 days), so I had them delete that and retry the install and it worked!
I have a ipa file which has build using Enterprise inhouse provisioning profile. We use OTA method to install that app in to our clients ipads. But App is not installed in to some ipads. Now we were able to recreate issue using two ipads. I have ipad4 and ipad2. Both connected to same wifi network and both have iOS 7.0.6. Then I tried to download the app using OTA. It installed in the ipad4 successfully but not installed in ipad2. It gives the "Unable to download the App" error message. Then I connect that to my mac and check the device's console. It has following messages.
iPad itunesstored[561] <Warning>: LaunchServices: installing placeholder for com.MyCompany.MyApp
iPad installd[536] <Notice>: 0x39d000 handle_install_for_ls: Install of "/var/mobile/Library/Caches/com.apple.itunesstored/AppPlaceholders/1749989453537340485.app" requested by itunesstored
iPad installd[536] <Notice>: 0x39d000 MobileInstallationInstall_Server: Installing app com.MyCompany.MyApp
iPad installd[536] <Notice>: 0x39d000 install_application: Installing placeholder
iPad installd[536] <Notice>: 0x39d000 MobileInstallationInstall_Server: Staging: 0.01s; Waiting: 0.00s; Installation: 0.11s; LS Sync: 0.00s; Overall: 0.13s
iPad itunesstored[561] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: com.MyCompany.MyApp (Placeholder) withPhase:0
iPad lsd[533] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: phase=Loading; state=Waiting; fractionCompleted=0.000000> to 0
iPad com.apple.StreamingUnzipService[563] <Warning>: -[StreamingUnzipState finishStream]:423: Finishing an incomplete stream! This stream will not be resumable.
iPad SpringBoard[33] <Warning>: Killing com.MyCompany.MyApp for app installation
iPad itunesstored[561] <Warning>: LaunchServices: installing app for existing placeholder LSApplicationProxy: com.MyCompany.MyApp (Placeholder)
iPad itunesstored[561] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: com.MyCompany.MyApp (Placeholder) withPhase:1
iPad lsd[533] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: phase=Loading; state=Active; fractionCompleted=0.600000> to 1
iPad installd[536] <Notice>: 0x39d000 handle_install_for_ls: Install of "/var/mobile/Media/Downloads/1749989453537340485/7080414486808559068" requested by itunesstored
iPad installd[536] <Error>: 0x39d000 peruse_package: App info dict loaded from "/var/tmp/install_staging.oyOT8C/7080414486808559068.app" did not have bundle identifier
iPad installd[536] <Error>: 0x39d000 stage_package: Could not peruse package at /var/tmp/install_staging.oyOT8C/7080414486808559068.app
iPad installd[536] <Error>: 0x39d000 MobileInstallationInstall_Server: Could not stage the package
iPad itunesstored[561] <Error>: 0x3b1000 MobileInstallationInstallForLaunchServices: failed with -1
iPad installd[536] <Error>: 0x39d000 handle_install_for_ls: API failed
iPad itunesstored[561] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil
iPad lsd[533] <Warning>: LaunchServices: installation failed for app com.MyCompany.MyApp
iPad itunesstored[561] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.MyCompany.MyApp.Installing - <NSProgress: phase=Installing; state=Failed; fractionCompleted=0.000000> called, removing progress from cache
iPad backboardd[29] <Warning>: Chrome[582]: Could not stat /private/var/mobile/Applications/95F58263-C6D2-4105-A4D8-62DE122E2878/tmp/etilqs_td6dxKTMWgjL7qB: No such file or directory
iPad lsd[533] <Warning>: LaunchServices: installation failed for app com.MyCompany.MyApp
iPad itunesstored[561] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.MyCompany.MyApp.Loading - <NSProgress: phase=Loading; state=Failed; fractionCompleted=1.000000> called, removing progress from cache
Can some one help me to sort this out.