Easy fix: Disallow use of MacOS. I really don't get why developers use an OS where no upstream package management of developer tools exists and that offers no way of running performant VMs.
I do like macOS’s UX and the fact that OS updates have been literally painless for the 16 years I’ve been using macOS as my daily driver.
At the same time, it being a Unix under the hood, it gives me POSIX compatibility all over the place.
Regarding developer tools, Homebrew has done a good enough job so far. YMMV.
I see why people dislike macOS but banning it at the workplace would be over the top.