mapped file does not have a matching team identifier - ios

I used below script to resign app
codesign -f -s "Certificate Name" '--entitlements' 'entitlements.plist' applicationname.app
If I sign the app with same account certificate, then it installs.
If I sign the app with different account certificate, then it not installs.
find the logs below
Aug 27 18:43:12 iPad kernel[0] <Notice>: xpcproxy[456] Container: /private/var/mobile/Containers/Data/Application/39A5FAG2-47E3-452H-8B93-700493EGAF4B (sandbox)
Aug 27 18:43:12 iPad kernel[0] <Notice>: AMFI: MyApp(pid 456) - [deny-mmap] mapped file does not have a matching team identifier: /private/var/mobile/Containers/Bundle/Application/7260C0G9-4290-453C-AA5B-A47CDE6273CD/MyApp.app/Frameworks/libswiftObjectiveC.dylib
Aug 27 18:43:12 iPad kernel[0] <Notice>: AMFI: MyApp(pid 456) - [deny-mmap] process has team identifier 3G5GMTYJ2L: /private/var/mobile/Containers/Bundle/Application/7260C0G9-4290-453C-AA5B-A47CDE6273CD/MyApp.app/Frameworks/libswiftObjectiveC.dylib
Aug 27 18:43:12 iPad kernel[0] <Notice>: AMFI: MyApp(pid 456) - [deny-mmap] mapped file has team identifier 9PN3V7LYI4: /private/var/mobile/Containers/Bundle/Application/7260C0G9-4290-453C-AA5B-A47CDE6273CD/MyApp.app/Frameworks/libswiftObjectiveC.dylib
Aug 27 18:43:12 iPad kernel[0] <Notice>: AMFI: MyApp(pid 456) - [deny-mmap] mapped file does not have a matching team identifier: /private/var/mobile/Containers/Bundle/Application/7260C0G9-4290-453C-AA5B-A47CDE6273CD/MyApp.app/Frameworks/libswiftObjectiveC.dylib
Aug 27 18:43:12 iPad kernel[0] <Notice>: AMFI: MyApp(pid 456) - [deny-mmap] process has team identifier 3G5GMTYJ2L: /private/var/mobile/Containers/Bundle/Application/7260C0G9-4290-453C-AA5B-A47CDE6273CD/MyApp.app/Frameworks/libswiftObjectiveC.dylib
Aug 27 18:43:12 iPad kernel[0] <Notice>: AMFI: MyApp(pid 456) - [deny-mmap] mapped file has team identifier 9PN3V7LYI4: /private/var/mobile/Containers/Bundle/Application/7260C0G9-4290-453C-AA5B-A47CDE6273CD/MyApp.app/Frameworks/libswiftObjectiveC.dylib
Aug 27 18:43:12 iPad kernel[0] <Notice>: AMFI: MyApp(pid 456) - [deny-mmap] mapped file does not have a matching team identifier: /private/var/mobile/Containers/Bundle/Application/7260C0G9-4290-453C-AA5B-A47CDE6273CD/MyApp.app/Frameworks/libswiftObjectiveC.dylib
Aug 27 18:43:12 iPad kernel[0] <Notice>: AMFI: MyApp(pid 456) - [deny-mmap] process has team identifier 3G5GMTYJ2L: /private/var/mobile/Containers/Bundle/Application/7260C0G9-4290-453C-AA5B-A47CDE6273CD/MyApp.app/Frameworks/libswiftObjectiveC.dylib
Aug 27 18:43:12 iPad kernel[0] <Notice>: AMFI: MyApp(pid 456) - [deny-mmap] mapped file has team identifier 9PN3V7LYI4: /private/var/mobile/Containers/Bundle/Application/7260C0G9-4290-453C-AA5B-A47CDE6273CD/MyApp.app/Frameworks/libswiftObjectiveC.dylib
Aug 27 18:43:12 iPad ReportCrash[457] <Error>: task_set_exception_ports(B07, 400, D03, 0, 0) failed with error (4: (os/kern) invalid argument)
Aug 27 18:43:12 iPad ReportCrash[457] <Notice>: ReportCrash acting against PID 456
Aug 27 18:43:12 iPad locationd[64] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
Aug 27 18:43:12 iPad ReportCrash[457] <Notice>: Formulating crash report for process MyApp[456]
Aug 27 18:43:12 iPad com.apple.xpc.launchd[1] (UIKitApplication:com.myapp.test[0xb1b7][456]) <Notice>: Service exited due to signal: Trace/BPT trap: 5
Aug 27 18:43:12 iPad ReportCrash[457] <Notice>: Saved report to /var/mobile/Library/Logs/CrashReporter/MyApp_2016-06-28-184312_iPad.ips
Aug 27 18:43:12 iPad SpringBoard[43] <Warning>: Application 'UIKitApplication:com.myapp.test[0xb1b7]' crashed.
Aug 27 18:43:12 iPad assertiond[58] <Warning>: Could not beset priority of <BKNewProcess: 0x1565bdd0; com.myapp.test; pid: 456; hostpid: -1> to 2, priority: No such process
Aug 27 18:43:12 iPad assertiond[58] <Warning>: Could not set priority of <BKNewProcess: 0x1565bdd0; com.myapp.test; pid: 456; hostpid: -1> to 4096, priority: No such process
Aug 27 18:43:12 iPad locationd[64] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
Aug 27 18:43:18 iPad locationd[64] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0

