Debug output is not shown in debug area just after installing the application

Originator:eugene
Number:rdar://14090412 Date Originated:2013-06-07
Status:Open Resolved:
Product:Developer Tools Product Version:4.6 (4H127)
Classification:UI/Usability Reproducible:Always
 
Summary
======
If application specifies "voip" in required background modes,
debug output is not shown during the first run (when application is installed on the device)

Steps to Reproduce:
=============
1. create a new empty project.
2. add NSLog("application did finish launching") into appropriate delegate's method
3. add "App provides Voice over IP services" to "Required background modes" key in Info.plist
4. make sure debug area is opened
5. hit "Run"

Expected Results:
===========
logged string "application did finish launching" is shown in the debug area

Actual Results:
=========
Nothing is shown in debug area. After stopping the task, debug area is automatically hidden.
When running for the second time (without removing application from the device) log
is shown as expected.

Notes:
====
If there is no required background modes in Info.plist, everything works as expected

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!