target overrides the FRAMEWORK_SEARCH_PATHS build settings

Peter Brockmann picture Peter Brockmann · Oct 19, 2014 · Viewed 35.8k times · Source

I'd like to ask and then answer this question.

I'd like to update the CocoaPods built into my app, so I ran pod install from the terminal.

That's when I got this error:

[!] The `APP_NAME [Debug]` target overrides the `FRAMEWORK_SEARCH_PATHS` 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.

How do you Use the $(inherited) flag?

Answer

Peter Brockmann picture Peter Brockmann · Oct 19, 2014

Selected the Project, targets-> app, then Build Settings where I added the $(inherited) line, deleting whatever specific pod had been referenced there before:

enter image description here

I hope this helps someone.