pushing private pod

394 Views Asked by At

I am creating my own private pod. I have complete all step. But in last step when we call

pod trunk push AffleChat_msy1.podspec

We got error like

[!] Source code for your Pod was not accessible to CocoaPods Trunk. Is it a private repo or behind a username/password on http?

1

There are 1 best solutions below

0
FrugalResolution On

I think what you are searching for is:

pod repo push [REPO_NAME] [POD_NAME].podspec

Before, you should consider that you need to tag your current version:

git tag ‘1.0.1’

Also pushing that tag.

git push --tags`

The --tags command pushes all tags, even unwanted. Push just one tag by: How to only push a specific tag to remote?

git push origin 1.0.1

See this medium article to get a good overview about how to update private pods.