Xcode does not display warnings from CocoaPods Pods

When creating my project, I have many warnings from CocoaPods Pods. So, other projects that I do not control.

What is the suggested way to handle this? I would prefer Xcode to display warnings related to my project. It is simply too much if it displays warnings related to projects in which I do not control.

+6
source share
1 answer

There are two ways to do this:

Method 1

  • Go to tab Build Settings

  • Flag search inhibit_all_warnings
  • Set YES

It will suppress all warnings related to the pod project. But when you do the following pod install, the flag will reset to NO.

Disable all warnings

2

podfile inhibit_all_warnings!, : ( . pod.).

platform :ios, '9.0'
inhibit_all_warnings!

target 'MyApp' do
   # Your Pods
end

:

+15

Source: https://habr.com/ru/post/1017326/


All Articles