Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode: How to temporarily hide yellow warnings from Issue Navigator

I'm working on a project (written by another developer...) with LOTS of yellow warnings. During the build process, if there is a critical (red) error, the error keeps moving down beyond the bottom of the left pane, and it's always taking me some time until I can finally point the mouse at it and look at the error. Is there a way of showing only the red (critical) errors?

like image 928
Arik Segal Avatar asked Feb 15 '16 07:02

Arik Segal


People also ask

How do I hide warnings in Xcode?

If you want to disable all warnings, you can pass the -suppress-warnings flag (or turn on "Suppress Warnings" under "Swift Compiler - Warning Policies" in Xcode build settings).


3 Answers

Toggle the "!" button (Show only errors) at the bottom right corner of the Issues Navigator to hide Warnings (next to the results filter).

Filter Warnings Xcode 10

like image 107
Arik Segal Avatar answered Sep 18 '22 06:09

Arik Segal


Go to the Project -> Your Project -> Search 'Warning'. Then turn off warnings you don't want.

like image 27
Jason Nam Avatar answered Sep 18 '22 06:09

Jason Nam


Xcode 11.7,

handle Apple Clang Warning Policies

image is more vivid.

1111

like image 31
dengST30 Avatar answered Sep 19 '22 06:09

dengST30