std::filesystem::current_path returns "/" on Xcode Version 12.3 (12C33)

Hi, since the update to Big Sur and Xcode 12.3, std::filesystem::current_path returns "/". The correct behaviour is to return the absolute path to the current application directory. When building the same code without Xcode, current_path returns an absolute path correctly. Only in Xcode 12.3, I get a relative path to the current application package I suppose. Prior to 12.3, current_path is absolute.

Does anyone have the same issue?
Is there a setting in Xcode that I can change to fix this?
Or is this maybe the correct behaviour for a Mac application?

Thx,
Jakub
No-one having this issue?
std::filesystem::current_path returns "/" on Xcode Version 12.3 (12C33)
 
 
Q