The 'Passive' connection '<appname>' access to protected services is denied - ios

I'm developing a flex mobile iOS application using air sdk 15.app freezes when it display the webview and start communication between servers.it's works fine when I deploy the application directly to the device through the flash builder.the error occurs when I install the app creating the ipa(installed using iTunes)
<Error>: HID: The 'Passive' connection '<appname>' access to protected services is denied.
I have tried many things like changing ios sdk version and disabling ANE's but not working.
backboardd[28] <Notice>: ALS: SetDisplayFactor: factor=1.0000
backboardd[28] <Notice>: Posting 'com.apple.iokit.hid.displayStatus' notifyState=1
SpringBoard[33] <Warning>: [MPUSystemMediaControls] Enabling lock screen media controls updates for screen turning on.
SpringBoard[33] <Warning>: [MPUNowPlayingController] Already registered for now playing notifications.
wifid[15] <Notice>: WiFi:[436870521.165025]: Device display is ON
wifid[15] <Notice>: WiFi:[436870521.165739]: Already connected to gg-spnet-sysdev.
SpringBoard[33] <Warning>: [MPUSystemMediaControls] Updating supported commands for now playing application.
backboardd[28] <Notice>: MultitouchHID: detection mode: 255->6 (deferring until bootloaded)
backboardd[28] <Notice>: MultitouchHID: device bootloaded
backboardd[28] <Notice>: MultitouchHID: detection mode: 6->6
kernel[0] <Debug>: ALS: AppleARMBacklight::handleMessageGated - framebufferState -> 1
kernel[0] <Debug>: ALS: AppleARMBacklight::setBacklightEnableGated 1 (set level to 0x240)
wifid[15] <Notice>: WiFi:[436870522.494937]:
wifid[15] <Notice>: Too frequent(0.855288 secs) rssi event from driver, ignoring
wifid[15] <Notice>:
wifid[15] <Notice>: WiFi:[436870522.549667]: ATJManager: setting ask-to-join interaction mode to Interactive
wifid[15] <Notice>: WiFi:[436870522.550029]: ATJManager: no entries to purge
wifid[15] <Notice>: WiFi:[436870522.550268]: Device is UNLOCKED
wifid[15] <Notice>: WiFi:[436870522.550491]: Ignoring lock state
wifid[15] <Notice>: WiFi:[436870522.550717]: problematic networks = and potentially problematic networks =
wifid[15] <Notice>: WiFi:[436870522.550984]: Unblacklisting
backboardd[28] <Notice>: MultitouchHID: detection mode: 6->3
wifid[15] <Notice>: WiFi:[436870522.551516]: No change in Background Scan candidates. Skip re-programming Background Scan
wifid[15] <Notice>: WiFi:[436870522.553549]: Already connected to <wifispotname>.
lockdownd[52] <Notice>: 00241000 set_response_error: handle_get_value GetProhibited
wirelessproxd[67] <Notice>: (Note ) Created WPTransfer Object for touchsetupd with daemon <DaemonBluetooth: 0x16d439b0>
kernel[0] <Debug>: launchd[551] Container: /private/var/mobile/Applications/AEA64AE2-F6EB-48FD-932A-E4EC9EDDCC8E (sandbox)
backboardd[28] <Error>: HID: The 'Passive' connection 'appname' access to protected services is denied.

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

iOS Error on launch from deeplink: lsd[738] <Warning>: LaunchServices: application launch failed - timeout waiting for launch

