Error: ld: library not found for -lPods with CocoaPods
Also this may help:
- In your main project (not Pods) select the main target
- Go to the Build Phases tab
- Go to Link Binary with Libraries
- Remove the library that is causing the problem (it would probably be in red color)
Suggest trying the following, that worked for me:
a) Search from 'Library' from the Target Settings view and double-click to inspect the value of Library Search Paths
b) There are two values listed $(inherited)
and $(PROJECT_DIR)/Pods/build/Debug-iphoneos
. Delete the latter.
c) Do a full clean, build & run
d) Run pod install
again. Notice that the entry is not restored.
Make sure you are opening the .xcworkspace file, not the .xcodeproj