'Xcode inhibit_warnings of appoint target

enter image description here

Hi, I get a problem of inhibit_warnings in Xcode, There is two kind target, I try use

config.build_settings['GCC_WARN_INHIBIT_ALL_WARNINGS'] = "YES"

to inhibit_warnings.

It only works in the target icon "gray little house", the icon "red circle" still show waring.

How can I inhibit_warnings of those target?

I can't use inhibit_all_warnings, because there is some other waring can't be inhibit.

Really need you help, thanks so much.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source