ビルド時に Bitcode のエラーが出力された場合の対処

先日,AdMob をアプリに適用した際に以下のメッセージが出力された.

1
2
3
4
5
6
ld: '/Users/.../Google-Mobile-Ads-SDK/GoogleMobileAdsSdkiOS-6.12.2/libGoogleAdMobAds.a
 
(GADGestureUtil.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 arm64
 
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Targets の Build Settings – Build Options – Enable Bitcode を “NO” に変更すれば,ビルドエラーは出力されなくなった.

コメントを残す

メールアドレスが公開されることはありません。 が付いている欄は必須項目です