3

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?

Eric Aya
  • 69,473
  • 35
  • 181
  • 253
Mahendra Y
  • 1,941
  • 20
  • 26

1 Answers1

0

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.

FrugalResolution
  • 568
  • 4
  • 18