resigned ipa installs in iOS 8 but not installing in iOS 9+ - ios

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

Related

Application is not installing after resigning the app

I have followed resigning of the app using this approach
link
When I sign the application using the code signing identity of same account,I am not facing any problem.
When I sign the application using the code signing identity of different account,the app is not installing.
**Find device logs below**
Aug 9 05:02:57 iPhone installd[50] <Notice>: 0x16e087000 -[MIClientConnection lookupUninstalledWithOptions:completion:]: Lookup uninstalled requested by atc (pid 40) with options (null)
Aug 9 05:02:57 iPhone atc[40] <Warning>: |error| Unable to create file lock.
Aug 9 05:02:58 iPhone CommCenter[79] <Notice>: Snapshot path [/var/wireless/Library/Logs/CrashReporter/Baseband/] was removed
Aug 9 05:02:58 iPhone crash_mover[2659] <Notice>: (Warn ) <crash_mover.m nr_isPaired:305> device is not paired
Aug 9 05:03:00 iPhone storebookkeeperd[138] <Warning>: [UPP-SBDDomainSyncedStorageController] target sync date from client: 2016-08-08 23:33:10 +0000 (in 10.00 sec)
Aug 9 05:03:00 iPhone storebookkeeperd[138] <Warning>: [UPP-SBDDomainSyncedStorageController] setting target date to: 2016-08-08 23:33:10 +0000 (in 62621512019.73 sec)
Aug 9 05:03:00 iPhone storebookkeeperd[138] <Warning>: [UPP-SBDDomainSyncedStorageController] scheduling sync (via BackgroundTaskJob) 9.999694 seconds from now...
Aug 9 05:03:00 iPhone SpringBoard[58] <Warning>: could not find icon for representation -> com.testing.test1
Aug 9 05:03:00 iPhone SpringBoard[58] <Warning>: Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want.
Try this:
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(
"<NSLayoutConstraint:0x1521a4700 H:|-(0)-[UIView:0x152956030] (Names: '|':UITableViewCellContentView:0x15295f610 )>",
"<NSLayoutConstraint:0x152911190 H:[UIView:0x152956030]-(0)-| (Names: '|':UITableViewCellContentView:0x15295f610 )>",
"<NSLayoutConstraint:0x152776570 H:|-(16)-[UIView:0x152853d80] (Names: '|':UIView:0x152956030 )>",
"<NSLayoutConstraint:0x15290bac0 H:[UIView:0x152853d80]-(16)-| (Names: '|':UIView:0x152956030 )>",
"<NSLayoutConstraint:0x152831960 'UIView-Encapsulated-Layout-Width' H:[UITableViewCellContentView:0x15295f610(0)]>"
)
Will attempt to recover by breaking constraint
<NSLayoutConstraint:0x15290bac0 H:[UIView:0x152853d80]-(16)-| (Names: '|':UIView:0x152956030 )>
Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
Aug 9 05:03:00 iPhone searchd[168] <Warning>: ====^^^^ DuetExpert missing data, count -> people:0 applicationDeepLinks:0 applications:8 requests:242 missingAllDataRequests:0
Aug 9 05:03:00 iPhone installd[50] <Notice>: 0x16e1bb000 -[MIClientConnection _doBackgroundInstallationForPath:withOptions:completion:]: Install of "/var/tmp/com.apple.atc.Apps/com.testing.test1.app" type Placeholder (LSInstallType = 4) requested by atc (pid 40)
Aug 9 05:03:00 iPhone installd[50] <Notice>: 0x16e1bb000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=com.testing.test1; Version=0.0.10, ShortVersion=(null)>
Aug 9 05:03:00 iPhone installd[50] <Notice>: 0x16e1bb000 -[MIContainer makeContainerLiveReplacingContainer:reason:withError:]: Made container live for com.testing.test1 at /private/var/mobile/Containers/Data/Application/0685BF39-E8C4-4D66-A5CF-EFD7CE29773C
Aug 9 05:03:00 iPhone installd[50] <Notice>: 0x16e1bb000 -[MIContainer makeContainerLiveReplacingContainer:reason:withError:]: Made container live for com.testing.test1 at /private/var/containers/Bundle/Application/55D4F9A3-DB4A-483F-A11E-E4CE58DE5184
Aug 9 05:03:00 iPhone installd[50] <Notice>: 0x16e1bb000 -[MIInstaller performInstallationWithError:]: Install Successful; Staging: 0.00s; Waiting: 0.00s; Preflight/Patch: 0.00s, Verifying: 0.01s; Overall: 0.14s
Aug 9 05:03:00 iPhone nesessionmanager[133] <Notice>: NESMPathControllerSession[com.apple.commcenter.ne.cellularusage:358E9214-5A59-4451-B74C-2D08546A5FAA]: Skip a start command from nehelper[108]: session in state connected
Aug 9 05:03:00 iPhone syncdefaultsd[2661] <Notice>: (Note ) SYDAccount: no account
Aug 9 05:03:00 iPhone syncdefaultsd[2661] <Notice>: (Note ) SYDBootAccount: no account (null)
Aug 9 05:03:00 iPhone syncdefaultsd[2661] <Notice>: (Note ) SYDPIMAccount: no account (null)
Aug 9 05:03:00 iPhone syncdefaultsd[2661] <Notice>: (Note ) SYDAlwaysOnAccount: no account (null)
Aug 9 05:03:01 iPhone tccd[103] <Notice>: Refusing client without bundle identifier (/System/Library/PrivateFrameworks/MusicLibrary.framework/Support/medialibraryd)
Aug 9 05:03:01 iPhone tccd[103] <Notice>: Refusing client without bundle identifier (/System/Library/PrivateFrameworks/MusicLibrary.framework/Support/medialibraryd)
Aug 9 05:03:03 iPhone installd[50] <Notice>: 0x16e247000 -[MIClientConnection _doBackgroundInstallationForPath:withOptions:completion:]: Install of "/var/mobile/Media/PublicStaging/test1.ipa" type Customer (LSInstallType = (null)) requested by atc (pid 40)
Aug 9 05:03:03 iPhone installd[50] <Notice>: 0x16e247000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=com.testing.test1; Version=0.0.10, ShortVersion=0.0.10>
Aug 9 05:03:03 iPhone profiled[153] <Notice>: (Note ) MC: Provisioning profiles changed
Aug 9 05:03:03 iPhone profiled[153] <Notice>: (Note ) MC: Updating MIS trust...
Aug 9 05:03:03 iPhone securityd[91] <Error>: secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found
Aug 9 05:03:03 iPhone securityd[91] <Error>: secTaskDiagnoseEntitlements MISSING keychain entitlements: no stored taskRef found
Aug 9 05:03:03 iPhone installd[50] <Error>: SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]
Aug 9 05:03:03 iPhone installd[50] <Notice>: MIS: entitlement 'keychain-access-groups' has value not permitted by provisioning profile 'SmartOffice Mobile Enterprise Dist'
Aug 9 05:03:03 iPhone installd[50] <Error>: 0x16e247000 +[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:]: 142: Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.2qAqVP/extracted/Payload/test1.app : 0xe8008016 (The executable was signed with invalid entitlements.)
Aug 9 05:03:03 iPhone installd[50] <Error>: 0x16e247000 -[MIInstaller performInstallationWithError:]: Verification stage failed
Aug 9 05:03:03 iPhone atc[40] <Error>: 0x16e1bb000 __MobileInstallationInstallForLaunchServices_block_invoke222: Returned error Error Domain=MIInstallerErrorDomain Code=13 "Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.2qAqVP/extracted/Payload/test1.app : 0xe8008016 (The executable was signed with invalid entitlements.)" UserInfo={LibMISErrorNumber=-402620394, LegacyErrorString=ApplicationVerificationFailed, SourceFileLine=142, FunctionName=+[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:], NSLocalizedDescription=Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.2qAqVP/extracted/Payload/test1.app : 0xe8008016 (The executable was signed with invalid entitlements.)}
Aug 9 05:03:03 iPhone nsurlsessiond[115] <Error>: [appinstallation] LaunchServices observer: Apps Failed be installed: (
"<LSApplicationProxy: 0x1465658f0> com.testing.test1 (Placeholder) <file:///private/var/containers/Bundle/Application/55D4F9A3-DB4A-483F-A11E-E4CE58DE5184/com.testing.test1.app>"
)
Aug 9 05:03:03 iPhone itunesstored[111] <Error>: [appinstallation] LaunchServices observer: Apps Failed be installed: (
"<LSApplicationProxy: 0x139146030> com.testing.test1 (Placeholder) <file:///private/var/containers/Bundle/Application/55D4F9A3-DB4A-483F-A11E-E4CE58DE5184/com.testing.test1.app>"
)
Aug 9 05:03:03 iPhone iaptransportd[73] <Error>: [appinstallation] LaunchServices observer: Apps Failed be installed: (
"<LSApplicationProxy: 0x14f537910> com.testing.test1 (Placeholder) <file:///private/var/containers/Bundle/Application/55D4F9A3-DB4A-483F-A11E-E4CE58DE5184/com.testing.test1.app>"
)
Aug 9 05:03:03 iPhone apsd[95] <Error>: [appinstallation] LaunchServices observer: Apps Failed be installed: (
"<LSApplicationProxy: 0x15f57a0b0> com.testing.test1 (Placeholder) <file:///private/var/containers/Bundle/Application/55D4F9A3-DB4A-483F-A11E-E4CE58DE5184/com.testing.test1.app>"
)
Aug 9 05:03:03 iPhone atc[40] <Error>: [appinstallation] LaunchServices observer: Apps Failed be installed: (
"<LSApplicationProxy: 0x1378c3360> com.testing.test1 (Placeholder) <file:///private/var/containers/Bundle/Application/55D4F9A3-DB4A-483F-A11E-E4CE58DE5184/com.testing.test1.app>"
)
Aug 9 05:03:03 iPhone SpringBoard[58] <Error>: [appinstallation] LaunchServices observer: Apps Failed be installed: (
"<LSApplicationProxy: 0x1528762f0> com.testing.test1 (Placeholder) <file:///private/var/containers/Bundle/Application/55D4F9A3-DB4A-483F-A11E-E4CE58DE5184/com.testing.test1.app>"
)
Aug 9 05:03:03 iPhone BTServer[65] <Error>: [appinstallation] LaunchServices observer: Apps Failed be installed: (
"<LSApplicationProxy: 0x13fd3f680> com.testing.test1 (Placeholder) <file:///private/var/containers/Bundle/Application/55D4F9A3-DB4A-483F-A11E-E4CE58DE5184/com.testing.test1.app>"
)
Aug 9 05:03:03 iPhone UserEventAgent[26] <Error>: [appinstallation] LaunchServices observer: Apps Failed be installed: (
"<LSApplicationProxy: 0x13dde4400> com.testing.test1 (Placeholder) <file:///private/var/containers/Bundle/Application/55D4F9A3-DB4A-483F-A11E-E4CE58DE5184/com.testing.test1.app>"
)
Aug 9 05:03:03 iPhone passd[136] <Error>: [appinstallation] LaunchServices observer: Apps Failed be installed: (
"<LSApplicationProxy: 0x147d80a20> com.testing.test1 (Placeholder) <file:///private/var/containers/Bundle/Application/55D4F9A3-DB4A-483F-A11E-E4CE58DE5184/com.testing.test1.app>"
)
Aug 9 05:03:03 iPhone homed[135] <Error>: [appinstallation] LaunchServices observer: Apps Failed be installed: (
"<LSApplicationProxy: 0x125e04010> com.testing.test1 (Placeholder) <file:///private/var/containers/Bundle/Application/55D4F9A3-DB4A-483F-A11E-E4CE58DE5184/com.testing.test1.app>"
)
Aug 9 05:03:03 iPhone profiled[153] <Error>: [appinstallation] LaunchServices observer: Apps Failed be installed: (
"<LSApplicationProxy: 0x13c55ee80> com.testing.test1 (Placeholder) <file:///private/var/containers/Bundle/Application/55D4F9A3-DB4A-483F-A11E-E4CE58DE5184/com.testing.test1.app>"
)
Aug 9 05:03:03 iPhone lsd[86] <Warning>: LaunchServices: Unentitled vendor device identifier lookup for app com.testing.test1 by pid 40
Aug 9 05:03:03 iPhone installd[50] <Notice>: 0x16e247000 -[MIClientConnection uninstallIdentifiers:withOptions:completion:]: Uninstall requested by atc (pid 40) for identifier com.testing.test1 with options: (null)
Aug 9 05:03:03 iPhone installd[50] <Notice>: 0x16e247000 -[MIUninstaller _uninstallBundleWithIdentifier:error:]: Uninstalling identifier com.testing.test1
Aug 9 05:03:03 iPhone installd[50] <Notice>: 0x16e247000 -[MIUninstallNotifier performRemovalWithCompletionBlock:]: Destroying container with identifier com.testing.test1 at /private/var/containers/Bundle/Application/55D4F9A3-DB4A-483F-A11E-E4CE58DE5184
Aug 9 05:03:03 iPhone installd[50] <Notice>: 0x16e247000 -[MIUninstallNotifier performRemovalWithCompletionBlock:]: Destroying container with identifier com.testing.test1 at /private/var/mobile/Containers/Data/Application/0685BF39-E8C4-4D66-A5CF-EFD7CE29773C
Aug 9 05:03:03 iPhone nesessionmanager[133] <Notice>: NESMPathControllerSession[com.apple.commcenter.ne.cellularusage:358E9214-5A59-4451-B74C-2D08546A5FAA]: Skip a start command from nehelper[108]: session in state connected
Aug 9 05:03:04 iPhone mobile_assertion_agent[154] <Notice>: service_one_connection: Connection closed for client iTunes.
Aug 9 05:03:09 iPhone kernel[0] <Notice>: AppleKeyStore: operation failed (pid: 44 sel: 34 ret: e00002bc '-536870212')
Aug 9 05:03:09 iPhone kernel[0] <Notice>: AppleKeyStore: operation failed (pid: 44 sel: 34 ret: e00002bc '-536870212')
Aug 9 05:03:09 iPhone keybagd[44] <Error>: 0x16e1bb000 __handle_keystashverify_block_invoke: aks_stash_verify failed e00002bc
Aug 9 05:03:09 iPhone softwareupdateservicesd[178] <Error>: call_and_response: Error from server
Aug 9 05:03:09 iPhone keybagd[44] <Error>: 0x16e12f000 __handle_keystashverify_block_invoke: aks_stash_verify failed e00002bc
Aug 9 05:03:09 iPhone SpringBoard[58] <Error>: call_and_response: Error from server
Aug 9 05:03:09 iPhone softwareupdateservicesd[178] <Warning>: [autosu error]: SPI for AutoSU: probabilityVector is empty
Aug 9 05:03:10 iPhone storebookkeeperd[138] <Warning>: [UPP-SBDDomainSyncedStorageController] running synchronizeImmediatelyWithCompletionHandler: now
Aug 9 05:03:10 iPhone storebookkeeperd[138] <Warning>: [StoreBookkeeper] -[SBKUniversalPlaybackPositionStore _onQueueRunTaskWithName:taskCompletionHandler:runTaskBlock:] _onQueueSync - beginning synchronize operation...
Aug 9 05:03:10 iPhone storebookkeeperd[138] <Warning>: [StoreBookkeeper] -[SBKUniversalPlaybackPositionStore _onQueueLoadBagContextWithCompletionHandler:] _onQueueLoadBag - load bag operation beginning...
Aug 9 05:03:10 iPhone storebookkeeperd[138] <Warning>: [StoreBookkeeper] __81-[SBKUniversalPlaybackPositionStore _onQueueLoadBagContextWithCompletionHandler:]_block_invoke413 _onQueueLoadBag - load bag completed.
Aug 9 05:03:10 iPhone storebookkeeperd[138] <Warning>: [StoreBookkeeper] __89-[SBKUniversalPlaybackPositionStore _onQueueSynchronizeImmediatelyWithCompletionHandler:]_block_invoke _onQueueSync - synchronize operation beginning...
Aug 9 05:03:11 iPhone storebookkeeperd[138] <Warning>: [StoreBookkeeper] __96-[SBKUniversalPlaybackPositionStore _onQueueRunTaskWithName:taskCompletionHandler:runTaskBlock:]_block_invoke281 _onQueueSync - synchronize completed.
Aug 9 05:03:18 iPhone SpringBoard[58] <Warning>: [autosu error]: SPI for AutoSU: probabilityVector is empty
Aug 9 05:03:18 iPhone SpringBoard[58] <Warning>: [autosu error]: SPI for AutoSU: probabilityVector is empty
I think you are not changing the entitlements properly.
i.e
team identifier present in application identifier and keychain access group might be the one that belongs old account.
You have to update those with the one for new account.
then
try signing that it'd work I guess
FYI:
Application identifier is the combination of team id and bundle id
team id you can find from the installed certificate in keychain