When launching my iOS app from a deeplink (a URL with app specific scheme), I get this error in log:
lsd[738] <Warning>: LaunchServices: application launch failed - timeout waiting for launch.
when the app is launched normally, there is no error.
There is no other log regarding the root of the timeout.
I am looking at the log coming from a device.
Here is the full log:
Mar 26 18:03:35 iPod kernel[0] <Notice>: xpcproxy[2291] Container: /private/var/mobile/Containers/Data/Application/E1E3A2BC-E5B7-4BE3-881D-CFFC37666FA2 (sandbox)
Mar 26 18:03:35 iPod MobileSafari[2291] <Error>: assertion failed: 12F5047f: libxpc.dylib + 51923 [A76ECB1C-8653-340A-A02D-52E89E8A8902]: 0x7d
Mar 26 18:03:35 iPod Unknown[2291] <Error>:
Mar 26 18:03:35 iPod locationd[63] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
Mar 26 18:03:35 iPod MobileSafari[2291] <Error>: Could not successfully update network info during initialization.
Mar 26 18:03:36 iPod locationd[63] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
Mar 26 18:03:36 iPod backboardd[56] <Warning>: CoreAnimation: updates deferred for too long
Mar 26 18:03:38 iPod kernel[0] <Notice>: xpcproxy[2295] Container: /private/var/mobile/Containers/Data/Application/8D14282B-075D-431C-B5BE-D9961FB420D7 (sandbox)
Mar 26 18:03:38 iPod syncdefaultsd[2287] <Notice>: (Note ) marked "com.me.keyvalueservice" topic as "ignored" on (null)
Mar 26 18:03:38 iPod locationd[63] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
Mar 26 18:03:38 iPod Training[2295] <Error>: assertion failed: 12F5047f: libxpc.dylib + 51923 [A76ECB1C-8653-340A-A02D-52E89E8A8902]: 0x7d
Mar 26 18:03:38 iPod Unknown[2295] <Error>:
Mar 26 18:03:48 iPod **lsd[738] <Warning>: LaunchServices: application launch failed - timeout waiting for launch.**
Mar 26 18:03:48 iPod Training[2295] <Warning>: willFinishLaunchingWithOptions
Mar 26 18:03:48 iPod Training[2295] <Warning>: didFinishLaunchingWithOptions
I was seeing 8 second delays before seeing the same log message.
Mar 26 18:03:48 iPod **lsd[738] <Warning>: LaunchServices: application launch failed - timeout waiting for launch.**
This was only happening when launching the app when the app was not already in the background. I filed a bug with Apple. This issue is supposedly fixed in iOS 9 beta 4. Unfortunately, older versions of iOS will continue to have this problem.

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,

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?

iTunes iOS download error / won't install

