Working on a macOS app, and I have the Deployment Target set to 11.0
in "General" > "Deployment Info".
However, despite that, I'm still getting compiler errors like:
'preferredColorScheme' is only available in macOS 11.0 or newer
And I'm having to add if #available(macOS 11.0, *)
directives. Shouldn't Xcode realize that my deployment target is 11.0 and not force me to do the conditionals?