Method: Pod::Podfile::DSL#inhibit_all_warnings!

Defined in:
lib/cocoapods-core/podfile/dsl.rb

#inhibit_all_warnings!Object

Inhibits all the warnings from the CocoaPods libraries.


This attribute is inherited by child target definitions.

If you would like to inhibit warnings per Pod you can use the following syntax:

pod 'SSZipArchive', :inhibit_warnings => true

Additionally, when you use inhibit_all_warnings! attribute, you can exclude a particular Pod from being inhibited using the following:

pod 'SSZipArchive', :inhibit_warnings => false


693
694
695
# File 'lib/cocoapods-core/podfile/dsl.rb', line 693

def inhibit_all_warnings!
  current_target_definition.inhibit_all_warnings = true
end