Noone including myself can download any apps from my iTunes account except the first app I released.
They all go through automated testing + apple verification, however when I (and other) try to download through my phone I get error message (translated from Danish)
can not download
can not install
Here is he log:
Jul 1 09:29:38 MyIPhone4IOS7 AppStore[148] <Warning>: [SSMetricsEventController] Direct-access controller is calling through XPC to flush Unreported Events
Jul 1 09:30:35 MyIPhone4IOS7 backboardd[28] <Notice>: Posting 'com.apple.iokit.hid.displayStatus' notifyState=0
Jul 1 09:30:35 MyIPhone4IOS7 kernel[0] <Debug>: ALS: AppleARMBacklight::setBacklightEnableGated 0 (set level to 0x1c8)
Jul 1 09:30:35 MyIPhone4IOS7 kernel[0] <Debug>: ALS: AppleARMBacklight::handleMessageGated - framebufferState -> 0
Jul 1 09:30:35 MyIPhone4IOS7 kernel[0] <Debug>: AppleMultitouchN1SPI: updating power statistics
Jul 1 09:30:35 MyIPhone4IOS7 kernel[0] <Debug>: AppleKeyStore::device_state_transition: Device Lock call: lockstate=0, locknow=0
Jul 1 09:30:35 MyIPhone4IOS7 SpringBoard[34] <Warning>: [MPUSystemMediaControls] Disabling lock screen media controls updates for screen turning off.
Jul 1 09:30:35 MyIPhone4IOS7 SpringBoard[34] <Warning>: [MPUNowPlayingController] Not registered for now playing notifications. Ignoring call to -unregisterForNotifications.
Jul 1 09:30:35 MyIPhone4IOS7 SpringBoard[34] <Error>: MKBDeviceLockAssertion: MKBDeviceLockAssertion (asserttype:4)
Jul 1 09:30:35 MyIPhone4IOS7 SpringBoard[34] <Notice>: (Note ) MC: Locking device.
Jul 1 09:30:35 MyIPhone4IOS7 backboardd[28] <Notice>: MultitouchHID: detection mode: 0->255
Jul 1 09:30:36 MyIPhone4IOS7 kernel[0] <Debug>: AppleKeyStore::device_state_transition: Device Lock call: lockstate=5, locknow=0
Jul 1 09:30:36 MyIPhone4IOS7 SpringBoard[34] <Error>: __MKBAssertionFinalize: __MKBAssertionFinalize(0x15bef5c0)
Jul 1 09:30:36 MyIPhone4IOS7 SpringBoard[34] <Notice>: (Note ) MC: Locking device.
Jul 1 09:30:36 MyIPhone4IOS7 SpringBoard[34] <Warning>: [MPUSystemMediaControls] Updating supported commands for now playing application.
Jul 1 09:30:36 MyIPhone4IOS7 AppStore[148] <Warning>: [SSMetricsEventController] Direct-access controller is calling through XPC to flush Unreported Events
Jul 1 09:30:37 MyIPhone4IOS7 AppStore[148] <Warning>: [SSMetricsEventController] Direct-access controller is calling through XPC to flush Unreported Events
Jul 1 09:30:37 MyIPhone4IOS7 AppStore[148] <Warning>: [SSMetricsEventController] Direct-access controller is calling through XPC to flush Unreported Events
Jul 1 09:31:04 MyIPhone4IOS7 SpringBoard[34] <Warning>: Killing com.example.newapp for app installation
Jul 1 09:31:04 MyIPhone4IOS7 itunesstored[100] <Warning>: LaunchServices: installing app for existing placeholder LSApplicationProxy: com.example.newapp (Placeholder)
Jul 1 09:31:04 MyIPhone4IOS7 itunesstored[100] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: com.example.newapp (Placeholder) withPhase:1
Jul 1 09:31:04 MyIPhone4IOS7 lsd[77] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: phase=Loading; state=Active; fractionCompleted=0.590000> to 1
Jul 1 09:31:04 MyIPhone4IOS7 installd[63] <Notice>: 0x303000 handle_install_for_ls: Install of "/var/mobile/Media/Downloads/6792080868625274691/-5383248391545872630" requested by itunesstored
Jul 1 09:31:04 MyIPhone4IOS7 installd[63] <Error>: 0x303000 peruse_package: App info dict loaded from "/var/tmp/install_staging.Nio6Yc/foo_extracted/Payload/new.app" did not have bundle identifier
Jul 1 09:31:04 MyIPhone4IOS7 installd[63] <Error>: 0x303000 stage_package: Could not peruse package at /var/tmp/install_staging.Nio6Yc/foo_extracted
Jul 1 09:31:04 MyIPhone4IOS7 itunesstored[100] <Error>: 0x1ab1000 MobileInstallationInstallForLaunchServices: failed with -1
Jul 1 09:31:04 MyIPhone4IOS7 itunesstored[100] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil
Jul 1 09:31:04 MyIPhone4IOS7 lsd[77] <Warning>: LaunchServices: installation failed for app com.example.newapp
Jul 1 09:31:04 MyIPhone4IOS7 installd[63] <Error>: 0x303000 MobileInstallationInstall_Server: Could not stage the package
Jul 1 09:31:04 MyIPhone4IOS7 itunesstored[100] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.example.newapp.Installing - <NSProgress: phase=Installing; state=Failed; fractionCompleted=0.000000> called, removing progress from cache
Jul 1 09:31:04 MyIPhone4IOS7 lsd[77] <Warning>: LaunchServices: installation failed for app com.example.newapp
Jul 1 09:31:04 MyIPhone4IOS7 itunesstored[100] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.example.newapp.Loading - <NSProgress: phase=Loading; state=Failed; fractionCompleted=1.000000> called, removing progress from cache
Jul 1 09:31:04 MyIPhone4IOS7 installd[63] <Error>: 0x303000 handle_install_for_ls: API failed
Jul 1 09:31:06 MyIPhone4IOS7 SpringBoard[34] <Error>: MKBDeviceLockAssertion: MKBDeviceLockAssertion (asserttype:4)
Jul 1 09:31:06 MyIPhone4IOS7 kernel[0] <Debug>: AppleKeyStore::device_state_transition: Device Lock call: lockstate=5, locknow=0
Jul 1 09:31:06 MyIPhone4IOS7 SpringBoard[34] <Error>: __MKBAssertionFinalize: __MKBAssertionFinalize(0x15bc24b0)
Jul 1 09:31:06 MyIPhone4IOS7 SpringBoard[34] <Notice>: (Note ) MC: Locking device.
Jul 1 09:31:09 MyIPhone4IOS7 backboardd[28] <Notice>: Posting 'com.apple.iokit.hid.displayStatus' notifyState=1
Jul 1 09:31:09 MyIPhone4IOS7 SpringBoard[34] <Warning>: [MPUSystemMediaControls] Enabling lock screen media controls updates for screen turning on.
Jul 1 09:31:09 MyIPhone4IOS7 SpringBoard[34] <Error>: MKBDeviceLockAssertion: MKBDeviceLockAssertion (asserttype:4)
Jul 1 09:31:10 MyIPhone4IOS7 kernel[0] <Debug>: set_crc_notification_state 0
Jul 1 09:31:10 MyIPhone4IOS7 backboardd[28] <Notice>: MultitouchHID: detection mode: 255->5 (deferring until bootloaded)
Jul 1 09:31:10 MyIPhone4IOS7 SpringBoard[34] <Error>: __MKBAssertionFinalize: __MKBAssertionFinalize(0x15bb5e30)
Jul 1 09:31:10 MyIPhone4IOS7 SpringBoard[34] <Notice>: (Note ) MC: Locking device.
Jul 1 09:31:10 MyIPhone4IOS7 SpringBoard[34] <Warning>: [MPUSystemMediaControls] Updating supported commands for now playing application.
Jul 1 09:31:10 MyIPhone4IOS7 backboardd[28] <Notice>: MultitouchHID: device bootloaded
Jul 1 09:31:10 MyIPhone4IOS7 backboardd[28] <Notice>: MultitouchHID: detection mode: 5->5
Jul 1 09:31:10 MyIPhone4IOS7 SpringBoard[34] <Error>: MKBDeviceLockAssertion: MKBDeviceLockAssertion (asserttype:4)
Jul 1 09:31:10 MyIPhone4IOS7 SpringBoard[34] <Error>: __MKBAssertionFinalize: __MKBAssertionFinalize(0x159b1e80)
Jul 1 09:31:10 MyIPhone4IOS7 SpringBoard[34] <Notice>: (Note ) MC: Locking device.
Jul 1 09:31:10 MyIPhone4IOS7 kernel[0] <Debug>: AppleKeyStore::device_state_transition: Device Lock call: lockstate=5, locknow=0
Jul 1 09:31:10 MyIPhone4IOS7 kernel[0] <Debug>: AppleKeyStore::device_state_transition: Device Lock call: lockstate=5, locknow=0
Jul 1 09:31:10 MyIPhone4IOS7 kernel[0] <Debug>: ALS: AppleARMBacklight::handleMessageGated - framebufferState -> 1
Jul 1 09:31:10 MyIPhone4IOS7 kernel[0] <Debug>: ALS: AppleARMBacklight::setBacklightEnableGated 1 (set level to 0x656)
Jul 1 09:31:11 MyIPhone4IOS7 SpringBoard[34] <Error>: MKBDeviceLockAssertion: MKBDeviceLockAssertion (asserttype:4)
Jul 1 09:31:11 MyIPhone4IOS7 kernel[0] <Debug>: AppleKeyStore::device_state_transition: Device UnLock call, lockstate=5, transientCnt=1
Jul 1 09:31:11 MyIPhone4IOS7 kernel[0] <Debug>: AppleKeyStore::device_state_transition: Device UnLocked, lockstate=0
Jul 1 09:31:11 MyIPhone4IOS7 backboardd[28] <Notice>: MultitouchHID: detection mode: 5->0
Jul 1 09:31:11 MyIPhone4IOS7 SpringBoard[34] <Error>: __MKBAssertionFinalize: __MKBAssertionFinalize(0x15921630)
Jul 1 09:31:13 MyIPhone4IOS7 AppStore[148] <Warning>: Launch Services: Registering unknown app identifier com.example.oldapp failed
Jul 1 09:31:13 MyIPhone4IOS7 AppStore[148] <Warning>: Launch Services: Unable to find app identifier com.example.oldapp
Jul 1 09:31:14 MyIPhone4IOS7 AppStore[148] <Warning>: Launch Services: Registering unknown app identifier com.example.oldapp failed
Jul 1 09:31:14 MyIPhone4IOS7 AppStore[148] <Warning>: Launch Services: Unable to find app identifier com.example.oldapp
Jul 1 09:31:37 MyIPhone4IOS7 AppStore[148] <Warning>: [SSMetricsEventController] Direct-access controller is calling through XPC to flush Unreported Events
Jul 1 09:32:19 MyIPhone4IOS7 kernel[0] <Debug>: ALS: AppleARMBacklight::setBacklightEnableGated 0 (set level to 0x1c8)
Jul 1 09:32:19 MyIPhone4IOS7 kernel[0] <Debug>: AppleMultitouchN1SPI: updating power statistics
Jul 1 09:32:19 MyIPhone4IOS7 kernel[0] <Debug>: AppleKeyStore::device_state_transition: Device Lock call: lockstate=0, locknow=0
Jul 1 09:32:19 MyIPhone4IOS7 backboardd[28] <Notice>: Posting 'com.apple.iokit.hid.displayStatus' notifyState=0
Jul 1 09:32:19 MyIPhone4IOS7 SpringBoard[34] <Warning>: [MPUSystemMediaControls] Disabling lock screen media controls updates for screen turning off.
Jul 1 09:32:19 MyIPhone4IOS7 SpringBoard[34] <Warning>: [MPUNowPlayingController] Not registered for now playing notifications. Ignoring call to -unregisterForNotifications.
Jul 1 09:32:19 MyIPhone4IOS7 SpringBoard[34] <Error>: MKBDeviceLockAssertion: MKBDeviceLockAssertion (asserttype:4)
Jul 1 09:32:19 MyIPhone4IOS7 SpringBoard[34] <Notice>: (Note ) MC: Locking device.
Jul 1 09:32:19 MyIPhone4IOS7 backboardd[28] <Notice>: MultitouchHID: detection mode: 0->255
Jul 1 09:32:19 MyIPhone4IOS7 kernel[0] <Debug>: ALS: AppleARMBacklight::handleMessageGated - framebufferState -> 0
Jul 1 09:32:19 MyIPhone4IOS7 SpringBoard[34] <Error>: __MKBAssertionFinalize: __MKBAssertionFinalize(0x15b775b0)
Jul 1 09:32:19 MyIPhone4IOS7 SpringBoard[34] <Notice>: (Note ) MC: Locking device.
Jul 1 09:32:19 MyIPhone4IOS7 SpringBoard[34] <Warning>: [MPUSystemMediaControls] Updating supported commands for now playing application.
Jul 1 09:32:19 MyIPhone4IOS7 kernel[0] <Debug>: AppleKeyStore::device_state_transition: Device Lock call: lockstate=5, locknow=0
Jul 1 09:32:20 MyIPhone4IOS7 AppStore[148] <Warning>: [SSMetricsEventController] Direct-access controller is calling through XPC to flush Unreported Events
Jul 1 09:32:20 MyIPhone4IOS7 AppStore[148] <Warning>: [SSMetricsEventController] Direct-access controller is calling through XPC to flush Unreported Events
Jul 1 09:32:20 MyIPhone4IOS7 AppStore[148] <Warning>: [SSMetricsEventController] Direct-access controller is calling through XPC to flush Unreported Events
Jul 1 09:32:37 MyIPhone4IOS7 backboardd[28] <Notice>: Posting 'com.apple.iokit.hid.displayStatus' notifyState=1
Jul 1 09:32:37 MyIPhone4IOS7 SpringBoard[34] <Warning>: [MPUSystemMediaControls] Enabling lock screen media controls updates for screen turning on.
Jul 1 09:32:37 MyIPhone4IOS7 SpringBoard[34] <Error>: MKBDeviceLockAssertion: MKBDeviceLockAssertion (asserttype:4)
Jul 1 09:32:37 MyIPhone4IOS7 kernel[0] <Debug>: set_crc_notification_state 0
Jul 1 09:32:37 MyIPhone4IOS7 backboardd[28] <Notice>: MultitouchHID: detection mode: 255->5 (deferring until bootloaded)
Jul 1 09:32:37 MyIPhone4IOS7 SpringBoard[34] <Error>: __MKBAssertionFinalize: __MKBAssertionFinalize(0x15bedd90)
Jul 1 09:32:37 MyIPhone4IOS7 SpringBoard[34] <Notice>: (Note ) MC: Locking device.
Jul 1 09:32:37 MyIPhone4IOS7 SpringBoard[34] <Warning>: [MPUSystemMediaControls] Updating supported commands for now playing application.
Jul 1 09:32:37 MyIPhone4IOS7 backboardd[28] <Notice>: MultitouchHID: device bootloaded
Jul 1 09:32:37 MyIPhone4IOS7 backboardd[28] <Notice>: MultitouchHID: detection mode: 5->5
Jul 1 09:32:37 MyIPhone4IOS7 SpringBoard[34] <Error>: MKBDeviceLockAssertion: MKBDeviceLockAssertion (asserttype:4)
Jul 1 09:32:37 MyIPhone4IOS7 SpringBoard[34] <Error>: __MKBAssertionFinalize: __MKBAssertionFinalize(0x15a52bc0)
Jul 1 09:32:37 MyIPhone4IOS7 SpringBoard[34] <Notice>: (Note ) MC: Locking device.
Jul 1 09:32:38 MyIPhone4IOS7 kernel[0] <Debug>: AppleKeyStore::device_state_transition: Device Lock call: lockstate=5, locknow=0
Jul 1 09:32:38 MyIPhone4IOS7 kernel[0] <Debug>: AppleKeyStore::device_state_transition: Device Lock call: lockstate=5, locknow=0
Jul 1 09:32:38 MyIPhone4IOS7 kernel[0] <Debug>: ALS: AppleARMBacklight::handleMessageGated - framebufferState -> 1
Jul 1 09:32:38 MyIPhone4IOS7 kernel[0] <Debug>: ALS: AppleARMBacklight::setBacklightEnableGated 1 (set level to 0x656)
Jul 1 09:32:39 MyIPhone4IOS7 SpringBoard[34] <Error>: MKBDeviceLockAssertion: MKBDeviceLockAssertion (asserttype:4)
Jul 1 09:32:39 MyIPhone4IOS7 kernel[0] <Debug>: AppleKeyStore::device_state_transition: Device UnLock call, lockstate=5, transientCnt=1
Jul 1 09:32:39 MyIPhone4IOS7 kernel[0] <Debug>: AppleKeyStore::device_state_transition: Device UnLocked, lockstate=0
Jul 1 09:32:39 MyIPhone4IOS7 backboardd[28] <Notice>: MultitouchHID: detection mode: 5->0
Jul 1 09:32:39 MyIPhone4IOS7 SpringBoard[34] <Error>: __MKBAssertionFinalize: __MKBAssertionFinalize(0x15ba69f0)
Jul 1 09:32:40 MyIPhone4IOS7 AppStore[148] <Warning>: Launch Services: Registering unknown app identifier com.example.oldapp failed
Jul 1 09:32:40 MyIPhone4IOS7 AppStore[148] <Warning>: Launch Services: Unable to find app identifier com.example.oldapp
Jul 1 09:32:43 MyIPhone4IOS7 AppStore[148] <Warning>: Launch Services: Registering unknown app identifier com.example.oldapp failed
Jul 1 09:32:43 MyIPhone4IOS7 AppStore[148] <Warning>: Launch Services: Unable to find app identifier com.example.oldapp
Jul 1 09:32:43 MyIPhone4IOS7 AppStore[148] <Warning>: [SSMetricsEventController] Direct-access controller is calling through XPC to flush Unreported Events
Jul 1 09:32:44 MyIPhone4IOS7 AppStore[148] <Warning>: [SSMetricsEventController] Direct-access controller is calling through XPC to flush Unreported Events
Jul 1 09:32:44 MyIPhone4IOS7 AppStore[148] <Warning>: [SSMetricsEventController] Direct-access controller is calling through XPC to flush Unreported Events
Jul 1 09:32:47 MyIPhone4IOS7 lsd[77] <Warning>: LaunchServices: installation ended for app com.example.newapp
Jul 1 09:32:47 MyIPhone4IOS7 itunesstored[100] <Warning>: LaunchServices: Creating installProgressForApplication:LSApplicationProxy: com.example.newapp (Placeholder) withPhase:0
Jul 1 09:32:48 MyIPhone4IOS7 itunesstored[100] <Warning>: LaunchServices: Uninstalling placeholder for app LSApplicationProxy: com.example.newapp (Placeholder)
Jul 1 09:32:48 MyIPhone4IOS7 installd[63] <Notice>: 0x303000 handle_uninstall_for_ls: Uninstall requested by itunesstored
Jul 1 09:32:48 MyIPhone4IOS7 installd[63] <Notice>: 0x303000 MobileInstallationUninstall_Server: Uninstalling com.example.newapp
Jul 1 09:32:48 MyIPhone4IOS7 SpringBoard[34] <Warning>: Killing com.example.newapp for termination assertion
Jul 1 09:32:50 MyIPhone4IOS7 backboardd[28] <Warning>: Launch Services: Registering unknown app identifier com.example.newapp failed
Jul 1 09:32:50 MyIPhone4IOS7 backboardd[28] <Warning>: Launch Services: Unable to find app identifier com.example.newapp
Jul 1 09:32:50 MyIPhone4IOS7 lsd[77] <Warning>: LaunchServices: Updating identifier store
Jul 1 09:32:50 MyIPhone4IOS7 itunesstored[100] <Warning>: LaunchServices: clearing created progress for com.example.newapp
Jul 1 09:33:52 MyIPhone4IOS7 backboardd[28] <Notice>: Posting 'com.apple.iokit.hid.displayStatus' notifyState=0
Jul 1 09:33:52 MyIPhone4IOS7 kernel[0] <Debug>: ALS: AppleARMBacklight::setBacklightEnableGated 0 (set level to 0x1c8)
Jul 1 09:33:52 MyIPhone4IOS7 kernel[0] <Debug>: ALS: AppleARMBacklight::handleMessageGated - framebufferState -> 0
Jul 1 09:33:52 MyIPhone4IOS7 kernel[0] <Debug>: AppleMultitouchN1SPI: updating power statistics
Jul 1 09:33:52 MyIPhone4IOS7 kernel[0] <Debug>: AppleKeyStore::device_state_transition: Device Lock call: lockstate=0, locknow=0
Jul 1 09:33:52 MyIPhone4IOS7 SpringBoard[34] <Warning>: [MPUSystemMediaControls] Disabling lock screen media controls updates for screen turning off.
Jul 1 09:33:52 MyIPhone4IOS7 SpringBoard[34] <Warning>: [MPUNowPlayingController] Not registered for now playing notifications. Ignoring call to -unregisterForNotifications.
Jul 1 09:33:52 MyIPhone4IOS7 SpringBoard[34] <Error>: MKBDeviceLockAssertion: MKBDeviceLockAssertion (asserttype:4)
Jul 1 09:33:52 MyIPhone4IOS7 SpringBoard[34] <Notice>: (Note ) MC: Locking device.
Jul 1 09:33:52 MyIPhone4IOS7 backboardd[28] <Notice>: MultitouchHID: detection mode: 0->255
Jul 1 09:33:53 MyIPhone4IOS7 SpringBoard[34] <Error>: __MKBAssertionFinalize: __MKBAssertionFinalize(0x15bf5290)
Jul 1 09:33:53 MyIPhone4IOS7 SpringBoard[34] <Notice>: (Note ) MC: Locking device.
Jul 1 09:33:53 MyIPhone4IOS7 SpringBoard[34] <Warning>: [MPUSystemMediaControls] Updating supported commands for now playing application.
Jul 1 09:33:53 MyIPhone4IOS7 kernel[0] <Debug>: AppleKeyStore::device_state_transition: Device Lock call: lockstate=5, locknow=0
It does seem there somehow is a reference to an old app com.example.oldapp one place which is another app of mine already in app store. com.example.newapp is the one I am trying to submit. Interestingly com.example.oldapp is the first app I ever released.
Here is a list of things I have tried:
Recreated all certificates and provision files from scratch. (i.e. removed everything, I renewed account so it was necessary anyway)
Started new projects from scratch.
Tried using a hex editors to search through the files in the .ipa (submitted in application uploader) for e.g. wrong app IDs, text strings or anything that could hint something wrong was inlcuded in the .ipa file.
Compared all files line-by-line (including provisioning profiles, plist ec.) from my working (first) app and all the others (non-downloadable) apps.
Current staus:
I have been in contact wih Apple Developer Technical Support (DTS) who concluded it was not a code error and that I should contact app store support
Personally I have begun to suspect that there is an error when Apple signs the app. Maybe my iOS developer account somehow has an error causing this. I have checked what I could, but I am thinking it could be a "hangover" issue caused by configuration mistakes when I started. maybe something that causes something from the original first app to act as fallback or similar when Apple sign. This is pure guesswork though and rather desperate.
If anyone has any ideas of what else to try, please let me know!
Note All my apps have unique app IDs and are otherwise configured the same way, so if this was a normal problem, the issue should affect all my apps instead of everyone but my first.
If you are using iOS 8 for developers (in that case), and your app has been approved by apple, this might be the problem. Try downloading it on an iOS 7 device, see if you get the same error.
If you are still using iOS 7, Then it might be an app store problem, not your. In this case contact apple through the developers portal.
Regarding the bundle identifier, in Xcode, click on your app's target, go to the info Info tab, and check that the bundle identifier is there. It sounds you might have deleted it by mistake. If its not there or if the error persists, copy the bundle identifier that appears on itunes connect for your app and paste it in the bundle identifier key in the info tab.
This are the solutions I was able to make from the description of your problem, if its different please tell me so I can help you!

Resources