So I am very new to CocoaPods and I want some clarification on a command.
I had an error that said Unable to find a specification for 'Firebase/Core'
and after multiple tries of different commands the only thing that worked was Pod repo remove master
. Can anyone tell me why that worked and what it did?
答案 0 :(得分:7)
Master(Specs)Repo是GitHub上的存储库,其中包含所有可用pod的列表。如果它已损坏或不是最新的,您可能在安装或更新Pod时遇到问题。
按pod repo remove master
您删除了可能已损坏或不是最新的主仓库。