ld: library not found for -l<libname> clang: error: linker command failed with exit code 1 (use -v to see invocation
I have got a such problem. I've created a project in one Mac. But when I move project to another computer and try to add a new library from cocoapod the linker cannot find a new library.
I've tried a lot of features:
- recreated via
pod init
. pod update
cleared cache
rm -rf "${HOME}/Library/Caches/CocoaPods" rm -rf "`pwd`/Pods/" pod update
Even reinstalled cocoapods.
- removed old workspace file.
- etc.
But none of them helped me. Please, help me find the solution.