gpt4 book ai didi

cocoapods - 运行 pod install 时出现 "Your project does not explicitly specify the CocoaPods master specs repo"警告

转载 作者:行者123 更新时间:2023-12-04 04:27:34 24 4
gpt4 key购买 nike

我跑后pod install ,我收到一条警告说:

[!] Your project does not explicitly specify the CocoaPods master specs repo. Since CDN is now used as the default, you may safely remove it from your repos directory via pod repo remove master.

To suppress this warning please add warn_for_unused_master_specs_repo => false to your Podfile.


为什么我收到这个警告?以前,我可以运行 pod install没有任何警告。
如果有帮助,这里还有另一个细节:我无法使用 sudo gem install安装/升级 CocoaPods,所以我改用这个命令:
sudo gem install -n /usr/local/bin cocoapods

最佳答案

运行命令 pod repo remove master

关于cocoapods - 运行 pod install 时出现 "Your project does not explicitly specify the CocoaPods master specs repo"警告,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65407287/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com