Did anyone have a solution for a bitcode?
I also tried to use build_ios_libs.py —bitcode , it was failed due to --llvm flag. Then I removed this from build/config/compiler/BUILD.gn:
# TODO(hans): Remove this once Clang generates better optimized debug info
# by default. https://crbug.com/765793
cflags += [
"-mllvm",
"-instcombine-lower-dbg-declare=0",
]
It was able to create .xcframework after that, but library size is huge indeed, near 500 MB - and even if I try to use it, it failed on initialisation.
Without bitcode, library size is only 7.1 Mb, and debug version (which use -fembed-bitcode-marker instead) took 33.8 Mb so difference is really enormous.
Any ideas how to tame it?
Regards,
Denis Slobodskoy
среда, 28 июля 2021 г. в 19:50:03 UTC+10, medusade: