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:
Ensure that Build Active Architectures Only
settings for both of your project and the Pods
project were equal for debug and release configuration! That's was a problem in my case.
In my case I found that a mis-match of deployment target of the Project (iOS 11.4) versus the Target (iOS 10.3). Updating the target to iOS 11.4 fixed the issue.
Project > Info > Deployment Target > iOS Deployment Target
Project > Target > General > Deployment Target > Target
Podfile:
platform :ios, '11.4'
I realized the xcproject file was opened instead of the updated workspace. This fixed my error. Hope this information will help others too.
If none of the other answers help you, try this:
pod deintegrate
. Check this link https://github.com/kylef/cocoapods-deintegrate.pod install
once again.