➜ 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
Sudahkah anda melakukan langkah ketiga?
Masukkan:
rm ~/Library/Caches/CocoaPods/search_index.json
dan kemudian masukkan sekali: carian pod xxxx