Don’t upgrade. Stay as long as you can.

Not an option if you need the latest XCode.

I mean, do you need the latest xcode? Apps build for older macos still work with new macos. Same with iphone.