Hide Unwanted Xcode Logs

Some frameworks and libraries will log events to the console, which can be extremely annoying when you're only interested in your own logs.

To silence these excessive logs in Xcode, do the following:

  1. Open your project in Xcode
  2. Open the Edit Schema screen: Product > Schema > Edit Schema... (Cmd + Shift + ,)
  3. Under Environment Variables, hit the + and add OS_ACTIVITY_MODE = disable
New single view app

Credit: iDevzilla from StackOverflow