Cocoapods搜索库出现无法找到解决方案
2017-05-05 本文已影响81人
75afc06dcc73
更新本地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
仍然提示无法匹配
![](https://img.haomeiwen.com/i1335361/579c325cff766784.png)
删除本地搜索索引
rm ~/Library/Caches/CocoaPods/search_index.json
再次执行搜索
pod search DWTransform
![](https://img.haomeiwen.com/i1335361/bf26ed93c6e8610e.png)