更新本地pod库
pod setup
<strong>执行搜索,仍然无法搜索继续往下看</strong>
删除pod库master文件夹
pod repo remove master
进入repo文件夹
cd ~/.cocoapods/repos
clone最新的master内容
git clone --depth 1 https://github.com/CocoaPods/Specs.git master
执行搜索
pod search DWTransform
仍然提示无法匹配

删除本地搜索索引
rm ~/Library/Caches/CocoaPods/search_index.json
再次执行搜索
pod search DWTransform

网友评论