Ignore Xcode warnings when using Cocoapods Ignore Xcode warnings when using Cocoapods xcode xcode

Ignore Xcode warnings when using Cocoapods


Add to your Podfile:

platform :ios# ignore all warnings from all podsinhibit_all_warnings!# ignore warnings from a specific podpod 'FBSDKCoreKit', :inhibit_warnings => true

Then execute: pod install


You can search for "inhibit_all_warnings" in your Xcode build settings of the PodBundle in your project-workspace. Set the value to "YES" and it will hide all your Pod file warnings.

If you do it to your workspace it will hide all your project warnings also.


Step: 1 Put the below script in your Podfile.

post_install do |installer|    installer.pods_project.targets.each do |target|        target.build_configurations.each do |config|            config.build_settings['GCC_WARN_INHIBIT_ALL_WARNINGS'] = "YES"        end    endend

Step 2. Do pod install.