I am learning to create public cocoapods, I have always encountered this problem,
This is the step I tried.
pod lib create FirstPod
(Some files are automatically generated,eg,_Pods,FirstPod.podspec,Example)cd FirstPod/Example/
,then pod install
git push origin master
git add -A && git commit -m "Release 0.1.0"
git tag '0.1.1'
git remote add origin git@github.com:sshallow/FirstPod.git
git push --tags
git push origin master
pod --version 1.7.5
update:
I just tried it again according to this tutorial, and it is still the same mistake!
Make sure to create an empty repository, as opposed to one with an initial README.md file
That will help avoiding the error message.
But in your case, if you don't care about said README.md file:
git push --force -u origin master