Compiling iOS library/framework with bitcode enabled

Step 1: Enable bitcode in build setting

bitcodeenable.png

Step 2: Add “-fembed-bitcode” flag to
- Other C flags
- Other C++ flags
- Other linker flags

bitcode-flag.png

Step 3: Check if framework bitcode enable use otool and grep:
- otool -l binary_name | grep __LLVM

Relate:
http://stackoverflow.com/questions/32868297/compiling-ios-library-with-bitcode-enabled/43110602#43110602

发布了55 篇原创文章 · 获赞 86 · 访问量 13万+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章