Enterprise app installing but immediatelly dissapears

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.

iOS Enterprise Wireless (OTA) distribution Unable to Download Application

My company has an enterprise ios account and I am hoping to upload my app on it wirelessly. I have been given distribution certificate and distribution provisioning profile by the client.
I followed this great tutorial here on blog.appliedis.com, which shows how to wirelessly deploy the app with enterprise account.
The problem is that I get this error when install the app on iPad, right at the end when the install is about to finish.
Unable to Download App MyApp could not be installed at this time
My Steps
Here are the steps I took:-
Matched the Bundle ID of the app (in plist) with which client's certificate / provisioning profile is created.
Clicked/installed Distribution Certificate from the client to my KeyChain
Dragged Provisioning profile (Distribution) from the client into XCode
In Code Signing, I selected Distribution certificate (sent by the client) in all of them as shown (notice all have same):-
and for Provisioning Profiles, I selected distribution Provisioning profile sent by the client as follows (notice both are same):-
Xcode > Product > Archive > Save For Enterprise Deployment
Specified the title, URL for IPA on my server.
Hosted the .ipa, .plist (Both xcode generated) on my Linux server.
Created a link as follows:- https://www.myurl.com/myapps/MyApp.plist">Click to Download
When clicked, app starts but slaps the error when app downloading is in the mid way.
Additional Info:-
The reason why we opted for iOS Enterprise account is that we don't have to enter UDIDs. So the iPad in which this app is being installed doesn't have its UDID in the client's account.
Below is my Console Log (Just in case)
Aug 19 22:09:30 My-iPad wifid[15] <Notice>: WiFi:[430193370.378140]: Foreground Network Application exited.
Aug 19 22:09:30 My-iPad wifid[15] <Notice>: WiFi:[430193370.378722]: BG Application: Not Present, BG Daemon: Present. Daemons: SiriViewService networkd itunesstored apsd assistantd sharingd
Aug 19 22:09:30 My-iPad itunesstored[90] <Warning>: LaunchServices: installing placeholder for com.theclientname.app
Aug 19 22:09:30 My-iPad installd[63] <Notice>: 0x315000 handle_install_for_ls: Install of "/var/mobile/Library/Caches/com.apple.itunesstored/AppPlaceholders/-4665319901594503043.app" requested by itunesstored
Aug 19 22:09:30 My-iPad installd[63] <Notice>: 0x315000 MobileInstallationInstall_Server: Installing app com.theclientname.app
Aug 19 22:09:30 My-iPad installd[63] <Notice>: 0x315000 install_application: Installing placeholder
Aug 19 22:09:30 My-iPad installd[63] <Notice>: 0x315000 MobileInstallationInstall_Server: Staging: 0.01s; Waiting: 0.00s; Installation: 0.05s; LS Sync: 0.00s; Overall: 0.06s
Aug 19 22:09:31 My-iPad itunesstored[90] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: com.theclientname.app (Placeholder) withPhase:0
Aug 19 22:09:31 My-iPad lsd[73] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: phase=Loading; state=Waiting; fractionCompleted=0.000000> to 0
Aug 19 22:10:12 My-iPad SpringBoard[33] <Warning>: Killing com.theclientname.app for app installation
Aug 19 22:10:12 My-iPad itunesstored[90] <Warning>: LaunchServices: installing app for existing placeholder LSApplicationProxy: com.theclientname.app (Placeholder)
Aug 19 22:10:12 My-iPad itunesstored[90] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: com.theclientname.app (Placeholder) withPhase:1
Aug 19 22:10:12 My-iPad lsd[73] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: phase=Loading; state=Active; fractionCompleted=0.590000> to 1
Aug 19 22:10:12 My-iPad installd[63] <Notice>: 0x315000 handle_install_for_ls: Install of "/var/mobile/Media/Downloads/-4665319901594503043/-8050886506109721064" requested by itunesstored
Aug 19 22:10:17 My-iPad wifid[15] <Notice>: WiFi:[430193417.818493]: Client itunesstored set type to normal application
Aug 19 22:10:17 My-iPad wifid[15] <Notice>: WiFi:[430193417.819443]: BG Application: Not Present, BG Daemon: Present. Daemons: SiriViewService networkd apsd assistantd sharingd
Aug 19 22:10:17 My-iPad installd[63] <Notice>: 0x315000 MobileInstallationInstall_Server: Installing app com.theclientname.app
Aug 19 22:10:17 My-iPad installd[63] <Error>: profile not valid: 0xe8008012
Aug 19 22:10:17 My-iPad installd[63] <Error>: 0x315000 install_embedded_profile: Could not install embedded profile: 0xe8008012
Aug 19 22:10:19 My-iPad installd[63] <Error>: 0x315000 verify_signer_identity: MISValidateSignatureAndCopyInfo failed for /var/tmp/install_staging.vSfPbR/foo_extracted/Payload/APPNAME.app/APPNAME: 0xe8008015
Aug 19 22:10:19 My-iPad installd[63] <Error>: 0x315000 do_preflight_verification: Could not verify executable at /var/tmp/install_staging.vSfPbR/foo_extracted/Payload/APPNAME.app
Aug 19 22:10:19 My-iPad installd[63] <Error>: 0x315000 install_application: Could not preflight application install
Aug 19 22:10:19 My-iPad itunesstored[90] <Error>: 0x1ac1000 MobileInstallationInstallForLaunchServices: failed with -1
Aug 19 22:10:19 My-iPad itunesstored[90] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil
Aug 19 22:10:19 My-iPad lsd[73] <Warning>: LaunchServices: installation failed for app com.theclientname.app
Aug 19 22:10:19 My-iPad itunesstored[90] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.theclientname.app.Installing - <NSProgress: phase=Installing; state=Failed; fractionCompleted=0.000000> called, removing progress from cache
Aug 19 22:10:19 My-iPad lsd[73] <Warning>: LaunchServices: installation failed for app com.theclientname.app
Aug 19 22:10:19 My-iPad itunesstored[90] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.theclientname.app.Loading - <NSProgress: phase=Loading; state=Failed; fractionCompleted=1.000000> called, removing progress from cache
Aug 19 22:10:19 My-iPad installd[63] <Error>: 0x315000 handle_install_for_ls: API failed
Aug 19 22:10:21 My-iPad assistantd[36] <Notice>: connection 11 total: 1, connected: 0, added new subflow [cid=1, state=Waiting, ifindex=2]
Aug 19 22:10:21 My-iPad assistantd[36] <Notice>: connection 11 total: 1, connected: 1, new connected subflow [cid=1, state=Connected, ifindex=2, preferred, mp_capable]
There are a couple of potential'gotchas' that you should check. An obvious one, for iOS 7.1 + is that the download html and manifest .plist have to be on an https server. Another is that, even if they are, that server must be correctly handling the MIME type for .ipa files. I think that there's no problem generally with Apache servers. Microsoft servers aren't natively set up for this so they have to be 'tuned' by their administrators to see '.ipa' as "application/octet-stream."
I was facing similar issue with my distribution license, and the problem was there was "XC" provisioning profile which had the exact same bundle id.
My solution to his was to delete this XC: provisioning profile both from Apple Developer Portal and Xcode -> Preferences -> Apple ID -> View Details -> XC: provisioning profile -> right click Go To Finder -> delete
Hope this helps,

