As I am currently in development of an App for iOS, I also need a Mac. Currently, I am working on the Mac of my girlfriend. But, it turns out that I need a newer version of XCode which is not supported on Monterey. I also can't update Mac OS since it is not supported on this hardware anymore (also can't do it on her machine - it's hers).
Long story short, I am now in the process of getting my own Mac. Unfortunately, I am not really familiar with the different Macs out there and wanted to know about longevity or longterm support of these machines regarding OS Updates. I want to be able to update also in the next cycles.
As I do not have too much Budget, I wanted to find a refurbished one, but one that still supports OS Updates for a while so that I do not have the same situation next year and have a machine then which also can't update XCode/Mac OS.
Is there anything you would recommend?