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萬+
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章