Need Help Finding SDK for Mac

I am trying to package projects from Unreal 5.1.1 and 5.2 on a Mac. Try to build to a mac and keep getting an error message about having too recent of a SDK. I tried going to the Apple Developers Community to find it but can’t find anything specific for those SDKs. Do I need to install an older version of XCode? Please help