LoginSignup
1
1

More than 5 years have passed since last update.

AdMobのSDKをアップデートしたらApple Mach-O Linker Errorが出た

Posted at

AdmobのSDKを6→7にアップデートしたら、Apple Mach-O Linker Errorが出てしまいました。
ありがちなのはフレームワークの追加漏れらしいのですが、確認しても足りないものはない模様。

今回はPodでAdMobをインストールしていたので、再度pod installを行ったところ、以下のようなメッセージが出てました。

[!] The XXXXXX target overrides the OTHER_LDFLAGS build setting defined in XXXXXXXXXXX'. This can lead to problems with the CocoaPods installation
- Use the
$(inherited)` flag, or
- Remove the build settings from the target.

というわけで、書いてある通り、BuildSettingsからOTHER_LDFLAGSを検索し、「-ObjC」と書いてあった箇所を「$(inherited)」に書き換え。
これで無事エラーが無くなりました!

1
1
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
1
1