If you run your project in XCode 8 all of a sudden it will start showing lot of strange logs. Many of these logs are not related to your application so don’t worry. They are just OS logs. It does appear to be non intentional because such logs are not going to help us in any way. In fact it makes it much more difficult and frustrating to find the right logs related to App crashes, debug messages, etc.

Fortunately there is a way to disable these logs

Here are the steps

  1. Open your project and navigate to Product => Scheme => Edit Scheme
  2. This will open a dialog box as show in the below screenshot
  3. On the Run Tab, Select Arguments and add the Environment Variable OS_ACTIVITY_MODE with value disable

Disable OS logs

Leave a Reply

Your email address will not be published. Required fields are marked *