• About
  • Portfolio
  • Blog
  • Contact
Menu

Sebastian Dobrincu

Co-Founder of Revocalize AI. Tech entrepreneur, investor and artist.
  • About
  • Portfolio
  • Blog
  • 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 @sama: ‘show up and do stuff, and then do more of what works’ is underrated advice
    Feb 19, 2023, 5:44 AM
  • Sebastian Dobrincu
    Probably the best breakdown of happiness I’ve ever heard. Solid stuff @PeterAttiaMD @arthurbrooks https://t.co/xTkWegJcwZ
    Oct 10, 2022, 5:55 PM

Featured
cocoapods.png
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