[swift-users] libswift frontend ios

Joe Groff jgroff at apple.com
Thu Mar 17 16:47:54 CDT 2016


> On Mar 17, 2016, at 2:22 PM, Ramakrishna Mallireddy <ramakrishna.malli at gmail.com> wrote:
> 
> The libLLVMContainer.dylib is actually from opengl.framework.
> On iOS the lib may be loaded by opengles.framework and I am not using any opengl myself, ios may be loading it by default. 
> 
> I have compiled llvm core & support libs along with my llvmtest code, Even then the conflict remains.
> How to I get around this.

You should statically link in any LLVM libraries you need, ensuring you link the versions built as part of your swiftc build. LLVM libraries are not ABI-stable, and any LLVM libraries that might happen to be distributed in the OS are not for use outside the OS.

-Joe



More information about the swift-users mailing list