在你的Podfile
文件中添加
source 'https://github.com/CocoaPods/Specs.git'
source 'https://github.com/dsencheng/DCSpecs.git'
pod repo push DCSpecs (podname).podspec --use-libraries --allow-warnings
pod update --sources=https://github.com/dsencheng/DCSpecs
pod repo remove (PodName)
pod repo add WTSpecs git@xxx/WTSpecs.git
cd
到~/.cocoapods/repos/xxxSpecs
目录下
$ rm -Rf PodTestName
然后在Git
的变动push
到远端仓库即可.
$ git add --all .
$ git ci -m "remove unuseful pods"
$ git push origin master