24
19

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

pod install で target overrides the `OTHER_LDFLAGS` build setting...

Last updated at Posted at 2014-11-21

概要

pod.png

pod install すると警告が出た。

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

$(inherited) を使えと言われてもどこに追記すれば良いの?

対応

Xcode を起動して、

Buid Settings > Linking > Other Linker Flags に追記してあげる。

stampnews_xcodeproj.png

これで pod install 時の警告が消えた。

kakipo@Mac-mini % pod install 
Analyzing dependencies
Downloading dependencies
Using SVProgressHUD (1.0)
Generating Pods project
Integrating client project
24
19
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
24
19

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?