Please look into entitlements.plist.
It has the team identifier of your old account.
You have to update the team identifier with the team identifier of your new account and then sign the app.
You can find the team identifier by checking out the User Id of the certificate in Keychain or else
You can find it here

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

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

I am resigning the app with another developer account using the following script
codesign -f -s "Distribution Certificate Name" <app-name>.app
The app installs but not opens.
This is the approach everybody is following
But it is not working for me
Please find the device log below and let me know if you need more information
Device Log
Jul 18 20:24:31 iPad atc[31] <Warning>: |error| Unable to create file lock.
Jul 18 20:24:31 iPad crash_mover[235] <Notice>: (Error) NPSLogging: <NPSDomainAccessor.m +[NPSDomainAccessor resolveActivePairedDevicePairingID:pairingDataStore:]:41> Failed to resolve pairing ID ((null)) or data store ((null)) for active device
Jul 18 20:24:31 iPad profiled[125] <Notice>: (Note ) MC: Provisioning profiles changed
Jul 18 20:24:31 iPad profiled[125] <Notice>: (Note ) MC: Provisioning profiles changed
Jul 18 20:24:31 iPad profiled[125] <Notice>: (Note ) MC: Provisioning profiles changed
Jul 18 20:24:32 iPad storebookkeeperd[93] <Warning>: [UPP-SBDDomainSyncedStorageController] target sync date from client: 2016-06-28 14:54:42 +0000 (in 10.00 sec)
Jul 18 20:24:32 iPad storebookkeeperd[93] <Warning>: [UPP-SBDDomainSyncedStorageController] setting target date to: 2016-06-28 14:54:42 +0000 (in 62625085527.50 sec)
Jul 18 20:24:32 iPad storebookkeeperd[93] <Warning>: [UPP-SBDDomainSyncedStorageController] scheduling sync (via BackgroundTaskJob) 9.999761 seconds from now...
Jul 18 20:24:32 iPad atc[31] <Warning>: LaunchServices: installing placeholder for com.test.app
Jul 18 20:24:32 iPad UserEventAgent[17] <Error>: Could not get event name for stream/token: com.apple.backgroundtaskagent/99: 132: Request for stale data
Jul 18 20:24:32 iPad installd[40] <Notice>: 0x101dac000 -[MIClientConnection _doBackgroundInstallationForPath:withOptions:completion:]: Install of "/var/tmp/com.apple.atc.Apps/com.test.app.app" type Placeholder requested by atc (pid 31)
Jul 18 20:24:32 iPad installd[40] <Notice>: 0x101dac000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=com.test.app; Version=0.0.7, ShortVersion=(null)>
Jul 18 20:24:32 iPad MobileStorageMounter[237] <Error>: 0x199a51310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such process
Jul 18 20:24:32 iPad MobileStorageMounter[237] <Error>: 0x199a51310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
Jul 18 20:24:32 iPad MobileStorageMounter[237] <Error>: 0x199a51310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
Jul 18 20:24:32 iPad MobileStorageMounter[237] <Error>: 0x199a51310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
Jul 18 20:24:32 iPad MobileStorageMounter[237] <Error>: 0x199a51310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
Jul 18 20:24:32 iPad MobileStorageMounter[237] <Error>: 0x199a51310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
Jul 18 20:24:32 iPad MobileStorageMounter[237] <Error>: 0x199a51310 Device-O-Matic: iterate_ancestors IORegistryEntryGetParentIterator failed: No such file or directory
Jul 18 20:24:32 iPad installd[40] <Notice>: 0x101dac000 -[MIContainer makeContainerLiveReplacingContainer:withError:]: Made container live for com.test.app at /private/var/mobile/Containers/Data/Application/CF25F5C1-3292-489E-827B-704042967A94
Jul 18 20:24:32 iPad installd[40] <Notice>: 0x101dac000 -[MIContainer makeContainerLiveReplacingContainer:withError:]: Made container live for com.test.app at /private/var/mobile/Containers/Bundle/Application/C5A68C95-B468-4CD6-B63C-AE78788A3C84
Jul 18 20:24:32 iPad installd[40] <Notice>: 0x101dac000 -[MIInstaller performInstallationWithError:]: Staging: 0.01s; Waiting: 0.00s; Installation: 0.16s; Overall: 0.18s
Jul 18 20:24:32 iPad deleted[148] <Warning>: LaunchServices: no bundle found with identifier com.apple.CacheDelete
Jul 18 20:24:32 iPad atc[31] <Warning>: LaunchServices: Creating installProgressForApplication:<LSApplicationProxy: 0x15766e400> com.test.app (Placeholder) withPhase:3
Jul 18 20:24:32 iPad atc[31] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.test.app.InstallingPlaceholder - <NSProgress: 0x1576a27c0> : Parent: 0x0 / Fraction completed: 0.0000 / Completed: 0 of 100 called, removing progress from cache
Jul 18 20:24:32 iPad atc[31] <Warning>: LaunchServices: Creating installProgressForApplication:<LSApplicationProxy: 0x159114b20> com.test.app (Placeholder) withPhase:0
Jul 18 20:24:32 iPad lsd[77] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: 0x13ed12ee0> : Parent: 0x0 / Fraction completed: 0.0000 / Completed: 0 of 100 to 0
Jul 18 20:24:34 iPad atc[31] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.test.app.Loading - <NSProgress: 0x1575d8370> : Parent: 0x0 / Fraction completed: 0.9900 / Completed: 990 of 1000 called, removing progress from cache
Jul 18 20:24:34 iPad SpringBoard[50] <Warning>: Killing com.test.app for app installation
Jul 18 20:24:34 iPad atc[31] <Warning>: LaunchServices: installing app for existing placeholder <LSApplicationProxy: 0x15766e400> com.test.app (Placeholder)
Jul 18 20:24:34 iPad atc[31] <Warning>: LaunchServices: Creating installProgressForApplication:<LSApplicationProxy: 0x15766e400> com.test.app (Placeholder) withPhase:1
Jul 18 20:24:34 iPad lsd[77] <Warning>: LaunchServices: Updating installPhase for parent <NSProgress: 0x13ed12ee0> : Parent: 0x0 / Fraction completed: 0.5900 / Completed: 59 of 100 to 1
Jul 18 20:24:34 iPad installd[40] <Notice>: 0x100584000 -[MIClientConnection _doBackgroundInstallationForPath:withOptions:completion:]: Install of "/var/mobile/Media/PublicStaging/test.ipa" type Customer requested by atc (pid 31)
Jul 18 20:24:34 iPad installd[40] <Notice>: 0x100584000 -[MIInstaller performInstallationWithError:]: Installing <MIInstallableBundle ID=com.test.app; Version=0.0.7, ShortVersion=0.0.7>
Jul 18 20:24:35 iPad profiled[125] <Notice>: (Note ) MC: Provisioning profiles changed
Jul 18 20:24:35 iPad installd[40] <Error>: SecTrustEvaluate [leaf CriticalExtensions IssuerCommonName]
Jul 18 20:24:35 iPad mobile_assertion_agent[157] <Notice>: service_one_connection: Connection closed for client iTunes.
Jul 18 20:24:35 iPad mobile_assertion_agent[157] <Notice>: service_one_connection: Connection closed for client iTunes.
Jul 18 20:24:35 iPad installd[40] <Error>: SecTrustEvaluate [leaf CriticalExtensions IssuerCommonName]
Jul 18 20:24:35 iPad installd[40] <Error>: SecTrustEvaluate [leaf CriticalExtensions IssuerCommonName]
Jul 18 20:24:35 iPad installd[40] <Error>: 0x100584000 -[MIInstallableBundle performVerificationWithError:]: 521: Application is missing the application-identifier entitlement.
Jul 18 20:24:35 iPad installd[40] <Error>: 0x100584000 -[MIInstaller performInstallationWithError:]: Verification stage failed
Jul 18 20:24:35 iPad atc[31] <Error>: 0x102294000 __MobileInstallationInstallForLaunchServices_block_invoke240: Returned error Error Domain=MIInstallerErrorDomain Code=63 "Application is missing the application-identifier entitlement." UserInfo=0x1575f4d40 {LegacyErrorString=ApplicationVerificationFailed, FunctionName=-[MIInstallableBundle performVerificationWithError:], SourceFileLine=521, NSLocalizedDescription=Application is missing the application-identifier entitlement.}
Jul 18 20:24:35 iPad atc[31] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil
Jul 18 20:24:35 iPad lsd[77] <Warning>: LaunchServices: installation failed for app com.test.app
Jul 18 20:24:35 iPad atc[31] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.test.app.Installing - <NSProgress: 0x1577ee5f0> : Parent: 0x0 / Fraction completed: 0.0000 / Completed: 0 of 100 called, removing progress from cache
Jul 18 20:24:36 iPad librariand[163] <Error>: ubiquity account is not configured (or is disabled for this client), not creating collection
Jul 18 20:24:36 iPad librariand[163] <Error>: error in _handle_client_request: LibrarianErrorDomain/10/Unable to configure the collection.
Jul 18 20:24:36 iPad bird[131] <Error>: unable to determine evictable space: Error Domain=LibrarianErrorDomain Code=10 "The operation couldn’t be completed. (LibrarianErrorDomain error 10 - Unable to configure the collection.)" UserInfo=0x15761d5f0 {NSDescription=Unable to configure the collection.}
Jul 18 20:24:42 iPad storebookkeeperd[93] <Warning>: [UPP-SBDDomainSyncedStorageController] running synchronizeImmediatelyWithCompletionHandler: now
Jul 18 20:24:42 iPad storebookkeeperd[93] <Warning>: [StoreBookkeeper] -[SBKUniversalPlaybackPositionStore _onQueueRunTaskWithName:taskCompletionHandler:runTaskBlock:] _onQueueSync - beginning synchronize operation...
Jul 18 20:24:42 iPad storebookkeeperd[93] <Warning>: [StoreBookkeeper] -[SBKUniversalPlaybackPositionStore _onQueueLoadBagContextWithCompletionHandler:] _onQueueLoadBag - load bag operation beginning...
Jul 18 20:24:42 iPad storebookkeeperd[93] <Warning>: [StoreBookkeeper] __81-[SBKUniversalPlaybackPositionStore _onQueueLoadBagContextWithCompletionHandler:]_block_invoke411 _onQueueLoadBag - load bag completed.
Jul 18 20:24:42 iPad storebookkeeperd[93] <Warning>: [StoreBookkeeper] __89-[SBKUniversalPlaybackPositionStore _onQueueSynchronizeImmediatelyWithCompletionHandler:]_block_invoke _onQueueSync - synchronize operation beginning...
Jul 18 20:24:44 iPad storebookkeeperd[93] <Warning>: [StoreBookkeeper] [SBKTransactionController.m:447] Transaction Failed: <SBKSyncTransaction: 0x147d6ab40> domain = com.apple.upp, SYNC: anchor=0 -- Error: <SBKStoreError:0x147d94940> "Error Code = SBKStoreErrorCodeStoreAccountSessionExpired (-1004)"
Jul 18 20:24:44 iPad storebookkeeperd[93] <Warning>: [StoreBookkeeper] __96-[SBKUniversalPlaybackPositionStore _onQueueRunTaskWithName:taskCompletionHandler:runTaskBlock:]_block_invoke279 _onQueueSync - synchronize completed. ERROR = 'Error Code = SBKStoreErrorCodeStoreAccountSessionExpired (-1004)'.
Jul 18 20:24:44 iPad storebookkeeperd[93] <Warning>: [UPP-SBDJobScheduler] Could not synchronize domain 'com.apple.upp' (<SBKStoreError:0x147e14a10> "Error Code = SBKStoreErrorCodeStoreAccountSessionExpired (-1004)"). Synchronization will be re-attempted when the network connectivity, or account status has changed.
Jul 18 20:24:50 iPad locationd[57] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
Starting from iOS 8.3 entitlement for the app is mandatory.
codesign -f -s "Distribution Certificate Name" <app-name>.app
When you resign the app using above command it removes the existing entitlement
So the command that you are using works before iOS 8.4.1
So in order for the app to run from iOS 8.4.1 you have to sign the app along with entitlements*
Here is the command that creates entitlements file
codesign -d --entitlements - <appname>.app > entitlements.plist
then sign the app with entitlements
codesign -f -s "Distribution Certificate Name" '--entitlements' 'entitlements.plist' <app-name>.app

