Is there some official documentation about the SYSTEM_VERSION_COMPAT
environment variable and how it affects the version reported by tools like sw_vers
and whether the presence of that environment variable affects APIs like NSOperatingSystemVersion
?
I ask this in context of recent macOS 26 Beta version where NSOperatingSystemVersion
from older versions of XCode (for example XCode 15.4) report the macOS version as 16.0.