How to Reduce Log Verbosity in the Xcode Debug Console

Pubblicato il: 05 agosto 2024
sul canale di: 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


In questa pagina del sito puoi guardare il video online How to Reduce Log Verbosity in the Xcode Debug Console della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Paul Solt 05 agosto 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,218 volte e gli è piaciuto 20 spettatori. Buona visione!