This seems like a macOS sdk path issue, can you try just compile any c++ code in a brand new xcode project? (No UE involved)
We recommend installing past xcode versions through Apple official site:
This seems like a macOS sdk path issue, can you try just compile any c++ code in a brand new xcode project? (No UE involved)
We recommend installing past xcode versions through Apple official site: