pod安裝成功拒逮,執(zhí)行了 init install,執(zhí)行pod search命令時(shí)遇到問(wèn)題:
[!] Unable to find a pod with name, author, summary, or description matching `bugly`
網(wǎng)上很多刪除search_index文件的,都不行玷氏。
步驟:
pod repo remove master
cd ~/.cocoapods/repos
git clone --depth 1 https://github.com/CocoaPods/Specs.git master
rm ~/Library/Caches/CocoaPods/search_index.json
//進(jìn)去項(xiàng)目工程執(zhí)行search
pod search bugly
2、結(jié)果:
Setup completed
Creating search index for spec repo 'master'.. Done!