aliBuild O2Physics fails in ONNXRuntime

Dear experts,
I was happily using O2Physics till yesterday on my mac osx 14.5 with XCode 15.3, then I made a git pull and since then it is not compiling anymore. It fails in ONNXRuntime. From what I understand, the problem is related to XCode and the compiler since the errors are these:

/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__format/formatter_floating_point.h:73:32: error: ‘to_chars’ is unavailable: introduced in macOS 13.3
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__format/formatter_floating_point.h:59:32: error: ‘to_chars’ is unavailable: introduced in macOS 13.3
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__format/formatter_floating_point.h:66:32: error: ‘to_chars’ is unavailable: introduced in macOS 13.3
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__format/formatter_floating_point.h:73:32: error: ‘to_chars’ is unavailable: introduced in macOS 13.3
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__format/formatter_floating_point.h:59:32: error: ‘to_chars’ is unavailable: introduced in macOS 13.3
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__format/formatter_floating_point.h:66:32: error: ‘to_chars’ is unavailable: introduced in macOS 13.3
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__format/formatter_floating_point.h:73:32: error: ‘to_chars’ is unavailable: introduced in macOS 13.3
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__format/formatter_floating_point.h:59:32: error: ‘to_chars’ is unavailable: introduced in macOS 13.3
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk/usr/include/c++/v1/__format/formatter_floating_point.h:66:32: error: ‘to_chars’ is unavailable: introduced in macOS 13.3

I am out of options to try, could anybody please help me with this issue?

Thanks a lot in advance for your help, kind regards,
Chiara

Hi Chiara,
Did you find a solution ? I am facing the same.
@eulisse any idea ?
Barth

deleting sw fixed the issue.

What happens is that CMake stores the version specific path of the macOS SDK in its cache. I have not yet been able to find a way to avoid that.