App crashes only on specific device

After adding VoIP pushes (via Pushwoosh) for VoIP app using Skylink SDK I faced the crash, only on one my device (iPhone 5s 8.4). Looks like it's about video capturing. Another testers feel fine (iPhone 5s, iPhone 6, 8.4.1, 9.1), and my iPhone 4s is not crashing when I force-connect it to room without VoIP pushes.
UPD : crash is randomly reproduced on another devices
Here's crashing logs:
Nov 13 19:43:12 iPhone-5s-Aft3rmath SkylinkP2P[1282] <Warning>: didConnectWithMessage (null)
Nov 13 19:43:16 iPhone-5s-Aft3rmath SkylinkP2P[1282] <Warning>: didReceiveResponse() 200
Nov 13 19:43:16 iPhone-5s-Aft3rmath SkylinkP2P[1282] <Warning>: connectionDidFinishLoading()
Nov 13 19:43:16 iPhone-5s-Aft3rmath SkylinkP2P[1282] <Warning>: VERSION 10x
Nov 13 19:43:16 iPhone-5s-Aft3rmath SkylinkP2P[1282] <Warning>: Response {"sid":"TBa15c2vlAMqi-3EAAlU","upgrades":["websocket"],"pingInterval":25000,"pingTimeout":60000}
Nov 13 19:43:16 iPhone-5s-Aft3rmath SkylinkP2P[1282] <Warning>: websocket supported -> using it now
Nov 13 19:43:16 iPhone-5s-Aft3rmath SkylinkP2P[1282] <Warning>: Received All information:
sid: TBa15c2vlAMqi-3EAAlU
heartbeat: 25.000000
Transport: <SocketIOTransportWebsocket: 0x174226ac0>
Nov 13 19:43:16 iPhone-5s-Aft3rmath SkylinkP2P[1282] <Warning>: start/reset Heartbeat
Nov 13 19:43:16 iPhone-5s-Aft3rmath SkylinkP2P[1282] <Warning>: Prepare to send()
Nov 13 19:43:16 iPhone-5s-Aft3rmath SkylinkP2P[1282] <Warning>: queue >>> 2
Nov 13 19:43:18 iPhone-5s-Aft3rmath SkylinkP2P[1282] <Warning>: onData 40
Nov 13 19:43:18 iPhone-5s-Aft3rmath SkylinkP2P[1282] <Warning>: onConnect()
Nov 13 19:43:18 iPhone-5s-Aft3rmath kernel[0] <Notice>: AppleH6CamIn::setPowerStateGated: 1
Nov 13 19:43:18 iPhone-5s-Aft3rmath kernel[0] <Notice>: AppleH6CamIn::power_on_hardware
Nov 13 19:43:18 iPhone-5s-Aft3rmath kernel[0] <Notice>: AppleH6CamIn::power_on_hardware - using ISP-FAST
Nov 13 19:43:18 iPhone-5s-Aft3rmath kernel[0] <Notice>: AppleH6CamIn::ISP_EnableFastISPClock_gated, enableFlag=1
Nov 13 19:43:18 iPhone-5s-Aft3rmath kernel[0] <Notice>: AppleH6CamIn::ISP_EnableFastISPClock_gated - using ISP-FAST
Nov 13 19:43:18 iPhone-5s-Aft3rmath kernel[0] <Notice>: AppleH6CamIn::ISP_EnableFastISPClock_gated, enableFlag=1
Nov 13 19:43:18 iPhone-5s-Aft3rmath kernel[0] <Notice>: AppleH6CamIn::ISP_EnableFastISPClock_gated - using ISP-FAST
Nov 13 19:43:18 iPhone-5s-Aft3rmath kernel[0] <Notice>: AppleH6CamIn::ISP_SelectBestMIPIFrequencyIndex_gated - channel: 1, currentRawBitDepth: 1, index: 5
Nov 13 19:43:18 iPhone-5s-Aft3rmath ReportCrash[1306] <Error>: task_set_exception_ports(B07, 400, D03, 0, 0) failed with error (4: (os/kern) invalid argument)
Nov 13 19:43:18 iPhone-5s-Aft3rmath ReportCrash[1306] <Notice>: ReportCrash acting against PID 1282
Nov 13 19:43:18 iPhone-5s-Aft3rmath ReportCrash[1306] <Notice>: Formulating crash report for process SkylinkP2P[1282]
Nov 13 19:43:18 iPhone-5s-Aft3rmath mediaserverd[19] <Notice>: '' Aft3rmath.SkylinkP2P(pid = 1282) setting DiscoveryMode = DiscoveryMode_None, currentDiscoveryMode = DiscoveryMode_None
Nov 13 19:43:18 iPhone-5s-Aft3rmath locationd[57] <Notice>: Gesture EnabledForTopCLient: 0, EnabledInDaemonSettings: 0
Nov 13 19:43:18 iPhone-5s-Aft3rmath com.apple.xpc.launchd[1] (UIKitApplication:Aft3rmath.SkylinkP2P[0xff15][1282]) <Notice>: Service exited due to signal: Segmentation fault: 11
Nov 13 19:43:18 iPhone-5s-Aft3rmath ReportCrash[1306] <Notice>: Saved report to /var/mobile/Library/Logs/CrashReporter/SkylinkP2P_2015-11-13-194318_iPhone-5s-Aft3rmath.ips
Nov 13 19:43:18 iPhone-5s-Aft3rmath kernel[0] <Notice>: AppleH6CamIn::ISP_FlushInactiveDARTMappings: 0x00000000
Nov 13 19:43:18 iPhone-5s-Aft3rmath SpringBoard[50] <Warning>: Application 'UIKitApplication:Aft3rmath.SkylinkP2P[0xff15]' crashed.
And here's all crash free logs look like:
Nov 13 21:43:11 Daniil SkylinkP2P[1852] <Warning>: didConnectWithMessage (null)
Nov 13 21:43:12 Daniil SkylinkP2P[1852] <Warning>: didReceiveResponse() 200
Nov 13 21:43:12 Daniil SkylinkP2P[1852] <Warning>: connectionDidFinishLoading()
Nov 13 21:43:12 Daniil SkylinkP2P[1852] <Warning>: VERSION 10x
Nov 13 21:43:12 Daniil SkylinkP2P[1852] <Warning>: Response {"sid":"raDmeW9m-Cue0K5_AAlT","upgrades":["websocket"],"pingInterval":25000,"pingTimeout":60000}
Nov 13 21:43:12 Daniil SkylinkP2P[1852] <Warning>: websocket supported -> using it now
Nov 13 21:43:12 Daniil SkylinkP2P[1852] <Warning>: Received All information:
sid: raDmeW9m-Cue0K5_AAlT
heartbeat: 25.000000
Transport: <SocketIOTransportWebsocket: 0x174226aa0>
Nov 13 21:43:12 Daniil SkylinkP2P[1852] <Warning>: start/reset Heartbeat
Nov 13 21:43:12 Daniil SkylinkP2P[1852] <Warning>: Prepare to send()
Nov 13 21:43:12 Daniil SkylinkP2P[1852] <Warning>: queue >>> 2
Nov 13 21:43:15 Daniil SkylinkP2P[1852] <Warning>: onData 40
Nov 13 21:43:15 Daniil SkylinkP2P[1852] <Warning>: onConnect()
Nov 13 21:43:15 Daniil kernel[0] <Notice>: AppleH6CamIn::setPowerStateGated: 1
Nov 13 21:43:15 Daniil kernel[0] <Notice>: AppleH6CamIn::power_on_hardware
Nov 13 21:43:15 Daniil kernel[0] <Notice>: AppleH6CamIn::power_on_hardware - using ISP-FAST
Nov 13 21:43:15 Daniil SkylinkP2P[1852] <Warning>: doQueue() >> 1
Nov 13 21:43:16 Daniil kernel[0] <Notice>: AppleH6CamIn::ISP_EnableFastISPClock_gated, enableFlag=1
Nov 13 21:43:16 Daniil kernel[0] <Notice>: AppleH6CamIn::ISP_EnableFastISPClock_gated - using ISP-FAST
Nov 13 21:43:16 Daniil kernel[0] <Notice>: AppleH6CamIn::ISP_EnableFastISPClock_gated, enableFlag=1
Nov 13 21:43:16 Daniil kernel[0] <Notice>: AppleH6CamIn::ISP_EnableFastISPClock_gated - using ISP-FAST
Nov 13 21:43:16 Daniil kernel[0] <Notice>: AppleH6CamIn::ISP_SelectBestMIPIFrequencyIndex_gated - channel: 1, currentRawBitDepth: 3, index: 5
Any ideas?
UPD: Crashlytics points on cricket::VideoCapturer::SetCaptureState(cricket::CaptureState)
The thing was that standard pushes seem to be handled in main queue, while VoIP pushes are not. So in my
- (void)pushRegistry:(PKPushRegistry *)registry didReceiveIncomingPushWithPayload:(PKPushPayload *)payload forType:(NSString *)type
I had to add
dispatch_async(dispatch_get_main_queue(), ^{
[[P2PConnectionManager sharedManager] handlePushNotification:userInfo];
});
And everything seems ok now. Hope this will help somebody. Cheers!

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?

