How to Hide Warnings in Xcode

后端 未结 4 1620
忘掉有多难
忘掉有多难 2020-12-29 02:17

Yes I know that warnings are useful and should not be disabled and I usually correct all of them, but in XCode they mingle with my code and get on my nerves. I want to see w

4条回答
  •  鱼传尺愫
    2020-12-29 02:49

    First of all, it's a really bad idea: warnings exist for a reason, you really should check each of them.

    There are few ways to try.

    1. Select Target -> select Build settings search as Warnings

    Here you can change the Selected warnings to NO by selecting the dropdown.

    1. If you want to hide Objective c warnings follow the second image.

    1. If you want to hide Storyboard and XIBs warnings see the below image.

    1. If you want to hide Assets warning see the below image.

    I hope this may help you :)

提交回复
热议问题