cocoapods 报错

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

 

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

 

2、重装cocoapods无法搜索三方库,提示:

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

 

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

rm ~/Library/Caches/CocoaPods/search_index.json

 

posted @ 2017-08-14 16:00  沈红榜  阅读(...)  评论(... 编辑 收藏