Cannot install app in dev iPhone - ios

With Xcode 7 I cannot install app on dev iPhone with iOS 9 GM.
App is marked as installed but it is not visible in springboard.
Provision profiles seem ok. I'm using core-plot, don't know if it is an architecture issues.
Device log
> Sep 11 18:35:53 Davides-iPhone streaming_zip_conduit[274] <Warning>: LaunchServices: installing app for existing placeholder
> <LSApplicationProxy: 0x135523f60> com.protoscar.HCD2 <(null) *Not
> found in database*>
> Sep 11 18:35:53 Davides-iPhone streaming_zip_conduit[274] <Warning>: LaunchServices: Not creating progress for
> <LSApplicationProxy: 0x135523f60> com.protoscar.HCD2 <(null) *Not
> found in database*> since it is not a placeholder.
> Sep 11 18:35:53 Davides-iPhone installd[52] <Notice>: 0x1704b3000 -[MIClientConnection installPath:withOptions:completion:]: Install of "/var/mobile/Media/PublicStaging/HCD2.app" type Developer requested by
> streaming_zip_conduit (pid 274)
> Sep 11 18:35:53 Davides-iPhone installd[52] <Notice>: 0x17148f000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=com.protoscar.HCD2; Version=14,
> ShortVersion=1.0>
> Sep 11 18:35:53 Davides-iPhone profiled[151] <Notice>: (Note ) MC: Provisioning profiles changed
> Sep 11 18:35:53 Davides-iPhone profiled[151] <Notice>: (Note ) MC: Updating MIS trust...
> Sep 11 18:35:53 Davides-iPhone installd[52] <Error>: SecTrustEvaluate [leaf IssuerCommonName SubjectCommonName]
> Sep 11 18:35:53 Davides-iPhone installd[52] <Notice>: 0x17148f000 -[MIContainer makeContainerLiveReplacingContainer:reason:withError:]: Made container live for com.protoscar.HCD2 at
> /private/var/mobile/Containers/Data/Application/5DF14AF7-C8F4-4CBE-B081-C5BD046EFD27
> Sep 11 18:35:53 Davides-iPhone installd[52] <Notice>: 0x17148f000 -[MIContainer makeContainerLiveReplacingContainer:reason:withError:]: Made container live for com.protoscar.HCD2 at
> /private/var/mobile/Containers/Bundle/Application/E83B05A4-ACC1-42E2-A3AA-942A2CDB131F
> Sep 11 18:35:54 Davides-iPhone installd[52] <Notice>: 0x17148f000 -[MIInstaller performInstallationWithError:]: Install Successful; Staging: 0.01s; Waiting: 0.00s; Preflight/Patch: 0.09s, Verifying:
> 0.09s; Overall: 0.35s

Fixed. I removed the provision profiles, rebooted the device and now the app install without problem.

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.

iPhone app enterprise distribution by OTA

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

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,

Please include the kCFBundleIdentifierKey in the options dictionary when installing an app

Anybody knows what this means?
Tried updating my app to ios 7 and tested it on iPad 2 and encountering these warning and error logs in Console:
Sep 24 16:23:56 iPad mobile_installation_proxy[118] <Warning>: LaunchServices: Please include the kCFBundleIdentifierKey in the options dictionary when installing an app.
Sep 24 16:23:56 iPad mobile_installation_proxy[118] <Warning>: LaunchServices: installing app for existing placeholder (null)
Sep 24 16:23:56 iPad installd[59] <Notice>: 0x2d5000 handle_install_for_ls: Install of "/var/mobile/Media/PublicStaging/THISAPP.app" requested by mobile_installation_proxy
Sep 24 16:23:56 iPad installd[59] <Notice>: 0x2d5000 MobileInstallationInstall_Server: Installing app com.<bundle>.<identifier>
Sep 24 16:23:56 iPad installd[59] <Error>: profile not valid: 0xe8008012
Sep 24 16:23:56 iPad installd[59] <Error>: 0x2d5000 install_embedded_profile: Could not install embedded profile: 0xe8008012
Sep 24 16:23:57 iPad installd[59] <Notice>: 0x2d5000 MobileInstallationInstall_Server: Staging: 0.08s; Waiting: 0.05s; Installation: 0.53s; LS Sync: 0.00s; Overall: 0.75s
Sep 24 16:23:57 iPad /usr/libexec/lsd[70] <Error>: Need to synchronize with MobileInstallation
Sep 24 16:23:57 iPad /usr/libexec/lsd[70] <Notice>: LaunchServices: Adding com.<bundle>.<identifier> to registration list
No Crash Logs are being recorded.
EDIT:
I have this in my info.plist
<key>CFBundleIdentifier</key>
<string>com.<bundle>.<identifier></string>
but it's basically com.site.my, I just edited the real name here.
I had the same issue, And was unable to install the ipa. It always ended with an error "Could not inspect the application package." and some warnings in device console
Feb 10 17:38:16 iPhone mobile_installation_proxy[356] <Warning>: LaunchServices: Please include the kCFBundleIdentifierKey in the options dictionary when installing an app.
Feb 10 17:38:16 iPhone mobile_installation_proxy[356] <Warning>: LaunchServices: installing app with unknown bundleID
.
.
Feb 10 17:38:16 iPhone installd[44] <Error>: 0x101bcc000 -[MIBundle _validateWithError:]: 28: Failed to load Info.plist from bundle at path
Feb 10 17:38:16 iPhone installd[44] <Error>: 0x101bcc000 + [MIInstallable installablesAtURL:packageFormat:userOptions:error:]: Failed to create bundle for …
After spending hours, I got it fixed by adding the "Application requires iPhone environment" in info.plist
<key>LSRequiresIPhoneOS</key>
<true/>
Did you check whether your bundle ID is in your plist
I had the same problem and it was because one of the pods I was using had a "Resources" directory. Fixing this pod following this advice resolved the issue.

Resources