Problem building project on MacOS

I generated project with GenerateProjectFiles.sh util from uproject file. But during build I have this error:

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/c++/v1/__format/formatter_floating_point.h:59:30 'to_chars' is unavailable: introduced in macOS 13.3

Mac OS Sequoia 15.3.1
Xcode 16.9
Project Minimum Deployments set to 15.2
I tried to set “Other C Flags” to -mmacosx-version-min=15.2
C++ Language dialect set to c++20
Nothing helps
Can anyone help?

From what I’ve experienced, the xcode 16.x version doesn’t build normally. Try to download the xcode to the 15.x version.