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

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

Related

mapped file does not have a matching team identifier

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

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!

"process launch failed: timed out trying to launch app" when launching AdHoc app

When I have Xcode run the AdHoc version of my app on my test iPhone, the app starts launching, but then crashes and gives me the following error:
process launch failed: timed out trying to launch app
Here are my Code Signing settings:
Any idea what could be causing this crash? It doesn't crash like this when I run it in iOS simulator with the same settings.
Here is the console:
Sep 8 13:52:32 Andrew-Ghobrials-iPhone timed[18] <Notice>: (Note ) CoreTime: Fetching NTP time from "time.apple.com" count:3 timeout:60.00
Sep 8 13:52:32 Andrew-Ghobrials-iPhone kernel[0] <Debug>: 063504.739296 wlan.A[4990] AppleBCMWLANNetManager::updateLinkQualityMetrics(): Report LQM to User Land 100, fAverageRSSI -70
Sep 8 13:52:32 Andrew-Ghobrials-iPhone kernel[0] <Debug>: 063509.764068 wlan.A[4991] AppleBCMWLANNetManager::updateLinkQualityMetrics(): Report LQM to User Land 50, fAverageRSSI -71
Sep 8 13:52:32 Andrew-Ghobrials-iPhone kernel[0] <Debug>: 063625.316954 wlan.A[4992] AppleBCMWLANNetManager::updateLinkQualityMetrics(): Report LQM to User Land 100, fAverageRSSI -70
Sep 8 13:52:32 Andrew-Ghobrials-iPhone kernel[0] <Debug>: 063675.553649 wlan.A[4993] AppleBCMWLANNetManager::updateLinkQualityMetrics(): Report LQM to User Land 50, fAverageRSSI -71
Sep 8 13:52:32 Andrew-Ghobrials-iPhone kernel[0] <Debug>: 063791.109139 wlan.A[4994] AppleBCMWLANNetManager::updateLinkQualityMetrics(): Report LQM to User Land 100, fAverageRSSI -70
Sep 8 13:52:32 Andrew-Ghobrials-iPhone kernel[0] <Debug>: 063806.199158 wlan.A[4995] AppleBCMWLANNetManager::updateLinkQualityMetrics(): Report LQM to User Land 50, fAverageRSSI -71
Sep 8 13:52:32 Andrew-Ghobrials-iPhone kernel[0] <Debug>: 063891.584419 wlan.A[4996] AppleBCMWLANNetManager::updateLinkQualityMetrics(): Report LQM to User Land 100, fAverageRSSI -70
Sep 8 13:52:32 Andrew-Ghobrials-iPhone kernel[0] <Debug>: 064017.215490 wlan.A[4997] AppleBCMWLANNetManager::updateLinkQualityMetrics(): Report LQM to User Land 50, fAverageRSSI -71
Sep 8 13:52:32 Andrew-Ghobrials-iPhone kernel[0] <Debug>: 064052.343788 wlan.A[4998] AppleBCMWLANNetManager::updateLinkQualityMetrics(): Report LQM to User Land 100, fAverageRSSI -69
Sep 8 13:52:32 Andrew-Ghobrials-iPhone kernel[0] <Debug>: 064117.568636 wlan.A[4999] AppleBCMWLANNetManager::updateLinkQualityMetrics(): Report LQM to User Land 50, fAverageRSSI -71
Sep 8 13:52:32 Andrew-Ghobrials-iPhone kernel[0] <Debug>: 064172.755110 wlan.A[5000] AppleBCMWLANNetManager::updateLinkQualityMetrics(): Report LQM to User Land 100, fAverageRSSI -70
Sep 8 13:52:32 Andrew-Ghobrials-iPhone kernel[0] <Debug>: 064177.756703 wlan.A[5001] AppleBCMWLANNetManager::updateLinkQualityMetrics(): Report LQM to User Land 50, fAverageRSSI -71
Sep 8 13:52:32 Andrew-Ghobrials-iPhone kernel[0] <Debug>: 064182.780013 wlan.A[5002] AppleBCMWLANNetManager::updateLinkQualityMetrics(): Report LQM to User Land 100, fAverageRSSI -70
Sep 8 13:52:32 Andrew-Ghobrials-iPhone kernel[0] <Debug>: 064263.134225 wlan.A[5003] AppleBCMWLANNetManager::updateLinkQualityMetrics(): Report LQM to User Land 50, fAverageRSSI -71
Sep 8 13:52:32 Andrew-Ghobrials-iPhone kernel[0] <Debug>: 064288.260978 wlan.A[5004] AppleBCMWLANNetManager::updateLinkQualityMetrics(): Report LQM to User Land 100, fAverageRSSI -70
Sep 8 13:52:32 Andrew-Ghobrials-iPhone kernel[0] <Debug>: 064293.269917 wlan.A[5005] AppleBCMWLANNetManager::updateLinkQualityMetrics(): Report LQM to User Land 50, fAverageRSSI -71
Sep 8 13:52:32 Andrew-Ghobrials-iPhone kernel[0] <Debug>: 064298.271480 wlan.A[5006] AppleBCMWLANNetManager::updateLinkQualityMetrics(): Report LQM to User Land 100, fAverageRSSI -70
Sep 8 13:52:32 Andrew-Ghobrials-iPhone kernel[0] <Debug>: 064318.330708 wlan.A[5007] AppleBCMWLANNetManager::updateLinkQualityMetrics(): Report LQM to User Land 50, fAverageRSSI -72
Sep 8 13:52:32 Andrew-Ghobrials-iPhone kernel[0] <Debug>: 065166.676591 wlan.A[5008] AppleBCMWLANNetManager::updateLinkQualityMetrics(): Report LQM to User Land 100, fAverageRSSI -70
Sep 8 13:52:32 Andrew-Ghobrials-iPhone kernel[0] <Debug>: 065181.752859 wlan.A[5009] AppleBCMWLANNetManager::updateLinkQualityMetrics(): Report LQM to User Land 50, fAverageRSSI -71
Sep 8 13:52:32 Andrew-Ghobrials-iPhone timed[18] <Notice>: (Note ) CoreTime: Got NTP time 2014-09-08 17:52:32 +0000 ± 0.04 at 1578227637325 (delay 0.05, dispersion 0.01)
Sep 8 13:52:32 Andrew-Ghobrials-iPhone timed[18] <Notice>: (Note ) CoreTime: NTP succeeded with 431891552.62±0.04 at 1578227637325
Sep 8 13:52:32 Andrew-Ghobrials-iPhone timed[18] <Notice>: (Note ) CoreTime: Received time 09/08/2014 17:52:32±0.04 from "NTPLowConfidence"
Sep 8 13:52:32 Andrew-Ghobrials-iPhone timed[18] <Notice>: (Note ) CoreTime: Not setting system time to 09/08/2014 17:52:32 from NTP because time is unchanged
Sep 8 13:52:32 Andrew-Ghobrials-iPhone timed[18] <Notice>: (Note ) CoreTime: Want active time in -0.00hrs. Need active time in 83.33hrs.
Sep 8 13:52:33 Andrew-Ghobrials-iPhone timed[18] <Notice>: (Note ) CoreTime: Got NTP time 2014-09-08 17:52:32 +0000 ± 0.03 at 1578228967670 (delay 0.05, dispersion 0.01)
Sep 8 13:52:33 Andrew-Ghobrials-iPhone timed[18] <Notice>: (Note ) CoreTime: NTP succeeded with 431891552.62±0.03 at 1578227637325
Sep 8 13:52:33 Andrew-Ghobrials-iPhone timed[18] <Notice>: (Note ) CoreTime: Received time 09/08/2014 17:52:32±0.03 from "NTP"
Sep 8 13:52:33 Andrew-Ghobrials-iPhone timed[18] <Notice>: (Note ) CoreTime: Not setting system time to 09/08/2014 17:52:32 from NTP because time is unchanged
Sep 8 13:52:33 Andrew-Ghobrials-iPhone timed[18] <Notice>: (Note ) CoreTime: Want active time in 41.23hrs. Need active time in 124.56hrs.
Sep 8 13:52:33 Andrew-Ghobrials-iPhone timed[18] <Notice>: (Note ) CoreTime: Got NTP time 2014-09-08 17:52:32 +0000 ± 0.11 at 1578233785172 (delay 0.20, dispersion 0.02)
Sep 8 13:52:33 Andrew-Ghobrials-iPhone timed[18] <Notice>: (Note ) CoreTime: NTP got responses from 3 servers total
Sep 8 13:52:33 Andrew-Ghobrials-iPhone timed[18] <Notice>: (Note ) CoreTime: NTP succeeded with 431891552.62±0.03 at 1578227637325
Sep 8 13:52:33 Andrew-Ghobrials-iPhone timed[18] <Notice>: (Note ) CoreTime: Received time 09/08/2014 17:52:32±0.03 from "NTP"
Sep 8 13:52:33 Andrew-Ghobrials-iPhone timed[18] <Notice>: (Note ) CoreTime: Not setting system time to 09/08/2014 17:52:32 from NTP because time is unchanged
Sep 8 13:52:33 Andrew-Ghobrials-iPhone timed[18] <Notice>: (Note ) CoreTime: Want active time in 41.23hrs. Need active time in 124.56hrs.
Sep 8 13:54:59 Andrew-Ghobrials-iPhone timed[18] <Notice>: (Note ) CoreTime: Received timezone "America/New_York" from "Location"
Sep 8 13:54:59 Andrew-Ghobrials-iPhone timed[18] <Notice>: (Note ) CoreTime: Current mcc: '0' simulated:'0'.
Sep 8 13:54:59 Andrew-Ghobrials-iPhone timed[18] <Notice>: (Note ) CoreTime: Not setting time zone to America/New_York from Location
Turns out it was because I had to change the debug to development profiles.

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