Peter Brockmann Peter Brockmann - 1 month ago 17x
Objective-C Question

target overrides the FRAMEWORK_SEARCH_PATHS build settings

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?


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.