As I've reported in this issue when using
LIBRARY_SEARCH_PATHS I'm getting the following linker error:
Undefined symbols for architecture x86_64: "_swift_getTypeByMangledNameInContextInMetadataState", referenced from: ___swift_instantiateConcreteTypeFromMangledNameAbstract in Backend.o ___swift_instantiateConcreteTypeFromMangledNameAbstract in DP3TSDK.o ld: symbol(s) not found for architecture x86_64
The workaround is to remove the
$(inherited) entry and setting all the
LIBRARY_SEARCH_PATHS manually. However, I fail to understand how that makes a difference.
The only thing that is "removed" from
LIBRARY_SEARCH_PATHS by doing this is two entries to the swift toolchain:
So I'm at a loss to understand what's going on.
The symbol in question is part of the swift runtime.