Search code examples
ioscocoapodspodspec

Can't update my pod


I have created a pod project. It is pushed and workes properly. Then I decided to make couple of updates. I've created a new tag, validated the code and pushed again.

git tag 0.1.2
git push origin 0.1.2
pod spec lint PlaybuzzSDK.podspec
pod trunk push PlaybuzzSDK.podspec 

The process was successful. But when I try to do

pod update

In my EmapleProject, the pod roles back to what it was before. What am I missing?


Solution

  • Try pushing the podspec to the trunk again, version 0.1.2 doesn't seem to exist there:

    enter image description here

    You can also check your pod's status from https://cocoapods.org/pods/[podname], in your case: https://cocoapods.org/pods/PlaybuzzSDK.