cocoapods 报错

一、[!] ERROR: Parsing unable to continue due to parsing error: contained in the file located at xxx/xxx.lockjson

 

解决方法: 删除lock文件和pods文件夹,再从新pod installblog

 

二、重装cocoapods没法搜索三方库,提示:索引

[!] Unable to find a pod with name, author, summary, or description matching `afn`ip

 

解决方法:删除搜索索引: it

rm ~/Library/Caches/CocoaPods/search_index.json
相关文章
相关标签/搜索