Configure detailed logging for the Xcode console
Xcode
consoleMessages printed to the
Xcode
console are configured in the build targets of the app project.
Different targets can have different activity logging configurations. You can set
logging to be detailed or selective. Changes to the console logging configuration take
effect the next time the target is built and run. Changes made to console logging do not
affect the container log.- Open the app’sInfo.plistfile.
- Add a row withGDConsoleLoggeras its key.
- SetStringas the type of the new row.
- SetGDFilterNoneas the value of the new row.
In
Xcode
9.3 or later, to view the detailed logs you must open the console
app (from Xcode
go to Window > Devices and Simulators, or from OSX go to
Applications > Utilities > Console.app) and enable the following settings in the Action
menu:- Include Info Messages
- Include Debug Messages