• Portfolio
  • Blog
  • About
  • Contact
Menu

Sebastian Dobrincu

Founder of Storyheap and many more. I turn ideas into products.
  • Portfolio
  • Blog
  • About
  • Contact
cocoapods.png

How to Update your CocoaPods Library Version

May 28, 2016

If you are anything like me, you often forget how to publish a new version of your Cocoapods library. Although it's a really easy process, you can easily forget it if you don't do it in a while. 

So here's a quick cheat sheet for doing that: 

1. Update the pod version in your Podspec file. Make sure this matches the GitHub tag version you will create next. 

 

2. Push all the new files to your master branch.

 

3. Create a tag for your new Pod version and push it:

git tag *version* 
git push origin --tags

4. Check if your Pod passes verification using: 

pod spec lint *your_pod_name*.podspec 

5. Push your new Pod version using trunk:

pod trunk push *your_pod_name*.podspec

 

Hope I saved you a few minutes of searching :)

In Mobile Development Tags ios, cocoapods, git, trunk, update, version, pod
How to upload images to Rails API using S3 →

Fresh Tweets

  • Sebastian Dobrincu
    RT @BrianNorgard: I am with @naval consumers don’t want more wearables. They want technology to fade into the background of life whi… https://t.co/ut75AaJBQR
    about a week ago
  • Sebastian Dobrincu
    RT @naval: Ways to get lucky: • Hope luck finds you. • Hustle until you stumble into it. • Prepare the mind and be sensitiv… https://t.co/mkteLP1zay
    about a week ago

Featured
May 28, 2016
How to Update your CocoaPods Library Version
May 28, 2016
Read More →
May 28, 2016
How to upload images to Rails API using S3
May 17, 2015
How to upload images to Rails API using S3
May 17, 2015
Read More →
May 17, 2015