Maybe that's not going to be popular here but my opinion is that the only reason MacOS is used at all for mobile development is because it's forced. Otherwise they would lose that as well.
I've never had to use anything worse than xcode yet. I'm almost sure that they have some kind of secret stuff in house to develop their own software other than that.