I\'ve installed cocoa pods library and some frameworks through it. Now when I compile project the build fails.
Error: ld: library not found for -lPods-Project clang:
I had a very different experience. I tried removed the library from build settings to no avail. And honestly, I couldn't see the logic behind it.
What I did was try a new pod install. And so it gave me this error
[!] The ProjectName [Debug] target overrides the LIBRARY_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.[!] The ProjectName [Release] target overrides the LIBRARY_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.
So I did what it told me to, I added the $(inherited) flag to build settings. And all worked well