注目キーワード
  1. 技術
  2. 広告
  3. IDFA
  4. PHP
  5. WordPress

pod install で target overrides the `OTHER_LDFLAGS` … が出たときの対応

概要

pod installで警告が出てきたので、対応しました。

[!] The `cameraSerachApp [Debug]` target overrides the `OTHER_LDFLAGS` build setting defined in `path/to/xxxxx.debug.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

[!] The `cameraSerachApp [Release]` target overrides the `OTHER_LDFLAGS` build setting defined in `path/to/xxxx.release.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

対応

Xcode を起動して、Buid Settings > Linking > Other Linker Flags に追記する。

$(inherited)

を追記する。

結果

pod install 

警告が無事に消えました。