in 5.4 you can Directly Modify
(UE 5.4 Location)/Engine/Config/Apple/Apple_SDK.json
As for UE 5.2 you have to Modify .cs File
Which you can only Do using a Source Build.
(UE 5.2 Location)/Engine/Source/Programs/UnrealBuildTool/Platform/Mac/ApplePlatformSDK.Versions.cs
Set this to "16.9.9" or any other Version
MaxVersion = "15.9.9";
NOTE:
The Above Method is not Possible in Unreal Engine 5.3 and Lesser Downloaded using Epic Games Launcher.
Only Possible in Source Build Downloaded Via Github.