Cocopod: Library not found
I am trying to start Cocoapods project and get the following error
I tried pod deintegrate
, then pod install
, but it's still there. I also tried deleting the file pod.debug.xcconfig
from Project->Info->Configuration
and then pod install
, but nothing.
pod.debug.xcconfig
generated pod install
contains path as${PODS_ROOT}/Headers/Public/AttributedMarkdown
but I cannot find 'Headers/Public'
in the Project Navigator
source to share
First line of defense : (first exit Xcode, which is part of the strategy):
rm -rf Pods/ Podfile.lock ; pod install
Defensive approach : check your subfile. Is this consistent? How about your versions of the tools? What happens if you create a new subfile with pod init
? Do you have all the goals as expected?
Dramatic Dimension : Rebuild xcworkspace completely:
- quit Xcode
- mv project.xcworkspace to fallback location
-
sudo gem install cocoapods
(get the latest) -
rm -rf Pods/ Podfile.lock ; pod install
Note:
Note the use of rm -rf Pods/ Podfile.lock ; pod install
instead of pod update
.
source to share