問題
cordovaでiOSアプリをビルドした際に下記のエラーが発生した。
ld: '/Users/XXX/platforms/ios/hogehoge/Plugins/cordova-plugin-google-analytics/libGoogleAnalyticsServices.a(TAGHit.o)' 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
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** BUILD FAILED **
The following build commands failed:
Ld build/device/hogehoge.app/hogehoge normal armv7
原因
Xcode6.x以前で作成されたプロジェクトファイルを、Xcode7.xでビルドする。
その際にライブラリ(上記だとcordova-plugin-google-analytics)を使用している場合、エラーとなることがあるようです。
◎参考