OpenCV for iOS with bitcode support

asked 2017-10-27 01:53:37 -0500

When I download a pre-compiled framework for iOS from here and do: otool -l opencv2.framework/Versions/A/opencv2 | grep __LLVM

it doesn't show any bitcode symbols in the output. However, if I download the source code and run the build_framework.py script, I see that the bitcode flags are enabled. The script also outputs multiple static libraries (libopencv.a) for various architectures. When I check for bitcode on these static libraries, I am seeing bitcode symbols, however, the generated framework doesn't contain. Is there any way to generate the framework with bitcode?

edit retag flag offensive close merge delete