FB9843414
Just encountered a very annoying bug in Xcode. Let's say you want to link a static library like C++ fmt. If the directory you specify as library search path contains both a dynamic libfmt.dylib
as well as the static libfmt.a
version of that library, Xcode will choose the .dylib
version - regardless whether you explicitly specified the .a
binary under the target's build phases.
Hopefully this nasty bug can finally be fixed. This stackoverflow post is over 4 years old, but saved my sanity.