Apple Mach-O Linker (ld) Error

I am using Xcode 13.1 and get the following Apple Mach-O Linker Error when building in Release mode only (project can be successfully built in Debug mode) :

ld: reference to symbol (which has not been assigned an address) __ZNSt3__113__vector_baseINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS4_IS6_EEED2Ev in '__ZNSt3__16vectorINS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEENS4_IS6_EEED1Ev' from <my-path-placeholder>tmp.a(Tmp.o) for architecture arm64

This error only happens on newer versions of Xcode (13 and up).

Any ideas?

Met the same issue here... wondering if you've found a solution?

Met the same issue here...

Can you reproduce this in a small test project?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Apple Mach-O Linker (ld) Error
 
 
Q