Reputation: 373
You run pod install
and get the following error
The 'XXX [Debug]' target overrides the 'LIBRARY_SEARCH_PATHS' build setting defined in 'Pods/Target Support Files/Pods-XXX/Pods-XXX.debug.xcconfig'.
This can lead to problems with the CocoaPods installation
- Use the '$(inherited)' flag, or
- Remove the build settings from the target.
$(inherited)
as the first item. Cocoapods stops complaining, but you no longer see all of the search paths that were originally imported.Upvotes: 6
Views: 8279
Reputation: 373
Watch the 2 min video here: https://youtu.be/XvaqW0lQL18
Go to Library Search Paths in XCode's Build Settings for your target
Double click, select any entries in there and click the '-' button to delete them.
You'll notice that the field is now empty BUT the "Library Search Paths" is now bold.
Select the bold "Library Search Paths" row and hit Backspace
You should see all of the original search paths magically reappear.
I can't believe how unintuitive this is.
Upvotes: 15