LoginSignup
4
2

More than 5 years have passed since last update.

xcodeのコマンドラインビルドでenable bitcodeをNoにする

Posted at

Xcode7からEnable Bitcodeの設定が入り、デフォルトの値がYesになっており
image

こんなエラーがでる

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

普通にXcodeでプロジェクト開いた時はEnable Bitcodeの項目をNoに変えてからやればよいが
コマンドラインからやる場合はどうすればよいか。

xcodebuild -target <your target> -configuration <your configuration> ENABLE_BITCODE=NO

こんな感じでENABLE_BITCODE=NOのオプションを追加して実行すればいいみたい。

4
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
2