升級了Xcode7,以前加入的第三方庫,在iPhone4上編譯報錯,錯誤以下:ui
does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), this
obtain an updated library from the vendor, or disable bitcode for this target. for architecture armv7
clang: error: unable to execute command: Segmentation fault: 11
clang: error: linker command failed due to signal (use -v to see invocation)
spa
上述錯誤的意思大概是:code
這是由於一個第三方的庫不兼容,個人工程中開啓了 ENABLE_BITCODE (應該是升級以後自動轉換的),而這個第三方的庫在編譯的時候沒有 enable bitcode,因此致使上訴問題。orm