pod制作私有仓库遇到的问题

问题:ERROR | spec: The specification defined in QHBifrost.podSpec could not be loaded.
[!] Unsupported specification format .podSpec for spec at /Users/lidong/Documents/componentization/QHBifrost/QHBifrost.podSpec.
[!] The QHBifrost.podSpec specification does not validate.

原因:QHBifrost.podSpec的后缀名是我手敲的,导致.podspec的s写成了大写。建议后面先ls看一下,直接复制。

问题:[!] /usr/bin/git -C /Users/lidong/.cocoapods/repos/qhSpec pull
Your configuration specifies to merge with the ref 'refs/heads/master'
from the remote, but no such ref was fetched.

原因:私有spec资源库是空的
解决:手动创建一个文件就可上传了。

你可能感兴趣的:(pod制作私有仓库遇到的问题)