The solution proposed by xcode with boost : linker(Id) Warning about
visibility settings doesn't work: "Symbols hidden by default" has
always been "YES".
This has less to do with being set to "YES", and more to do with being set to the same value across all projects. Libs/projects that depend on other libs need to have a likewise setting for "Symbols hidden by default" in order to link properly and free of errors/warnings.
I've run into this before, and a simple change in Xcode for all projects to ensure the settings match typically resolves the problem. Since it sounds like you're compiling on the command line as well, the -fvisibility
argument to gcc
is what you need to look at.