美文网首页
组件化遇到的问题Your configuration speci

组件化遇到的问题Your configuration speci

作者: _zdd | 来源:发表于2021-12-29 12:02 被阅读0次

组件化向Spec Repo提交podspec时:
报错:

Your configuration specifies to merge with the ref 'refs/heads/master' from the remote, but no such ref was fetched

之前没遇到过,找了一堆资料,解决办法都不行,最后找到原因:

创建私有Spec Repo时,我们公司使用的是GitLab, 新建项目时:


WechatIMG885.png

没有勾选这一栏,造成仓库内是空的
解决办法:
克隆下来Repo仓库地址,向仓库里面传一个文件就行了(随便一个不使用的文件),再次:

pod repo push xxx xxx.podspec
就没问题了

相关文章

网友评论

      本文标题:组件化遇到的问题Your configuration speci

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