How to Reduce Log Verbosity in the Xcode Debug Console

Veröffentlicht am: 05 August 2024
auf dem Kanal: Paul Solt
1,218
20

Do you want to hide unwanted logs? Is your Xcode Debug Console full of spam from Apple APIs or third party frameworks? Now in Xcode 15 and Xcode 16, you can filter the logs in Xcode to show only relevant logs. This is a powerful feature, but it has some quirks.

I'll show you how you can hide all of Apple's logs and focus on your own app in a few seconds.

Hide all of Apple's output: !subsystem:com.apple

Debugging with a breakpoint and using the `po` or `p` commands will turn off the filter, so you'll have to re-enable them after you finish debugging.

#xcode #filter #console #consoleoutput #debugging #garbageoutput #swift #objectivec #ios #iosdev #macos #apple #xcode16


Auf dieser Seite können Sie das Online-Video How to Reduce Log Verbosity in the Xcode Debug Console mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Paul Solt 05 August 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,218 Mal angesehen und es wurde von 20 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!