美文网首页
Unable to find a pod with name,

Unable to find a pod with name,

作者: 雨林QiQi | 来源:发表于2021-03-04 10:05 被阅读0次

    pod search JPush出现

    Unable to find a pod with name, author, summary, or description matching 'JPush'
    

    多数情况下是search_index.json没起作用,解决办法是删除这个文件,然后再执行pod search...

    cd ~/.cocoapods/repos
    rm ~/Library/Caches/CocoaPods/search_index.json
    

    如果以上方法不生效,那只好费点时间,把索引库重新down一下了。

    cd ~/.cocoapods/repos
    pod repo remove master
    pod repo add master https://github.com/CocoaPods/Specs.git
    rm ~/Library/Caches/CocoaPods/search_index.json
    pod search JPush
    

    相关文章

      网友评论

          本文标题:Unable to find a pod with name,

          本文链接:https://www.haomeiwen.com/subject/rfkooktx.html