Compiling iOS library/framework with bitcode enabled
Step 1: Enable bitcode in build setting
Step 2: Add “-fembed-bitcode” flag to
- Other C flags
- Other C++ flags
- Other linker flags
Step 3: Check if framework bitcode enable use otool and grep:
- otool -l binary_name | grep __LLVM