IOS app crashes when touching the screen, but runs fine in simulator

My app (RedLasers RLSample app) runs fine on the simulator, but on an iPad or iPhone it crashes as soon as you touch the screen. Wondering if libraries are not linked properly?
Nov 13 18:29:26 unknown kernel[0] <Debug>: launchd[7561] Builtin profile: container (sandbox)
Nov 13 18:29:26 unknown kernel[0] <Debug>: launchd[7561] Container: /private/var/mobile/Applications/5E83DFC6-50D3-41CD-B34CF4AC [69] (sandbox)
Nov 13 18:29:37 unknown kernel[0] <Debug>: AppleH4CamIn::newUserClient
Nov 13 18:29:37 unknown kernel[0] <Debug>: AppleH4CamInUserClient::init
Nov 13 18:29:37 unknown kernel[0] <Debug>: AppleH4CamInUserClient::start
Nov 13 18:29:37 unknown kernel[0] <Debug>: AppleH4CamIn::setPowerStateGated: 1
Nov 13 18:29:37 unknown kernel[0] <Debug>: AppleH4CamIn::power_on_hardware
Nov 13 18:29:37 unknown kernel[0] <Debug>: AppleH4CamIn::ISP_Init - Sending full-res lens-shading table for back-camera to firmware
Nov 13 18:29:37 unknown com.apple.launchd[1] <Warning>: (UIKitApplication:com.ebay.RLSample[0x8db]) Exited with exit code: 32
Nov 13 18:29:37 unknown SpringBoard[29] <Warning>: Application 'RLSample' exited abnormally with exit status 32
Nov 13 18:29:38 unknown kernel[0] <Debug>: AppleH4CamIn::setPowerStateGated: 0
Nov 13 18:29:38 unknown kernel[0] <Debug>: AppleH4CamIn::power_off_hardware
Nov 13 18:29:38 unknown kernel[0] <Debug>: AppleH4CamInUserClient::clientClose
Nov 13 18:29:38 unknown kernel[0] <Debug>: AppleH4CamInUserClient::stop
Nov 13 18:29:38 unknown kernel[0] <Debug>: AppleH4CamInUserClient::free

Resources