DriverKit XCode compilation errors

I'm working on dext project (c++), Base SDK and Supported Platforms are set to DriverKit. #include <iostream> causes errors:

error "The iostreams library is not supported since libc++ has been configured without support for localization." error "<locale.h> is not supported since libc++ has been configured without support for localization."

Also it's not possible to define custom log object: undeclared identifier 'os_log_create'. <os/log.h> included and os_log function is compiled correct. macOS as additional SDK did not help. Thanks a lot for any hint.