hello @eskimo
I have the same error on a large project (swift, obJC, C++) when launched on MacOS 11 (Big Sur).
It used to work fine, probably because I was using specific flags : -Wl -ld_classic
, to target Big Sur.
But these compilation options no longer work for me with Xcode 15.1 as I get another error this time
ld: unknown option: -no_warn_duplicate_libraries
It looks like the -no_warn_duplicate_libraries
option is passed to the ld_classic linker and not understood by it...but I cannot control how this flag is being passed.
The only way I get rid of the error is to remove the -Wl -ld_classic
options from the Xcode project.
When launched on BigSur, the app crashes with the
dyld: Symbol not found: __ZTTNSt3__114basic_ofstreamIcNS_11char_traitsIcEEEE
error. I can run
% c++filt __ZTTNSt3__114basic_ofstreamIcNS_11char_traitsIcEEEE
on that system and I get the expected result
VTT for std::__1::basic_ofstream<char, std::__1::char_traits<char>>
but it does not find the symbol when I run the app
Any idea how to solve this ?
Regards
Matt