Been saying this for as long as I’ve been using macOS: it is not a developer friendly OS and am close to the conclusion that this reputation is a psy-op. Yeah it’s pretty, it mostly works when the box is first turned on and the hardware is unmatched but macOS itself is actually subpar. QA seems second tier, things you’d except from other OSes like, I don’t know, using a third party second display are just bad experie…
The list of specific annoyances and bugs is likely in the 3 digits by now, and I've only used it for half a year.
The worst of all was getting the M2 soft-bricked by an update, because I had changed the display frame rate to 60Hz, because the tween duration when moving between desktops was for some reason tied to this refresh rate. About 2 second tween duration on 120 Hz until input control, and one second on 60 Hz. Impressive for such a thing to not be picked up by QA.