Xcode 11.4 and -lazy_library

Is the -lazy_library option no longer supported in Xcode 11.4? I get a warning that -lazy_library is deprecated and ld automatically switches to normal linking. Is there a way to circumvent this?

Replies

That feature has been removed from the linker. The only work around is to not link with library and instead dlopen() it at runtime and then use dlsym() to find the functions you want from it.