bitcode
使 用Xcode編譯提示:XXX does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64
bitcode是被編譯程序的一種中間形式的代碼。包含bitcode配置的程序將會在App store上被編譯和鏈接。bitcode允許蘋果在后期重新優化我們程序的二進制文件,而不需要我們重新提交一個新的版本到App store上。
Xcode7之后 ?默認開啟了bitcode,如果App使用的第三方類庫不支持bitcode會提示錯誤,只需要在”Build Settings”->”Enable Bitcode”選項中看關閉bitcode即可。