➜ PHSpecs git:(master) j .cocoa
/Users/AstonWorkMac/.cocoapods
➜ .cocoapods ls
repos
➜ .cocoapods cd repos/PHSpecs
➜ PHSpecs git:(master) ls
PHDateSelect PHSecurityUtils
➜ PHSpecs git:(master) pod search PHSecurity
[!] Unable to find a pod with name, author, summary, or descriptionmatching `PHSecurity`
➜ PHSpecs git:(master)
删除master repo,重新pod update,相当漫长,master repo有750+M,结果一样。
删除PHSpecs repo,再次pod repo add PHSpecs http://..../PHSpecs.git,仍然不行。
https://guides.cocoapods.org/making/private-cocoapods.html
第三步做了没?
输入:
rm ~/Library/Caches/CocoaPods/search_index.json
后在一次输入:pod search xxxx