Turn off Xcode's unused variable warnings while typing

后端 未结 2 720
灰色年华
灰色年华 2020-12-17 09:01

I\'m sick to death of Xcode\'s prolific use of live \"unused variable\" warnings while I am typing. I keep thinking I have an error in my syntax, stop what I\'m doing, check

2条回答
  •  春和景丽
    2020-12-17 09:20

    On my version (Xcode 10.2.1), it seems as if disabling live warnings only disables warnings, not all errors as others have said. So, I would think this exact answer addresses the original post quite well:

    Xcode > Preferences > General > Issues: [x] Show live issues

    Uncheck "Show live issues". No more constant warnings as you type new code.

提交回复
热议问题