在提交本地podspec到远程私有索引库YHTestOneSpecGroup时,执行pod repo push YHTestOneSpecGroup YHTestBaseFive.podspec --allow-warnings命令时报错:
[!] The repo `YHTestOneSpecGroup` at `../../../../.cocoapods/repos/YHTestOneSpecGroup` is not clean
解决方法:
1》移除本地私有索引库:pod repo remove YHTestOneSpecGroup
2》添加本地私有索引库:pod repo add YHTestOneSpecGroup https://gitee.com/denggun/YHTestOneSpecGroup.git
3》添加本地podspec文件到远程私有索引库即可:pod repo push YHTestOneSpecGroup YHTestBaseFive.podspec --allow-warnings