美文网首页
pod setup 失败的原因

pod setup 失败的原因

作者: 守望森林 | 来源:发表于2019-07-30 18:59 被阅读0次

             所有的项目的 Podspec 文件都托管在https://github.com/CocoaPods/Specs。第一次执行pod setup时,CocoaPods 会将这些podspec索引文件更新到本地的 ~/.cocoapods/目录下,失败原因多半是因为网速太慢,

    执行 $git clone https://git.coding.net/CocoaPods/Specs.git ~/.cocoapods/repos/master

    再执行 pod repoupdate

    在执行 pod repo

    相关文章

      网友评论

          本文标题:pod setup 失败的原因

          本文链接:https://www.haomeiwen.com/subject/kmuugttx.html