tl;dr: I get this error message:
ld: -alias_list and -bitcode_bundle (Xcode setting ENABLE_BITCODE=YES) cannot be used together
How do I fix it?
I am trying to create my own version of a third-party library. I want to make sure that none of my calls are going to the system version of this library, so I use --alias-list
to put a prefix on all the symbols, and generate a header file which renames all the symbols from foo
to MJB_foo
. My build system then includes this header file with the --include
option whenever I want to use this library.
This works great on Android and Linux (and I'm pretty sure it will eventually work on Windows too). However I get the above error when I try to link the shared library. How do I achieve the same effect?
from Changing symbol names and embedding bitcode
No comments:
Post a Comment