Embed bitcode in static library?
-
How would I embed full bitcode into a static library for iOS with qmake?
I want to take advantage of bitcode for iOS, but I'm very inexperienced with clang, XCode and iOS development in general.
I tried a few things, but no matter what, XCode keeps complaining that the .a library is missing full bitcode.
- Tried adding
CONFIG += bitcode
to the library. - Tried adding
QMAKE_CFLAGS += -fembed-bitcode
andQMAKE_CXXFLAGS += -fembed-bitcode
. - Tried adding both
-fembed-bitcode
and-fembed-bitcode-marker
The library includes some Objective-C, not sure if that would affect it.
- Tried adding