Enterprise Distribution "Unable to Download App" on iPhone 4 but works on iPhone5

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!

SpringBoard[33] <Warning>: Killing <appname> for app installation

During update of the app to new version I see that iOS kills application. I see in logs:
Jul 2 18:20:40 SpringBoard[33] <Warning>: Killing com.myapp.app for app installation
Jul 2 18:20:40 itunesstored[97] <Warning>: LaunchServices: installing app for existing placeholder LSApplicationProxy: com.myapp.app (Placeholder)
Jul 2 18:20:40 backboardd[28] <Warning>: pid_suspend failed for [325]: Unknown error: -1, Unknown error: -1
Jul 2 18:20:40 com.apple.launchd[1] <Notice>: (UIKitApplication:com.myapp.app[0x11d1]) Exited: Killed: 9
Jul 2 18:20:40 backboardd[28] <Warning>: Application 'UIKitApplication:com.myapp.app[0x11d1]' exited abnormally with signal 9: Killed: 9
Jul 2 18:20:40 networkd[81] <Warning>: No attributes found for PID=325
Jul 2 18:20:40 itunesstored[97] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: com.myapp.app (Placeholder) withPhase:1
Jul 2 18:20:40 lsd[76] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: phase=Loading; state=Active; fractionCompleted=0.579990> to 1
Jul 2 18:20:40 installd[63] <Notice>: 0x283000 handle_install_for_ls: Install of "/var/mobile/Media/Downloads/1823728027110056877/-3508334369307939928" requested by itunesstored
Jul 2 18:20:41 installd[63] <Notice>: 0x283000 MobileInstallationInstall_Server: Installing app com.myapp.app
Jul 2 18:20:41 installd[63] <Notice>: 0x283000 MobileInstallationInstall_Server: Staging: 1.03s; Waiting: 0.00s; Installation: 0.38s; LS Sync: 0.00s; Overall: 1.41s
Jul 2 18:20:41 lsd[76] <Warning>: LaunchServices: Updating identifier store
Jul 2 18:20:41 itunesstored[97] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.myapp.app.Installing - <NSProgress: phase=Installing; state=Finished; fractionCompleted=1.000000> called, removing progress from cache
Jul 2 18:20:41 lsd[76] <Warning>: LaunchServices: installation ended for app com.myapp.app
Jul 2 18:20:42 lsd[76] <Warning>: LSInstallProgress: In observeValueForKeyPath:fractionCompleted could not find parent progress for com.myapp.app, it may have been removed
Jul 2 18:20:42 SpringBoard[33] <Error>: libMobileGestalt MobileGestalt.c:835: nike-ipod is static and will never generate a notification
Jul 2 18:20:42 SpringBoard[33] <Error>: libMobileGestalt MobileGestalt.c:835: still-camera is static and will never generate a notification
Jul 2 18:20:42 SpringBoard[33] <Error>: libMobileGestalt MobileGestalt.c:835: magnetometer is static and will never generate a notification
Jul 2 18:20:42 SpringBoard[33] <Error>: libMobileGestalt MobileGestalt.c:835: any-telephony is static and will never generate a notification
Jul 2 18:20:42 SpringBoard[33] <Error>: libMobileGestalt MobileGestalt.c:835: stand-alone-contacts is static and will never generate a notification
Jul 2 18:20:42 kernel[0] <Debug>: launchd[331] Container: /private/var/mobile/Applications/2493C106-296D-459B-9499-3CFE5FC05BFB (sandbox)
Jul 2 18:20:42 com.apple.launchd[1] <Notice>: (UIKitApplication:com.myapp.app[0x9d25]) Exited: Killed: 9
Jul 2 18:20:42 com.apple.launchd[1] <Notice>: (UIKitApplication:com.myapp.app[0x9d25]) Throttling respawn: Will start in 2147483647 seconds
Jul 2 18:20:42 backboardd[28] <Warning>: Application 'UIKitApplication:com.myapp.app[0x9d25]' exited abnormally with signal 9: Killed: 9
Jul 2 18:20:42 networkd[81] <Warning>: No attributes found for PID=331
Jul 2 18:20:42 itunesstored[97] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.myapp.app.Loading - <NSProgress: phase=Loading; state=Finished; fractionCompleted=1.000000> called, removing progress from cache
Jul 2 18:20:42 lsd[76] <Warning>: LSInstallProgress: In observeValueForKeyPath:userInfo.installState could not find parent progress for com.myapp.app, it may have been removed
Jul 2 18:
As I understand it is normal behaviour of iOS (I check update of other apps and see that they are also killed during update).
11:23 Jul 3 11:18:14 Sergey-Demchekos-iPhone SpringBoard[33] <Warning>: Killing ua.slando for app installation
11:23 Jul 3 11:18:16 Sergey-Demchekos-iPhone SpringBoard[33] <Warning>: Killing com.tripomatic.spainportugalapp for app installation
11:23 Jul 3 11:18:20 Sergey-Demchekos-iPhone SpringBoard[33] <Warning>: Killing com.pineapple.Tenerife for app installation
Now the questions. Firstly, I am bit confused of these lines. Does it mean that I have problems during killing the app which I have to fix?:
Jul 2 18:20:30 SpringBoard[33] <Warning>: Killing com.myapp.app for app installation
Jul 2 18:20:30 com.apple.launchd[1] <Notice>: (UIKitApplication:com.myapp.app[0xacc2]) Exited: Killed: 9
Jul 2 18:20:30 backboardd[28] <Warning>: Application 'UIKitApplication:com.myapp.app[0xacc2]' exited abnormally with signal 9: Killed: 9
Secondly, If iOS kills app (btw it is VOIP), it is not run again until user explicitly runs icon of it on SpringBoard. Do I have any handler which will be called before app is killed in order to schedule local notification and remind user to run app again?

Resources