How to make Xcode show deprecation warning?

I'm using .navigationBarTitle() and Xcode 12 is not showing any deprecation warning, is there some flag somewhere I need. to turn on to see deprecation warning?

You should probably ask over at the Apple developer forums, Stackoverflow, or other venues. This is about an Apple tool, not Swift.