'algorithm' file not found

A new Xcode project, and I cannot seem to resolve why I see this Preprocessor error in a header file..

#include 'algorithm' file not found

Can anyone help, please...

Robert.

There is a bug in Xcode 12.3.4 (MacOS 12.3.3) when importing < algorithm > C library from Xcode generated boilerplate code for a mac audio unit extension target. The class where compiler says it can't find the library is the generated/example classs BufferedAudioBus.hpp.

That shouldn't happen (it isn't my own code, it is example/support code generated by Xcode itself).

Also I do not see the compiler custom user options where I could set the libc++ (there was a key for that before, however it is now unsupported since Xcode 12.3.3).

Jerome

'algorithm' file not found
 
 
Q