美文网首页成长笔记Cocoapod
【已解决】The repo `xxxxx` at `../../

【已解决】The repo `xxxxx` at `../../

作者: 君赏 | 来源:发表于2018-05-21 14:54 被阅读3次

问题描述

最近搞私有仓库做模块化的时候,当我们执行

pod repo push xxxx xxxx.podspec

时候提示下面的错误

image-20180521144821266

谷歌了一下需要 update 一下本地库就执行下面的命令

pod repo update [xxxx]

结果发现并不好使,我再想要不要删除本地的再次添加如何。

就执行下面的操作

pod repo remove [xxxx]

执行完毕执行添加

pod repo add [xxx] [xxx]

最后成功添加

image-20180521145107781

解决办法

  • 先移除

    pod repo remove [xxxx]
    
  • 再次添加一次

    pod repo add [xxx] [xxx]
    

相关文章

网友评论

    本文标题:【已解决】The repo `xxxxx` at `../../

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