【Xcode7,iOS9】エラー解決:-fembed-bitcode is not supported on versions of iOS prior to 6.0
【動作環境】
*Mac OS X Yosemite ver.10.10.5
*Xcode ver.7.0 beta 6
Xcode7でのビルド。
執筆時点(2015年9月9日)にご留意を。
以前のバージョンのXcodeでビルドした時には出てこなかったエラーだと思います。
-fembed-bitcode is not supported on versions of iOS prior to 6.0
iOS6以前のOSではbitcodeと呼ばれるらしきものがサポートされていないのだなあ、とまずは思う。
そのままコピペして検索、するとヒットしたのは安定のstackoverflow。
http://stackoverflow.com/questions/30867544/fembed-bitcode-is-not-supported-on-versions-of-ios-prior-to-6-0
引用します。
”If you don't plan to support Apple Watch you can turn off the option by searching for BITCODE in the project and the target. Change the option to No.”
拙訳
”もしアップルウォッチをサポートしないのであれば、プロジェクトとターゲットからBITCODEを探してオプションを解除することができます。Noに変更してください。”
サポートしないならApple Watchに関するものはNoにしましょう、ということですね。
PROJECT->Build Settings->bitcodeを検索->YesからNoにする
以上です。