framework如何支持bitcode:
第一步,DEPLOYMENT_POSTPROCESSING = YES,
image
第二步,设置 STRIP_STYLE 为 Debugging Symbols,
image
第三步,Build Settings -> Compiler Flags添加 -fembed-bitcode 参数
image
第四步,确认Build Settings -> Enable Bitcode 为YES
image
上述操作完成之后,重新打一个framework包检测。
检测方法是在终端输入如下指令:
otool -l framework二进制文件地址 | grep __LLVM | wc -l
为0标示不支持,需重新制作