Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add a CocoaPods podspec file and push a version to pods repo #10

Open
mackuba opened this issue Mar 2, 2016 · 0 comments
Open

add a CocoaPods podspec file and push a version to pods repo #10

mackuba opened this issue Mar 2, 2016 · 0 comments

Comments

@mackuba
Copy link

mackuba commented Mar 2, 2016

Continuing the discussion from 72990b3:

I've looked into that and I think you should be able to just restore this deleted podspec, perhaps with just some minor updates, so I guess there's no point sending a PR with that.

Like I wrote there, pod specifications are now kept in the CocoaPods repo in a processed form (example: https://github.com/bahlo/SwiftGif/blob/master/SwiftGifOrigin.podspec -> https://github.com/CocoaPods/Specs/blob/master/Specs/SwiftGifOrigin/1.5.2/SwiftGifOrigin.podspec.json), and the process for releasing a new version is:

  • tag a new release in your repo
  • update the version number in the podspec file in your repo
  • use the pod trunk push command to upload a new version of the spec to the cocoapods repo (after you've set it up once earlier)

So no need for manually preparing and sending a PR to the CocoaPods repo, you just run one command.

These guides should cover most of that:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant