production.log

株式会社リブセンスでエンジニアをやっている星直史のブログです。

Xcode7 で Buildしたときにyou must rebuild it with bitcode enabledと 出てしまう場合の回避方法

概要

Xcode7 で Buildした際に f:id:watasihasitujidesu:20150919173334p:plain

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 armv7

といわれてしまい、Failしてしまったので、その対応方法を書きます。

手順

  1. プロジェクトのルートフォルダをクリック
  2. Build Settingsタブを選択
  3. Allを選択(Basicではない方)
  4. Enable BitcodeNoに設定
  5. Product => Clean
  6. Buildする

こちらを参考にしました。 qiita.com